on 11-09-2010 3:38 PM
Hi
I am using a local XML variable to build an XML document which I then use HTTP_Post to send to a partner company, and receive data back.
My problem is that the DOCTYPE decleration is being stripped from the XML Variable, so the partner company do not know what to do with the posted doc.
Is there any way I can prevent this being stripped out?
Thanks
Nick
PS The DOCTYPE decleration is also stripped if I use the XMLLoader action.
Hi Nick,
I know this behaviour from MII 12.0. Unfortunalety there is no way to prevent this. What version do you use?
As a workaround you could try to add the DOCTYPE declarations after saving the XML into a string.
First, save all DOCTYPE declarations as a local string. Then create the xml as needed without the DOCTYPEs and save it to a local string property. Finally insert the DOCTYPEs string into the XML String and link the result string to the Payload string of the HTTP_Post action.
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.