cancel
Showing results for 
Search instead for 
Did you mean: 

PO 7.4 RESTAdapter issue : Unable to parse XML message payload

Former Member
0 Kudos

Dear experts,

We are implementing the scenario Exposing a function module as Restful service with the PO RESTAdapter that's avaiable in PO 7.4 SP09 as described in the blog written by Ivo:



When we test the scenario to processing messages the adapter reports the error message:


Error while sending message to module processor: senderChannel '589b39c9b91c3ae99040d9addc6a818b': Catching exception calling messaging system: Unable to parse XML message payload to extract operation for receiver determinationorg.xml.sax.SAXParseException: Premature end of file.


Anyone an idea or solution direction?

Thanks in advance.

Cheers, Luc

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Luc, I am also getting the same error. Any resolution to your issue?

BR,

YR

Former Member
0 Kudos

Hi YRV isa,

Issue solved by Ivo Kulms

"Either you use a Dummy Interface in the IFlow for the adapter or you have to specify on the Operation Determination Tab which XI Operation / Interface should be used. The table on the tab allows to specify different interface name depending on the internal variables. In the variable columns add for example the REST operation, by entering "operation", in the expression column "GET" or "POST" or "*" and in the operation/namespace columns the XI operation / interface you want to reference.

The variable "operation" has to be in curly brackets, so that it gets evaluated. So the entry should look like "{operation}" ( or like "{service}" if you want to map the XI operation by REST service name)"


Kind regards, Luc

Answers (0)