cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP response contains status code 401

Former Member
0 Kudos

This XML file does not appear to have any style information associated with it. The document tree is shown below.

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

<SOAP:Header></SOAP:Header>

<SOAP:Body>

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

<faultcode>SOAP:Client</faultcode>

<faultstring>Empty HTTP request received</faultstring>

<faultactor>http://sap.com/xi/XI/Message/30</faultactor>

<detail>

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">

<SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>

<SAP:P1/>

<SAP:P2/>

<SAP:P3/>

<SAP:P4/>

<SAP:AdditionalText/>

<SAP:Stack>

Empty HTTP query received; message processing not possible

</SAP:Stack>

</SAP:Error>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>





I am getting this error when triggering the target url in IE. please provide some solutions.

Thanks & regards

Debanjan.

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

It just means you need to send an HTTP Body with content-length > 0 to the target URL by actually sending payload to the target. Just entering it in IE would result in an empty HTTP Body hence the error.

Regards,

Mark

Answers (1)

Answers (1)

Former Member
0 Kudos

SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 401 Unauthorized.


this is the error which i am getting in adapter engine message monitoring. when i triggered the url mentioned in receiver cc i got the above error.


please provide some solutions ..


Thanks .

Former Member
0 Kudos

Hi Debjan,

Please check username/ pwd may be its wrong or expired or some authorization is missing .

Regards,

Former Member
0 Kudos

hi Rudra,

Thanks for your suggestion . let me check...

Regards,