Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SOAP Envelope encodingStyle

Hi experts,

I have a PI SOAP Receiver, sending to a Java Powerbuilder app. I am getting an HTTP 200, but with an error message in SXMB_MONI:



<SAP:AdditionalText> java.lang.NullPointerException; HTTP 200 OK</SAP:AdditionalText>

When I execute the same scenario using soapUI instead of PI, using the same SOAP Payload, I get no SOAP body, only this HTTP Response (HTTP 200 OK as well):

" No mapping found for 'class java.lang.String' using encoding style '' "

When I change the Payload slightly in soapUI, ie. adding an encodingStyle attribute to the SOAP Envelope, I get the expected response message ("Test OK").

To summarize:

PI sends this SOAP Envelope, which the remote app cannot accept (no mapping found):

<SOAP:Envelope xmlns:SOAP="">

When the SOAP Envelope is modified like below, the test is ok:

<SOAP:Envelope xmlns:SOAP=""


Any ideas how I can add an encodingStyle attribute ?


Peter Glas

Former Member
Former Member replied

An sdn search gave me this thread to create custom SOAP envelop

Generating SOAP Envelope when DO NOT USE ENVELOPE option is marked

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question