Skip to Content
0
Former Member
Nov 09, 2014 at 12:57 PM

Receiver SOAP adapter(for proxy connectivity) not working

627 Views

Hi Friends,

I am working on synchronous interface (SOAP->PI->Proxy)

SAP PI version = 7.1

Scenario made using classic approach (Not using AAE). I am using receiver adapter(SOAP adapter for proxy) as shown below.

Using SOAP UI test scenario. But below message is coming

Message processing failed. Cause: 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 a null object loaded from local variable 'messageHeader'

Solution tried:


  • Checked SPROXY settings, they are fine. Client proxy is working fine, issue is coming in server proxy.


Checked both URL given in CC.

http://<host>:<port>/sap/xi/engine?type=receiver

http://<host>:<port>/sap/xi/engine?type=entry

Same result.

  • I used XI adapter instead of SOAP. Got below message

com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: invalid content type for SOAP:

TEXT/HTML; HTTP 401 Unauthorized”. In XI adapter RFC destination of type ‘HTTP’ works fine.

I am confused here.

  • I checked the properties in XI services given in link http://scn.sap.com/thread/3184803.
  • Right now I am using my own user in communication channel. This could be an issue but user with similar roles is working in development. What should be the mandatory role that user need to have while participating in HTTP connection through Communication channel.

Can anybody please let me if I can do any other thing here to solve this issue?

Thanks in advance.

Sumeet.

Attachments

SOAP adapter.PNG (23.6 kB)