cancel
Showing results for 
Search instead for 
Did you mean: 

WebService - XI: ModuleUnknownException

Former Member
0 Kudos

Hi,

I try to call an XI interface via a Webservice. I had a look at all blogs regarding this and found out that I need to use the Webservice Wizard in XI with the following URL: http://pwdfp029.wdf.sap.corp:50100/XISOAPAdapter/MessageServlet?channel=:SOAP_Call_Client:SOAP_Clien...

If I now try to send a SOAP Message with XMLSpy I get the following error:

SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>ModuleUnknownException</code>

<text><![CDATA[

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

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

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:401)

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

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

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

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

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

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

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

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)

]]></text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

I alos tried the following URL: http://pwdfp029.wdf.sap.corp:50100/XISOAPAdapter/HelperServlet?action=FindChannel&channel==:SOAP_Cal...

Here I get the follwoing response:

<?xml version="1.0" ?>

- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

- <detail>

- <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

<context>XIAdapter</context>

<code>ADAPTER.SOAP_EXCEPTION</code>

- <text>

- <![CDATA[

java.lang.Exception: Channel not found for =:SOAP_Call_Client:SOAP_Client in SOAP

at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)

at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:126)

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

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

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

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

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

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

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

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

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

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

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)

]]>

</text>

</s:SystemError>

</detail>

</SOAP:Fault>

Do you have any Idea what could be wrong here?

Thanks and Best Regards

Katharina

Edited by: Katharina Seiz on Sep 29, 2008 4:10 PM

Edited by: Katharina Seiz on Sep 29, 2008 4:11 PM

Edited by: Katharina Seiz on Sep 29, 2008 4:12 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

I see that this is a PI 7.1 system. Here you should use following URL:

http://host:port/XISOAPAdapter/MessageServlet?senderParty=FP&;

senderService=FS&interface=IF&receiverParty=TP&receiverService=TS

&interfaceNamespace=IFNamespace

See also note 856597.

If there are any issues left, you may contact me directly.

Regards

Stefan

katharina_seiz
Employee
Employee
0 Kudos

No that isn't a PI 7.1 system. It is NW 2004s system.

I think perhaps it has something to do with that CPA chache. Unfortunately I don't have the authorization to update it. But in the content list I couldn't find my objects. Also there are many errors in the update history. So I will try to contact an admin and then we will see how it works.

Thanks and Best Regards

Katharina

stefan_grube
Active Contributor
0 Kudos

content removed

Edited by: Stefan Grube on Sep 29, 2008 6:53 PM

Former Member
0 Kudos

Hi,

Check whether you have given the correct parameters in

Default Name Space and Default Interface Name.

QOS should be Excatly Once.

Edited by: Ramachandra Dileep Dannapaneni on Sep 29, 2008 4:59 PM

katharina_seiz
Employee
Employee
0 Kudos

As mentioned, I checked it many times. It is correct.

Best Regards

Katharina

Former Member
0 Kudos

Hi

http://host:port/XISOAPAdapter/HelperServlet?action=FindChannel&channel=party:service:channel

Open this url from your browser and check whether you can get your channel details displayed.

If not, activate the channel again, do a CPA cache and then try again.

-Dava

former_member192295
Active Contributor
0 Kudos

Hi,

This error is due to wrong parameters given during web service creation. Make web service once again and give parameters correctly i.e communication channels name, interface name, name space name etc. It will work

katharina_seiz
Employee
Employee
0 Kudos

Hi,

sorry, I did that many times today. The parameter are correct.

Business Service: SOAP_Call_Client

Communication Channel: SOAP_Client

Interface: GLAccountPostingSync_Out

Interface Namespace: http://sap.com/cd/basfpoc

So in the Wizard I enterd:

in first step the URL: http://pwdfp029.wdf.sap.corp:50100/XISOAPAdapter/MessageServlet?channel=:SOAP_Call_Client:SOAP_Clien...

in second step: I selected the Interface "GLAccountPostingSync_Out" from the value help

in third step: I again entered Service = "SOAP_Call_Client", Interface Name = "GLAccountPostingSync_Out" and Namespace = "http://sap.com/cd/basfpoc"

So what can be wrong here?

In generated WSDL I can find as endpoint url:

http://pwdfp029.wdf.sap.corp:50100/XISOAPAdapter/MessageServlet?channel=:SOAP_Call_Client:SOAP_Clien...

Thanks and Best Regards

Katharina

Edited by: Katharina Seiz on Sep 29, 2008 4:39 PM