cancel
Showing results for 
Search instead for 
Did you mean: 

Soap to RFC.........Testing Error in XML Spy...........Pi 7.0

Former Member
0 Kudos

Dear Friends,

I am making one scenario in Pi 7.0. The scenario is Web Service to RFC (Soap to RFC). When i test this scenario in XML spy it gives following message.

com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Internal Server Error

at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:158)

at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:917)

at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)

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:102)builder

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

For web definition, i am using this url.

http://host:port /XISOAPAdapter/MessageServlet?channel=:service:channel

I have double check my all configuration in integration  builder. There is nothing wrong with it Can anybody help what is this error?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Imran,

First of all i guess you have generated the wsdl from ID ?When generating the wsdl if you click on propose url by default it will give the IntegrationEngine url.

Use this wsdl import it in a tool called SOAP UI and then test it.

As per the discussion,it seems there is some problem with your SOAP channel as well.Please check in RWB Communication and channel monitoring also if it is in green status only.

Thanks

Swathi

Former Member
0 Kudos

Dear Swathi,

Thanks for your reply. If i select the default or propose url, it is

http://host:port/sap/xi/engine?type=entry

if i make WSDL file with this URL and test it in Soap UI, it gives message of "Soap Response Failed" .

if i make WSDL fiel with this URL

  http://host:port /XISOAPAdapter/MessageServlet?channel=p:s:c

and test it in XML spy, it giver message "com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Internal Server Error"

In RWB, reciever channel is green but the sender soap channel is red "channel started but with errors" . I have double checked the channel configuration and there is nothing wrong with it. What do you think what could be the problem? i also have refreshed CPA cache but same problem exist. If there is problem with SOAP channel than what you advise what could be the problem?

thanks

Former Member
0 Kudos

Hi imran ,

Generally  we dont follow the proposed URL . Generate your end poind with below pattern

http://hostname:port/sap/xi/engine?type=entry&version=3.0&Sender.Service=<name>&Interface=<namespace...

then try once .

thanks and regards,

Anup Banerjee

Former Member
0 Kudos

Hi Imran,

What is the error in the channel?

I hope the transport protocol is HTTP.Message Protocol is SOAP 1.1 .http Security Level is HTTP and QOS is Best Effort

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Couple of things you can do here..

1. Check the Webservice request has been received in PI system ..if So then check whether the RFC has been called with the input request or not..

2. Check whether the SOAP URL is appropriate with all sender system, namespace ,interface ,user details ...take the url and try to open in IE...

HTH

Rajesh

Former Member
0 Kudos

Dear Rajesh,

Thanks for you reply. When i open this url in IE, it gives this message .

Message Servlet is in Status OK

Status information:

Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_14_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

Also, kindly tell me how can i check that webservice has been received in Pi system or not? And also the RFC. How can i check these as you mentioned in your first comment.

Thanks and waiting for your reply

baskar_gopalakrishnan2
Active Contributor
0 Kudos

500 internal error could be due to many reasons. One is at mapping level. How do you check?

Go to SXMB_MONI and see whether you see the message? If you see the message that means the message reached successfully Adapter engine and the message further went to IE for the processing and there it might have failed.  Check what pipeline level it failed. This could be due to message transformation level.If you dont see message at all in IE then the message failed at Adapter engine itself. Your error message does not show any adapter related error.

Hope that helps.

Former Member
0 Kudos

Dear Baskar,

I have checked in SXMB_MONI. When i enter the selection and execute it, it says "No messages available for selection".  What does this mean? Does it mean that Soap Adapter is not working? when i enter this URL in IE, it says  "Message Servlet is in Status OK" and when i test WSDL file in XML spy it says "com.sap.aii.af.ra.ms.api.DeliveryException: Received HTTP response code 500 : Internal Server Error". Actually i am new to PI. Kindly help me out in this regards. Here is the URl that i am using.

http://host:Port/XISOAPAdapter/MessageServlet?channel=:INTEGRATION_SERVER_PID:Soap_Request&amp;versi...

where as Sender Business system is  INTEGRATION_SERVER_PID

Sender message interface is  Material_Request_MI

Namespace is http://cig.material.bapi.ws.com .

thanks and waiting for your reply

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

It could also mean LOGGING_SYNC is off in your XI system. To check this, go to tcode sxmb_adm -> Integration Engine Configuration -> Configuration (F9). If the value is set to 1, then it means it is on and your Integration Server has not received any message from your testing (also check your filters in sxi_monitor).

Hope this helps,

Mark

Former Member
0 Kudos

Dear Mark,

LOGGING_SYNC  current value is 1 and default value is 0. what does this mean Mark?