on 09-20-2010 5:01 PM
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=&senderService=<Sender system>>&receiverParty=&receiverService=&interface=<interface name>&interfaceNamespace=<name space>
We manually edited this to http://host:port/XIAxisAdapter/MessageServlet?senderParty=&senderService=<Sender system>>&receiverParty=&receiverService=&interface=<interface name>&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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.