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
# 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
# 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
# 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
# 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