cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP client receives HTTP 302 Found

Former Member
0 Kudos

Hi all

I have a message interface for which I generated a wsdl pointing to the SOAP adapter:

http://server:50000/XISOAPAdapter/MessageServlet?channel:=servicename:channelname

If I am using SAP Soap Client to send a request (http, HTTP Basic Auth.) everything is fine, the message is in the SOAP adapter, in IS and I receive a correct SOAP response.

But if am using other clients, e. g. SoapUI, I get an HTTP 302 Found error back before the data even reaches the SOAP adapter (no message there).

Has anybody an idea how to solve this or where to find more information about it?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

former_member183906
Active Contributor
0 Kudos

This link would give u the reason of the error

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

Also have a look at this note

SAP Note 857596 - Message server: Status code for redirect requests

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all

I finaly found the problem. In SoapUI there is a flag "Authenticate preemptively" in the http settings. If this flag is set, the user/pass provided is used for the http basic auth.

Thanks anyway for your support

Hans

Former Member
0 Kudos

302 Found

This is the most popular redirect code, but also an example of industrial practice contradicting the standard. HTTP/1.0 specification required the client to perform a temporary redirect (the original describing phrase was "Moved Temporarily"), but popular browsers implemented it as a 303 See Other. Therefore, HTTP/1.1 added status codes 303 and 307 to disambiguate between the two behaviours. However, the majority of Web applications and frameworks still use the 302 status code as if it were the 303.

Former Member
0 Kudos

Thanks for your answers,

but I am still lost with this error. The cluster only consists of one server node and the redirect posts to

http*s*://server:5000*1*/XISOAPAdapter/MessageServlet?channel:=servicename:channelname

So it changes to https. Why is this? What is the client (which is a standard application that we cannot change) supposed to do?

Thanks for any info

Hans