cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Axis adapter - Asynch

Former Member
0 Kudos

Hi All,

We have been trying to use SOAP adapter (asynch) with Axis frame work.

The axis jars have been deployed and when we try to access the URL http://host:port/XIAxisAdapter/MessageServlet

Required Components

Number of Missing Components: 0

Status: OK

Optional Components

Number of Missing Components: 7

Status: Warning

I assume this is ok(!!!)

When we try to display the WSDL from the sender agreement the URLpoints to

http://host:port/XISOAPAdapter/MessageServlet?senderParty=&amp;senderService=<Sender system>>&amp;receiverParty=&amp;receiverService=&amp;interface=<interface name>&amp;interfaceNamespace=<name space>

We manually edited this to http://host:port/XIAxisAdapter/MessageServlet?senderParty=&amp;senderService=<Sender system>>&amp;receiverParty=&amp;receiverService=&amp;interface=<interface name>&amp;interfaceNamespace=<name space>

The error we are getting in SOAP UI is

<faultcode>soapenv:Server.generalException</faultcode>

<faultstring>no Main; nested exception is:

com.sap.engine.interfaces.messaging.api.exception.MessagingException: no Main</faultstring>

We are on PI7.1 with SP05.

Can you please let me know how can we resolve this?

Thanks

Jai

Edited by: Jaishankar on Sep 21, 2010 7:42 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

VijayKonam
Active Contributor
0 Kudos

I dont think you should change the URL to call the web service. The AXIS framework is an addon to the existing SOAP adapter but itself is not an adapter. You should just select the AXIS framework in the soap adapter and use the WSDL provided by the sender agreement as it is..!!

I am positive about this, if not 100% sure..!!

VJ

Former Member
0 Kudos

Hi VJ,

Thanks a lot for the response.

We finally managed to get the Axis adapter working. The issue was the module configuration was slightly messed up. The handler.type parameter had the value java:com.sap.aii.axis.xi.XI30OutboundHandler for xireq. We changed this to java:com.sap.aii.axis.xi.XI30InboundHandler. Not sure why the default setting was XI30OutboundHandler

The wsdl has to be corrected to point to Axis adapter instead of SOAP adapter.

Thanks

Jai

VijayKonam
Active Contributor
0 Kudos

Thanks for the update Jai.

VJ