cancel
Showing results for 
Search instead for 
Did you mean: 

ADAPTER.JAVA_EXCEPTION XMBMessageOperator.getQualityOfServiceAsString error

terri_walton2
Explorer
0 Kudos

I am currently working on a scenario SOAP to idoc using PI 7.11 ep0. I have generated the WSDL, imported it into SOAPUI for testing and I am receiving the error below.

HTTP/1.1 500 Internal Server Error

server: SAP NetWeaver Application Server 7.11 / AS Java 7.11

transfer-encoding: chunked

content-type: text/xml; charset=utf-8

content-encoding: gzip

date: Mon, 07 Mar 2011 15:01:50 GMT

set-cookie: saplb_*=(erplab-nwpi70_PC2_00)2615750; Version=1; Path=/

set-cookie: JSESSIONID=GQ9Gyi8sENqRDRjN4rAYLmOQpBaqqdaQLgHG6ScA_SAP; Version=1; Path=/

<?xml version='1.0'?>

<!-- see the documentation -->

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

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>

<context>XIAdapter</context>

<code>ADAPTER.JAVA_EXCEPTION</code>

<text><![CDATA[

java.lang.NullPointerException

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

at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:943)

at sun.reflect.GeneratedMethodAccessor467.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)

at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)

Any help in resolving this issue will result in points being awarded and great appreciation being heaped on you.

Thanks in advance,

Terri

Accepted Solutions (1)

Accepted Solutions (1)

abhay_rajhans2
Contributor
0 Kudos

Hi Terri,

Refer to OSS Note 1239995 - SOAP Adapter.

Also check what SP you are having because SOAP adapter does not work for PI 7.11 SP0. Apply latest patch.

Along with check if the XML structure is forming correctly or not.

terri_walton2
Explorer
0 Kudos

Hi Rajhans,

I have already forwarded OSS Note 1239995 to my Basis team. They have told me this note does not apply to us as the note is for PI7.10.

As far as the XML structure, I have imported the WSDL into SOAPUI for testing purposes. The XML structure is a simple structure (only about 10-12 fields) and seems to be correct.

Can you please confirm this problem still exists in PI 7.11 SP0?

Thanks

Terri

terri_walton2
Explorer
0 Kudos

Apply the latest Service Packs resolved the problem with the sender SOAP adapter. We are now running on PI 7.11 SP6 and are no longer receiving an error related to QualityOfServiceAsString.

Thanks everyone for the help.

Terri

Edited by: Terri Walton on Apr 20, 2011 1:43 PM Changed SP version from 3 to 6.

Answers (0)