cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP ERROR

Former Member
0 Kudos

When testing a web service I get the following error.....

com.sap.aii.af.ra.ms.api.DeliveryException: Missing faultcode; HTTP 200 OK

I've tested the same web service using Oxygen and it works perfectly. I've checked SDN and it suggests that there may be a problem with the returning package.

Can anyone offer any advice - specifically on how to trap the returning package. I've checked in the message monitor and RTWB but can't see anything.

Thanks in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

use similar thread

Former Member
0 Kudos

HI

Russ has given a good solution to you.

If you want you can try with a Java Client for this which write logs. Search SDN that can also help with the content you want to trace.

Thanks

Gaurav

Former Member
0 Kudos

Hello,

Try this.

Thanks

-Kulwant

Former Member
0 Kudos

There are a number of tunnel tools you can pick from, but I like the Apache tcpmon. It will tunnel the http connection and show you in graphical windows the http request and the http response. Tunneling is very helpful when there are disputes over the content since you get a byte-for-byte exact representation of the data thatu2019s flowing between systems. You can use Oxygen to send through this tunnel first, XI next, then look at how the responses differ. Of course, you will need to be using http not https.

1) Download the latest Axis release from Apache (http://ws.apache.org/axis/)

2) Extract the axis.jar file from the downloaded zip file.

3) Start the tcpmon on your PC


java -classpath axis.jar org.apache.axis.utils.tcpmon <local_port> <target_server> <target_server_port>

Example:
java -classpath axis.jar org.apache.axis.utils.tcpmon 8080 remote.server.com 80

4) You then need to change the URL in the XI SOAP adapter and Oxygen to point to your PCu2019s IP Address/Port (or wherever the tcmon is running). All the other setup remains the same. The tunnel will send all TCP traffic sent to your pc on port 8080 to the real/final target_server and target_server_port. Continuing the example above, this would look like the following:

URL in XI or Oxygen Test Tool

http://your.pc.com:8080/resource/stays/the/same

The tunnel will send the request to the final target server and then display the results before they are returned to the calling client.

http://remote.server.com:80/resource/stays/the/same

-Russ

Former Member
0 Kudos

Can it be that you get a fault message as response? how is it looking like? It seems as if the fault message is not okay.

Regards,

volker