cancel
Showing results for 
Search instead for 
Did you mean: 

Error while sending a soap request from XML SPY to a webservice in XI

Former Member
0 Kudos

Hi ,

I published a webservice om the XI end and testing it with consuming the WSDL file in XML SPY and sending a soap request from there.

I am getting the following error .

<b>com.sap.aii.af.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name</b>, MessageServlet(Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#4 $)

at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:380)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Is this error due to the user authentication or due to some other issue .

Please do let me know soon .

Thanks a lot

Nikhil

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Nikhil,

You don't have a correct url address of xi soap sender adapater! generate again your webservice wsdl and check the url (don't use the proposal url). The address must be http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=:<business service or system>:<name of your soap sender channel>

Hope this helps.

Cheers,

Ricardo.

Former Member
0 Kudos

Hi Ricardo,

Thanks for the quick reply .

I am using the URL as u just specified . just a small question what is the port here . is it the HTTP port or the server port .

Thanks

Nikhil

henrique_pinto
Active Contributor
0 Kudos

If you have published your ws in XI, just go to web services navigator, download the wsdl's and check the full address there. I think it´s on the one that defines the service.

Former Member
0 Kudos

how do I locate which webservice in mine out there

Former Member
0 Kudos

Hi Nikhil,

Is not http port but j2ee port. On you browser open the integration builder and look at the url and you find it there (after host);-)

Use the url address that I gave you and test your scenario

Cheers,

Ricardo.

Shabarish_Nair
Active Contributor
0 Kudos

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1 have a look at that.

It explains how you can actually test it from XML spy.

Former Member
0 Kudos

Hi Ricardo ,

I have the correct port now.

the url looks like

http://<host>:50000/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST

when I am testing it in the XML spy. and send a soap server request. I am getting the popup for user authentication . once i put my user id it gives me a error saying

<b>HTTP operation 'POST' could not be performed on URL

'/XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:SOAP_CUST&amp;version=3.0&amp;Sender.Service=SIEBEL_DEV&amp;Interface=http%3A%2F%2FOFCOM%2FUNIFY%2FCustomerMaster%5EMI_CUST' due to an error :

The connection to the server was terminated abnormally</b>

Any Idea as to why is such a error is coming

Thanks for the help

Nikhil

former_member187339
Active Contributor
0 Kudos

Hi,

Try removing the following from your wsdl:

&amp;version=3.0&amp;Sender.Service=SIEBEL_DEV&amp;Interface=http%3A%2F%2FOFCOM%2FUNIFY%2FCustomerMaster%5EMI_CUST'

<b>Even though that might not be the cause</b>

1) Is there any error in MONI or Runtime workbench-> Adapter monitoring?

Regards

Suraj

Former Member
0 Kudos

Hi ,

The first option did not work .

and in the MONI there is no error message .

Is there anything else we can try

Thanks

Nikhil

Former Member
0 Kudos

Please have a look at the NOTE: 856597 (first 2 questions)

And also the blog:

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

Former Member
0 Kudos

Hi Nikhil,

Use the applicational user into soap request.

usr: xiappluser

pwd: ******** (contact sys admin)

Cheers,

Ricardo.