cancel
Showing results for 
Search instead for 
Did you mean: 

Sender SOAP CC - ADAPTER.JAVA_EXCEPTION

Former Member
0 Kudos

Hi,

We are using XI 2.0; This scenario is SOAP -> IDOC; I followed the steps in the document 'How Tou2026

Use the XI 3.0 SOAP Adapter';

I have created a sender soap communication channel and defined a web service from the ID; (SOAP adapter channel belongs to service without party, so I used the address as follows http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?

channel=:<service>:<channel> in the wizard to create the WSDL file)

I could not use a third party software to test the interface.

When the vendor send the test data to the URL he get the message as follows:

<!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>ADAPTER.JAVA_EXCEPTION</code>

<text>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/NW04S_19_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $)

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

at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))

at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))

at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))

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

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))</text>

</s:SystemError>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

Can anyone give me a hint on what to do to clear this error? Also any better help guide will be useful/helpful.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
SOAP adapter channel belongs to service without party, so I used the address as follows http://<host>:<j2ee-
port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel> in the wizard to create the WSDL file)

1) Is the URL format which you are using for XI2.0 proper and complete?

2) Try to create the ID objects manually (Sender Channel and Sender Agreement).....when we use the wizard a * gets introduced in the unfilled (unused) fields (party etc) ....however when manually created the unused fields are left blank.

3) Check if all the ID objects are available in SXI_CACHE.

Regards,

Abhishek.

Former Member
0 Kudos

@ Chirag Gohil ,

The document you showed me also has the error in the testing phase. Can you please look

Former Member
0 Kudos

Check the URL once again- check for d extra spaces at the end of the link.

chirag

Former Member
0 Kudos

How do I know which is the port to use in the URL?

Former Member
0 Kudos

Did u check the page no 14 of the doc which has the same problem - in problem analysis it has mentioned that check the URL as well as proxy setting of internet browser.

chirag

Former Member
0 Kudos

Thanks Crig; You spotted it correctly;

It was a additional space in the URL; now the messages coming into my adapter. I mark this thread as closed

Answers (1)

Answers (1)

Former Member
0 Kudos

From the Error-

1. Do dummy changes in ur communication channel and activate it again.

2. refresh the cache of ID.

3. Test the WSDL file using XML Spy tool and send the SOAP request and test it.

chirag.

Former Member
0 Kudos

Hi,

I did the recommendation - I keep getting the same error.

Additionally I wanted to let you know, when I test the URL in the Internet Browser, I get the following message

Message Servlet is in Status OK

Status information:

Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_19_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) 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_0

ModuleProcessorRemote not instantiated

Thanks and Regards

Kasee Palaniappan

Former Member
0 Kudos

Status messge is OK not an issue.

Did u tried to test ur file and send the SOAP request through XML spy too.

Check ur configuration once again.

chirag

Former Member
0 Kudos

Hi,

I am not using any third party software to test this (due to some policy restrictions), instead I always ask the third party to send a test message. My vendor use SOAP 3.5.1 to test and he gets the same message.

Can you please link me to a document, which shows all the steps to double confirm I have done all required.

Thanks

Former Member
0 Kudos

Check this How to use SOAP adapter guide:-

http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f9...

Pls check whether u ahve done the correct channel configuration and ID part.

chirag