Skip to main content
Solved

Using soapgateway for XML messages in 25R1

  • November 17, 2025
  • 5 replies
  • 91 views

Forum|alt.badge.img+9

Hi,

 

in earlier releases I was able to send an XML message to ‘int/soapgateway’. Via routing rules I could route this XML message to a PL/SQL function.

 

Now I tried it again in 25R1 release and I always receive an error

Cannot Create JSON Object: A JSONObject text must begin with '{' at 1 [character 2 line 1]

 

Can it be that XML messages are no longer supported by soapgateway?

Best answer by Tomas Ruderfelt

Is it in Postman you get the error?

I tested your message with a routing rule without any routing address connected to it and I can get the message into application messges:
 

 

5 replies

Forum|alt.badge.img+21
  • Superhero (Employee)
  • November 17, 2025

The soapgateway still works fine with XML messages in IFS Cloud.

Can you show a bit more what you are routing the message to?


Forum|alt.badge.img+9
  • Author
  • Hero (Employee)
  • November 17, 2025

Hi Tomas,

 

maybe it’s just a problem of Postman and it will work if it’s called from the external environment. My XML test message is quite simple:

<?xml version='1.0' encoding='UTF-8'?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<TERMINALS_QUERY>

</TERMINALS_QUERY>

</soap:Body>

</soap:Envelope>

 

I tried to route all SOAP_SIMPLE where “soap:Body” exists and also all SOAP_SIMPLE where “TERMINALS_QUERY” exists to a PL/SQL message. None of them worked. In the meanwhile I get a “Internal server error” instead of the “Cannot create JSON object”.

I even tried it as “NONE_XML” and removing the envelope. But same behaviour.


Forum|alt.badge.img+21
  • Superhero (Employee)
  • Answer
  • November 17, 2025

Is it in Postman you get the error?

I tested your message with a routing rule without any routing address connected to it and I can get the message into application messges:
 

 


Forum|alt.badge.img+9
  • Author
  • Hero (Employee)
  • November 17, 2025

Hi Tomas,

thanks a lot. I tested it in Postman. Then the error must be in my Postman. Good to know that it should work. Then I will wait which response I will get if the external system will call the soapgateway.

 


Forum|alt.badge.img+1
  • Do Gooder (Partner)
  • March 19, 2026

Hi ​@Tomas Ruderfelt,

I am currently working on a SOAP outbound development and having an issue connecting to an external endpoint.

 

I set up routing rules and routing addresses and I could able to retrieve the message in application messages window.

 

I get error as “version mismatch”

 

The  MESSAGE_REQUEST.xml   file appears in "Application Messages" window under "Input Message Data" section is same content which I used in Postman. In Postman, I get a 200 positive response but not through IFS.

 

I tried by adding "Header" parameters in "routing address" section and tried by changing attributes avaialble in "routing rules" and "routing address" section, but no help.

 

Could you please let me know any configurations left for me to do ? 

 

If we don't want to use transformers, I should make content of  MESSAGE_REQUEST.xml to be same as "Request" payload in Postman is the right approach, correct ?