cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Receiver Adatper Problem

Former Member
0 Kudos

I've configured a soap receiver adapter, which is asynchronous.

The outside web service is implemented by AXIS2. After the XI send the soap to the web service, the web service does it's function and then give back a empty response, which cause the "system error" status of the message.

How can I solve this?

Thanks and B'Rgds,

YiNing

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi YiNing,

Could you please send the error...what exactly you are getting.You mentioned it is asynchronous..so u r not expecting any response from the webservice.

if could be better and also please mention what you have implemented in yourmapping program.

Thanks and Regards,

Chandu.

Former Member
0 Kudos

SOAP: call failed: com.sap.aii.messaging.mo.MalformedMessageException: java.lang.NullPointerException; nested exception caused by: com.sap.aii.messaging.util.XMLScanException: java.lang.NullPointerException; nested exception caused by: java.io.IOException: Parsing an empty source. Root element expected!

I'm using asynchronous soap receiver adapter.

If asynchronous doen't want a response, and no response will cause the "system error", how can I use asynchronous receiver soap adapter?

Former Member
0 Kudos

I begin to doubt that soap receiver adapter can only be used in synchronous senario.

Actually, whether the scenario is synchronous or not, the WS server will always send back a http 200 status information, without a soap message. But the XI seems to be waiting for a soap response.

Former Member
0 Kudos

Yining,

>> begin to doubt that soap receiver adapter can only be used in synchronous senario

No. SOAP adapters can be used in asynch mode for sure. The Qos is set by the interface. Check both the outbound and inbound interface. Make sure, they have asynch mode.

Regards.

Jai Shankar

prateek
Active Contributor
0 Kudos

Hi YiNing,

Refer to SAP Note 856597

Check for "6. Receiver Asynchronous Calls" related question

This will clear the doubt abt wht ur SOAP receiver returns.

Regards,

Prateek

Answers (3)

Answers (3)

Former Member
0 Kudos

I do not mean to re open an old thread but how was this resolved??

(i actually searched for the answer before posting!)

Former Member
0 Kudos

1. Ask the web service provider gives you a empty envelop back.

2. Add your own created adapter module and use the non-soap mode.

Former Member
0 Kudos

Thanks for the repsonse.

Can you provide any information on creating my own adapter module?

I found this https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac2... but this is about creating an attachment

henrique_pinto
Active Contributor
0 Kudos

The receiver soap adapter only will considerate that the async call was successfull if it receives an HTTP 200 with an empty response.

So, even if the AXIS2 web server sends an empty response and doesn't send an HTTP 200 return, the soap adapter will error out.

Ask for the server team to implement the http 200 return.

Regards,

Henrique.

Former Member
0 Kudos

Sorry to be a pain. This has come back to me.

I am unable to create my own adapter module (don;t know where to start!), and no one else working here has either.

Can someone point me in the right direction!

bhavesh_kantilal
Active Contributor
0 Kudos

Barry,

The Presentation provided by SAP in the last tech ed ( by Stefan Grube and Team) was among the best ones on Adapter Modules so far.

If you know anyone who subscribes to the the Premium Access Zone or someone who attended last years teched, then try to get the presentation from them.

https://www.sdn.sap.com/irj/sdn/paz

Regards

Bhavesh

Former Member
0 Kudos

Thanks Bhavesh.

henrique_pinto
Active Contributor
0 Kudos

Barry,

even though the document handles the creation of an attachment, it is about a module that does that. So, in the core, it is about a module development.

Nevertheless, the online documentation is pretty straighforward regarding that: http://help.sap.com/saphelp_nw70/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/frameset.htm

The document you have deals with the direct steps you'll have to perform in NWDS.

The online documentation and the sample module provide sample information and coding you can use in your development.

Regards,

Henrique.

Former Member
0 Kudos

Hi YiNing,

You would need to use Synchronous (Best Effort) for your scenario.

cheers,

Prashanth

P.S Please mark helpful answers

Former Member
0 Kudos

Is you SOAP call Synch or Asynch?

For Asynch you will not be able to get the response back

Satish