Active Directory after action

Hi All,

I am trying to do a after action on AD. I tried with the example which given in docs. when I am importing that file into IdM, I am getting error. It is very strange, I am using the same example what is given in docs.

the error is:com.waveset.util.XmlParseException: content is not allowed in prolog.

I followed each step which is given in docs i.e. adding a field to the user form and adding an attribute to the schema.

does anyone experience same problem, I am unable to find out where I am doing wrong.

some ideas please

Thanks in advance

[599 byte] By [dortmund_developer] at [2007-11-26 11:10:30]
# 1
I've seen that error before when I botched some XML, but I can't recall the specific circumstance that caused it. Can you post the xml so we can debug it? Jason
jsallee at 2007-7-7 3:25:01 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Thanks for the response jsallee

<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>

<Waveset>

<ResourceAction name='AfterCreate'>

<ResTypeAction restype='AD' timeout='6000'>

<act>

echo create >> c:\TEMP\%WSUSER_accountId%.txt

exit

</act>

</ResTypeAction>

</ResourceAction>

</Waveset>

I saved the file as AfterCreate.xml and trying to import to the IdM, but I am getting the xml error.

the error should be in the first two lines.

Thanks

dortmund_developer at 2007-7-7 3:25:01 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

I did a syntax check on it and it passed, so I stored the content in a file and tried importing it into my ancient (LH 4.1) test instance. I didn't get any errors on the import, which means that the content itself is not to blame.

It might be related to EOL characters or similar whitespace. Are you importing from Windows onto a Unix/Linux IDM instance?

Jason

jsallee at 2007-7-7 3:25:01 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
JasonThe file exists on my local machine and just I am importing to IdM, local machine os is windows.I am using IdM 6.0.I opened the file in XML spy, I am getting error asCharacter '{' is gramatically unexpected in column 1 at line 1Thanks
dortmund_developer at 2007-7-7 3:25:01 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5
Looks like your editor added some unexpected content to the beginning of your file (and didn't bother to show it to you). How helpful (not).Hopefully you can remove it with another editor, or turn off whatever option caused it in the first place.Good luck,Jason
jsallee at 2007-7-7 3:25:01 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6
I had the same problem. There is a IdM syntax error. It should be:<ResTypeAction restype='Windows NT' Timeout='6000'>......</ResTypeAction>good luck,
fn00rist at 2007-7-7 3:25:01 > top of Java-index,Web & Directory Servers,Directory Servers...