Skip to Content
author's profile photo Former Member
Former Member

getMessageId issue while using SOAP Adapter on XI mode.

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 14, 2013 at 06:02 AM

    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-cb967cef407b?QuickLink=index&overridelayout=true&45311905040858

    .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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 14, 2013 at 02:05 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on May 23, 2013 at 04:55 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.