I’m using a free trial version as i’m new to WM
I’m trying to parse xml file to my service but it is saying , “Unable to parse”
so that i’m trying to convert my xml file to convert another xml file which is parse able.
I will greatly appreciate your help
I would agree with Sreekanth , the problem is unclear.
Can you provide more details on these
What is the exact input provided to service xmlStringToXMLNode in step 1 of your flow?
What is the expected output from documentToXMLString in step 3?
If you already have an xmlString as an input , then you can directly save that as a file , I’m wondering why you need to pass it through the different services?
Which step of the flow are you seeing this error in? Is it in the first step?
Did you check the validity of this XML? A simple validation of this XML is pointing errors in it. Probably, you will have correct the source XML and then everything should work as expected. Please give it a try.
I’m afraid it is still unclear what you are trying to do with the flow that you’ve mentioned in the first post of this topic
If you already have an xml string, I do not see the benefit of passing that to xmlStringToNode, followed by xmlNodeToDocument, then documentToXMLString, is this only to try out the public services, or is there a different usecase that you are trying.
After passing a valid XML, do reach out if you need more help.
could you please look at these two xml files, one is parse able the other is not, what i am looking is how to convert the non-parse able xml file to parse able xml file.
hmafzal parseable.xml (1.3 KB)
I do not see any problem in providing both the files as input to the services you provided and it is working as expected.
Maybe now is the time you will have to provide more details on the error you are facing. Give us the detailed error message, screenshots, pipeline, all that could help us analyze if there is really an issue.
the nonparseable.xml is considered a regular xml, which can be used as payload in WebServices (i.e. via SOAP_WS).
The parseable.xml is an internal representation of an IS pipeline document which should not be exposed to external partner systems.
Therefore I would like to ask you to provide some more details what you want to achieve with these xml files.