cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Problem

Former Member
0 Kudos

Hi Experts,

I am currently working on a SOAP To RFC scenario.

When I tried to send a soap message from a SOAP Client,

I am getting a response (In the response tab of the SOAP Client), saying "ModuleUnknownException".

The detailed message is,

<b><?xml version='1.0'?>

<!-- see the documentation -->

<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/aii/30_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:504)

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

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

]]></text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope></b>

Also, I don't see any message in the SXMB_MONI also.

I am sure that I have typed the URL in the soap client correctly.

When I gave the same url in a IE browser,

I got the message

<b>Message Servlet is in Status OK

Status information:

Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#10 $) bound to /MessageServlet

Classname ModuleProcessor: null

Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean

Lookupname for remoteModuleProcessorLookupName: null

ModuleProcessorClass not instantiated

ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0

ModuleProcessorRemote not instantiated</b>

Can you tell me what might be the problem?

Points Guaranteed.

Regards,

Ravi

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello, I met same probelm now.

How did you solve it ??

Please help me.

Thanks!

Former Member
0 Kudos

Hi,

I have observed that when the SOAP sender channel is not activated, and a request is posted to XI, u will get "ModuleUnknownException".

When the Sender SOAP Adapter is created in BE mode and "no receiver determination" is created, you will encounter "DeliveryException" while testing using XMLSPY. U will find that the message has failed in XI with an error "NO_RECEIVER_CASE_BE"

When the Sender SOAP Adapter is created in EO/EOIO mode and "no receiver determination" is created, you will not encounter any error while testing using XMLSPY. But you will find that the message has failed in XI with an error "NO_RECEIVER_CASE_ASYNC"

Also make sure you defined the correct

"Default Interface NameSpace" and

"Default Interface Name"

in the Sender SOAP Channel. Else the message will fail b'cos it will not find the correct receiver Determination.

Cheers,

Siva Maranani

Former Member
0 Kudos

Hi Ravi,

Check these link, it may give you more info..

former_member181962
Active Contributor
0 Kudos

Hi,

The links did not address my problem..can anybody help?

Ravi

Former Member
Former Member
0 Kudos

Hi,

The error is due to wrong URl or endpoint information. if the endpoint has a wrong party/channel/service it will error out with the error u got.

Follow the checks Renjith mentioned. check ur endpoint. if possible regenerate ur wsdl/ clear CPA cache and test again

cheers,

naveen

0 Kudos

Hi..

Even i tried thi same scenario and my XMLSPY's Response looks as below.

<html>

<head>

<title>MessageServlet</title>

</head>

<body>

<h3>Message Servlet is in Status OK</h3>

<h3>Status information:</h3>

Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#9 $) bound to /MessageServlet

<br/>Classname ModuleProcessor: null

<br/>Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean

<br/>Lookupname for remoteModuleProcessorLookupName: null

<br/>ModuleProcessorClass not instantiated

<br/>ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0

<br/>ModuleProcessorRemote not instantiated

</body>

</html>

Moreover i dont see any messages in SXMB_MONI.

Can anyone pls help me ?