cancel
Showing results for 
Search instead for 
Did you mean: 

getMessageId issue while using SOAP Adapter on XI mode.

Former Member
0 Kudos

Hi PI Folks,

I am getting an error message below in Receiver SOAP Adapter used with XI mode for Proxy communication.

Error in RWb -- Message Monitoring--Adapter Engine.

Error as given below:

"Error Transmitting the message to endpoint <local> using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.getMessageId() of an object loaded from local variable 'messageHeader'"

My Scenario is SOAP to SOAP, i.e Third Party is sending data using webservices and PI is pushing this data to SAP BI sys using SOAP Adapter using XI mode. This is to enable proxy communication using ICO.

Now when we use Graphical mapping, scenario works fine end to end but when we use XSLT Mapping it throws above error.

Please enlighten the issue ?

Thanks,

Deepak

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Deep,

First make sure that your XSLT is producing output that is compliant with the target structure i.e. you may be doing it somewhere in Altova or stylus studio, try to compare the empty instance at the target of your mapping with the o/p of your xslt map. If this is fine then probably you may see the document below->

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef4...

.Ideally the kind of error you are getting is because xslt is not producing the correct xml and hence its not able to transfer to the endpoint, where it should be a perfect xml.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

Our issue has been resolved by doing corrections in XSLT mapping.

There was an extra namespace which was not accepted by Target application system, hence it was throwing an error by using XSLT mapping in SOAP Channel.

Thanks for all your help.

Regards,

Anurag Garg

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

MessagingException: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBMessageHeader.getMessageId() of an object loaded from local variable 'messageHeader'"

As far as I know, mapping variables are only supported via message mapping.

Hope this helps,

Mark

Former Member
0 Kudos

Hi Mark,

We are not using any mapping variables in our XSLT mapping. Its a deep nested structure at source , thats why we are using xslt mapping.

Please guide where is this error pointing to?

Is XSLT not supported in PI7.3 with ICO? I don't think so.

Immediate help will be much appreciated.

Regards,

Deepak