cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP (Axis) Reciever - Error during sending of Soap message

Former Member
0 Kudos

Hello guys,

I have to send through SOAP adapter message, with HTTP BASIC authorization.

Therefore I have chosen HTTP AXIS transport protocol, where as standards were set up this processing sequence steps and modules.

Processing Sequence:

1. AF_Adapters/axis/AFAdapterBean     Local Enterprise Bean     afreq

2. AF_Adapters/axis/HandlerBean         Local Enterprise Bean     xireq

3. AF_Adapters/axis/HandlerBean           Local Enterprise Bean     trp

4. AF_Adapters/axis/HandlerBean          Local Enterprise Bean      xires

5. AF_Adapters/axis/AFAdapterBean     Local Enterprise Bean      afres

Module Configuration:

xireq      handler.type      java:com.sap.aii.axis.xi.XI30OutboundHandler

trp         handler.type      java:com.sap.aii.adapter.axis.ra.transport.http.HTTPSender

trp         module.pivot     true

xires      handler.type      java:com.sap.aii.axis.xi.XI30OutboundHandler

I have chosen Soap version 1.1 in communication channel and MIME Encapsulation format, and also Payload Extraction as SOAP Body.

But when I tried to send message, in RWB I got following problem..

2013-03-14 12:03:05SuccessUsing connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
2013-03-14 12:03:05SuccessMessage successfully put into the queue.
2013-03-14 12:03:05SuccessThe message was successfully retrieved from the request queue.
2013-03-14 12:03:05SuccessThe message status set to DLNG.
2013-03-14 12:03:05SuccessDelivering to channel: CC_INVOICE_RECEIVER_standard_RPG
2013-03-14 12:03:05SuccessMP: Entering module processor
2013-03-14 12:03:05SuccessMP: Processing local module localejbs/AF_Adapters/axis/AFAdapterBean
2013-03-14 12:03:05SuccessAxis: xioutbound-request mutation
2013-03-14 12:03:05SuccessMP: Processing local module localejbs/AF_Adapters/axis/HandlerBean

2013-03-14 12:03:05SuccessAxis: entering HandlerBean
2013-03-14 12:03:05SuccessAxis: getting handler xireq of java:com.sap.aii.axis.xi.XI30OutboundHandler
2013-03-14 12:03:05ErrorAxis: error in invocation: java.lang.NullPointerException
2013-03-14 12:03:05ErrorMP: Exception caught with cause java.lang.NullPointerException
2013-03-14 12:03:05ErrorException caught by adapter framework: null
2013-03-14 12:03:05ErrorDelivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.NullPointerException. Setting message to status failed.
2013-03-14 12:03:05ErrorThe message status set to FAIL.
2013-03-14 12:03:05ErrorReturning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.NullPointerException.

I also checked AXIS at http://server:port/XIAxisAdapter/MessageServlet

and it seems to be OK.

Any ideas what can be wrong?

Thanks,

Marek

Accepted Solutions (0)

Answers (1)

Answers (1)

smavachee
Active Contributor
0 Kudos

Cross check your payload once again, seems to be issue with payload  only.

Most of the time java.lang.NULLPointerException occurs due to validation.

Regards,

Sunil