XMLToJSON issue

Not applicable

Hi,

I have used a POST method through postman inorder to read an XML request.

However I am getting below Fault which tends to detect '<' sign as "<".

"faultstring": "XMLToJSON[XML-to-JSON-1]: Execution failed. reason: Unexpected char while looking for open tag ('<') character"

Can anyone help me in this regards.

0 1 314
1 REPLY 1

Yes. The first thing you need to do, when asking for help, is to include the relevant information in your question. You provided the error message. We also need to know:

  • the contents of the inbound message
  • the actual policy configuration you are using

In general, when asking questions, provide 3 things:

  • what are you doing?
  • What do you expect to see?
  • What are you actually seeing?

In your particular question you described what you are actually seeing.

We can guess that what you expect to see is a successfully-converted JSON payload.

What we don't know is what you are doing - how you are configuring the policy, and what is the contents of the inbound message. So we cannot diagnose.

There are experts here, but are not magic. We cannot see what is appearing on your configuration screens. Therefore you need to share that with us, if you are asking for help.

I don't mean to single you out; it's just that I often see this kind of question here: "I am getting an error (error message here). Can someone help me?" And we cannot help, if we don't know what the person is doing to induce that error.