cancel
Showing results for 
Search instead for 
Did you mean: 

Error in sending XML from SoapUI to SAP PI 7.11

Former Member
0 Kudos

Hello Experts,

I got an error by sending an XML to SAP PI. Following error occurs:

ADAPTER.JAVA_EXCEPTION</code>

<text>java.lang.NullPointerException

* at com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageOperator.getQualityOfServiceAsString(XMBMessageOperator.java:2109)*

The actual patch level of our SAP PI is 21.

Anybody has an idea?

Thanks for the help in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Alexander,

check if the message is

1. wellformed

2. valid

Copy the message to Internet Explorer, if it is displayed it is wellformed.

Copy the message to an XML editor (e.g. XML Spy) and check for XSD.

Regards,

Udo

Former Member
0 Kudos

Hello Udo,

the XML is validated and correct. So that is not the problem.

Greetings Alexander

LindaL
Explorer
0 Kudos

Hi Alexander,

As you checked the well-formed with a browser... Save this XML file and then upload it in your tool (maybe SOAP UI).

Do not do a copy-paste ! because sometime the end-line character is not correctly recognize and we an error like yours.

Regards.

Mickael

Former Member
0 Kudos

Hi Mickael,

it is not the XML. There must be a problem with the SOAPAdapter, because with the FileAdapter the XML can be read.

Greetings Alex

Former Member
0 Kudos

Hi Alex -

Refer to OSS Note 1239995 - SOAP Adapter : exception in getQualityOfServiceAsString

SOAP adapter throws a java.NullPointerException in the method getQualityOfServiceAsString in the SOAP sender scenario.

The error is rectified with this patch.

SAPXIAF06P patch #6 (SP-level #06)

Regards,

TK

Former Member
0 Kudos

Hi T.K.,

as written before our patch level is 21. So that couldn't be.

Regards,

Alexander