cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice Client <-> Xi<->RFC : Problem

Former Member
0 Kudos

Hello guys,

First time posting to sdn. i have a following scenario.

WS Clinet <> XI <> RFC . The RFC i am using is RFC_CUSTOMER_GET ; it has two inputs ( Not mandatory) No. and Name. The Request and response is sent through SOAP. I used option in SAP Xi to generate WSDL where the URL is following format :

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

i am using Altova XML Spy to generate and send SOAP request using the WSDL generated from the above process.

When i am sending soap request using XML SPY , i am getting prompt to enter to Uname and passwd. But right across i am getting the following error:

HTTP Error : couldnot POST the file : ‘/XISOAPAdapter/MessageServlet?Channel=:WS2RFC_BS:WS_Sender&Version=3.0&Sender.Service=WS2RFC_BS&Interface=http%3A%2F%2Fwww.prosoftgroup.com%2Fws2rdc%5ERequest_MI’ on Server ‘nemo.prosofthq.com’(500).

and then an exception is generated. :

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

<SOAP:Body>

<SOAP:Fault>

<faultcode>SOAP:Server</faultcode>

<faultstring>failed to call the adapter engine</faultstring>

<detail>

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

<context>XIAdapter</context>

<code>DeliveryException</code>

<text><![CDATA[

com.sap.aii.af.mp.module.ModuleException

at com.sap.aii.af.mp.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:697)

at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl3.process(ModuleLocalLocalObjectImpl3.java:103)

..

..

..

---

Now while configuring SOAP Adapter i used BE mode and i have a receiver determation. i also checked over this URL manually using IE and after entering Uname and password i got status OK ?

Dunno where the problem is ? Please suggest

Vara

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Bujii,

You can first test your Adapter Engine from "<b>Runtime Work Bench</b>".

Follow the steps for testing the SOAP Adapter from XI.

Step 1 :- Component Monitoring--> Click Adapter Engine.

Step 2 :- Select the "Test Message" Tab

Step 3 :- Give details for send to = http://host:port/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>; ,interface name, service, namespace

Step 4 :- Payload should be Soap Request. and click send message.

Check the result in SXMB_MONI.

Note : You can create SOAP Request from WSDL using the following tool.

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916e...

Regards,

Rakesh.

Former Member
0 Kudos

Hi Bujji:

Please make sure that in your sender SOAP adapter configuration in Integration Directory, you have configured in the Default XI Parameters the right values for "Default Inteface Name" and "Default Interface Namespace". This will allow the adapter engine to correctly route the incoming soap request. I think I've seen similar errors before and that may be one of the places to check.

Regards,

Former Member
0 Kudos

Sorry its small case only when i typed it got to that error . thanks for responding

Vara

Former Member
0 Kudos

Hi,

1. try refreshing ur CPA Cahce

http://server:port/CPACahce/refresh?mode=full

2. also see if you can get more error information in sxmb_moni

did u check the default.trc in Visual Admin??

cheers,

Naveen

Former Member
0 Kudos

Hi Vara -

Not sure if this makes a difference, but shouldn't Channel be lowercase 'c' in your query string?

<i>HTTP Error : couldnot POST the file : ‘/XISOAPAdapter/MessageServlet?<b>C</b>hannel=:WS2RFC_BS:WS_Sender&Version=3.0&Sender.Service=WS2RFC_BS&Interface=http%3A%2F%2Fwww.prosoftgroup.com%2Fws2rdc%5ERequest_MI’ on Server ‘nemo.prosofthq.com’(500).</i>

Jin