cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP-Web Service Error

Former Member
0 Kudos

Hi guys

I am trying "Siva Maranani's" weblog "Invoke Webservices using SAP XI" and have several errors.

My first attempt was to send a message using the RWB.

My input:

Send to: http://host:8000/sap/xi/engine?type=entry

Sender: OP_CALC_WS

Interface: MI_CALC_WS_OB

Namespace: op:xi:calc:ws

User: xiappluser

Password: .....

QoS: BE

Payload: <The request message without the SOAP

envelope>

It shows that the message is sent successfully but in sxmb_moni the error "NO_RECEIVER_CASE_BE" occurs.

Is the send to URL correct?

Do I need two Receiver Determination in my configuration?

Accepted Solutions (0)

Answers (2)

Answers (2)

sam_raju
Contributor
0 Kudos

Hi Thomas,

>>>>>>Is the send to URL correct?

The URL you are using is pointing to XI built-in HTTP Adapter.

If you are using SOAP Adapter, The URL should be as follows:

http://<XI-host>:<J2EE_Port>/XISOAPAdapter?MessageServlet?channel=party:service:channel

Under party:service:channel enter the party name, the service name, and the name of the communication channel.

If no party has been created, enter the following: channel=:service:channel

For more details, refer to help.sap.com documentation at the following

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm">Configuring the Sender Soap Adapter</a>

>>>>>>Do I need two Receiver Determination in my configuration?

Yes, you need to configure Receiver Determination in your configuration.

Former Member
0 Kudos

Hi Sam

Thanks for your help.

OK I changed the URL to:

"http://<host>:50000/XISOAPAdapter/MessageServlet?channel=OP_CALC_WS:CalculatorWS_SOAPSender"

and I got this error message:

java:162)]]></text> </s:SystemError></detail> </SOAP:Fault></SOAP:Body> </SOAP:Envelope>

I went to Component Monitoring ==> Integration Server ==>

Integration Engine ==> Test-Message... Is this correct?

>>>>>>>"Do I need two Receiver Determination in my >configuration?"

>Yes, you need to configure Receiver Determination in >your configuration.

I have one Receiver Determination from the outbound interface to the inbound. But do I need another back to the outbound??

Former Member
0 Kudos

Just one more note.

I have executed the linkt, "http://<host>:50000/XISOAPAdapter/MessageServlet?channel=OP_CALC_WS:CalculatorWS_SOAPSender" in the browser and could see the Information "Message Servlet is in Status OK".

Go:khan

sam_raju
Contributor
0 Kudos

Hi Gokhan,

>>>>>> Do I need two Receiver Determination in my configuration?

Sorry for the confusion.

You don't need Two receiver determinations. You need only one Receiver determination.

The response goes in the same thread in case of synchronous with QOS BE.

>>>>>> I went to Component Monitoring ==> Integration Server ==>

Integration Engine ==> Test-Message... Is this correct?

The Test Tool in RWB is for testing messages using Built-in HTTP Adapter and points to the Integration Engine. you can not use this tool for testing SOAP messages using soap adapter. The Soap Adapter is part of AFW and you have to use the above URL and use soap-clients like XML SPY or Netweaver Developer Studio or SOAPSCOPE and so on to test it.

Also, refer to this how-to guide on <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555">How to develop a simple webservice using SAP NWDS</a>

Also refer to

<a href="https://websmp106.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012003146900000286382005">FAQs on SOAP Adapter</a>

Hope this helps.

Rgds,

Sam Raju

Former Member
0 Kudos

Hi all, we are in difficult with the same weblog. When we try to send a SOAP request obtain:

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

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

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

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

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

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

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

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

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(Compiled Code))

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.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>

Is there anybody who help us ?

Thanks in advance

Best regards

Gianfranco

Former Member
0 Kudos

Hi, Gianfranco!

Did you solve this problem?

Thank you for responce.

Former Member
0 Kudos

Hi

In addition to that, an error is thrown after sending a request to the server with XML SPY.

"HTTP error: could not POST file" ==> "The web service has sent an empty response".

BTW: I have deactivated any proxies in the Internet Explorer.