cancel
Showing results for 
Search instead for 
Did you mean: 

webService to SOAP XI to R/3 Error

Former Member
0 Kudos

Hi All,

Need some help, can not understand where exactly the problem.

Created the scenario where creating User Interface in WebDynpro using wsdl file created from XI infterface for retrieving the customer Information from R/3 System.

Web-Service is expose which will take the input as customer number and company code and send back the customer detail back to UI. I am using SOAP Adapter at sender end in XI.

UI to webService XI to R/3.

When sending message from UI using webService I am getting “Server Error”, even can not see corresponding message in XI message monitoring.

I counter check the different thing:

http://hostname:50000/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:service name:CommunicationChannel Name

Getting following response.

<s:ChannelInfo>

<channelID>181df83ff72d3ad7baf8dcd0b695e8ea</channelID>

<name>SOAP_Communication</name>

<type>st:SOAP</type>

<direction>INBOUND</direction>

<party/>

<service>TBIT40_LEGACY_BS01</service>

</s:ChannelInfo>

http://hostname:50000/XISOAPAdapter/HelperServlet?action=GetChannelInfo&channelID=181df83ff72d3ad7ba...

Getting following response.

<s:ChannelInfo>

<channelID>181df83ff72d3ad7baf8dcd0b695e8ea</channelID>

<name>SOAP_Communication</name>

<type>st:SOAP</type>

<direction>INBOUND</direction>

<party/>

<service>TBIT40_LEGACY_BS01</service>

</s:ChannelInfo>

http://crmides:50000/XISOAPAdapter/MessageServlet

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#5 $) 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

But when test the following url I am getting error.

http://crmides:50000/XISOAPAdapter/HelperServlet?action=GetChannelInfo&channelID=//tc/aii/30_VAL_REL... $

Getting following error

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>Server Error</faultstring>

<detail>

<s:SystemError>

<context>XIAdapter</context>

<code>ADAPTER.SOAP_EXCEPTION</code>

<text>

com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Channel object with Id Channel://tc/aii/30_VAL_REL/src/_adapter not available in CPA Cache.

at com.sap.aii.af.service.cpa.LookupManager.getCPAObject(LookupManager.java:193)

at com.sap.aii.af.mp.soap.web.HelperServlet.processGetChannelInfo(HelperServlet.java:442)

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

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

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

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

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

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

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

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

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

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

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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

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

</text>

</s:SystemError>

</detail>

</SOAP:Fault>

I think that there some problem in SOAP Adapter but I do not what is the problem and how to fix it. Even in Adapter Monitoring SOAP Adapter is disable.

With Regards

Sunil

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I am getting following error.

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (404) Not Found.

With Regards

Sunil

Former Member
0 Kudos

Sunil

Where exactly you are getting this error.

Can you also check the structure of Request & response payload.

- lalit -

Former Member
0 Kudos

Hi Satish,

Thanks for your quick reply.

I am using following url as Target Address in UI for webService.

http://hostName:50000/XISAOPAdapter/MessageServlet?channel=:TBIT40_LEGACY_BS01:<b>Customer_Info_SOAP...

serive Name is : TBIT40_LEGACY_BS01

SAOP Adapter Name is : SAOP_Communication

With regards

Sunil

Former Member
0 Kudos

Pandey,

I think the url what you are using for creating the WSDL is wrong. It should be in the format:

http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>

If you use party use the above. If you dont have the party then use this:

http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>

I think you are using http://hostname:50000/XISOAPAdapter/HelperServlet?action=FindChannel&channel=:service name:CommunicationChannel Name

If it is yes then what you are using is wrong. Kindly use the one which I have given above. Also see the document for some on SOAP sender and receiver.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

---Satish