Skip to main content
Solved

Using soapgateway for XML messages in 25R1

  • November 17, 2025
  • 4 replies
  • 35 views

Forum|alt.badge.img+9
  • Hero (Employee)
  • 82 replies

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:
 

 

4 replies

Forum|alt.badge.img+21
  • Superhero (Employee)
  • 502 replies
  • 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)
  • 82 replies
  • 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)
  • 502 replies
  • 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)
  • 82 replies
  • 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.