on 05-22-2014 10:00 PM
Hi, I am creating a custom action block to process some information. I need to return a XML in the end of the process. So, I have a XML content in a string object. How can I create a XMLDataType with the contents of the string?
I've tried assignDocument() and assignXml() methods but when I try to get the content on MII the XML is blank.
Hi Fernando,
Use assignXML for the string content but make sure that the string is a valid xml.
Check the Logs for the exception it is gives with this method.
assignDocument accepts a Document object. So here you need to create a Document object from your string xml and then use this method.
regards,
Rohit Negi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
6 | |
1 | |
1 | |
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.