cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTTP_RESP_STATUS_CODE_NOT_OK HTTP Response 404

Former Member
0 Likes
504

Hello experts.

I'm facing the following problem with XI IDoc to IDoc scenario.

The problem is that XML messages appear in SXMB_MONI transaction with an error status, the status is

HTTP_RESP_STATUS_CODE_NOT_OK.


The error looks as following:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
<!--  Call Adapter  --> 
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
     <SAP:Category>XIServer</SAP:Category> 
     <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code> 
     <SAP:P1>404</SAP:P1> 
     <SAP:P2>Not Found</SAP:P2> 
     <SAP:P3 /> 
     <SAP:P4 /> 
     <SAP:AdditionalText>..{some text here} ..</SAP:AdditionalText> 
     <SAP:ApplicationFaultMessage namespace="" /> 
  <SAP:Stack>HTTP response contains status code 404 with the description Not Found Error when  sending by HTTP (error code: 404, error text: Not Found)</SAP:Stack> 
  <SAP:Retry>M</SAP:Retry> 
</SAP:Error>

I have an assumption that the problem is in the HTTP port of requested URL. because of the following:


<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
<!--  Call Adapter   --> 
<SAP:OutboundBinding xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SAP:OutboundBindingEntry version="30">
<SAP:OutboundBindingObjectId>06720EBBEDD533F3ABBD5CAEC853280E</SAP:OutboundBindingObjectId> 
  <SAP:FromPartyName /> 
  <SAP:FromServiceName>NW0</SAP:FromServiceName> 
  <SAP:ToPartyName /> 
  <SAP:ToServiceName>SXI</SAP:ToServiceName> 
  <SAP:ToInterfaceName>ZULIST.ZULIST</SAP:ToInterfaceName> 
  <SAP:ToInterfaceNamespace>urn:sap-com:document:sap:idoc:messages</SAP:ToInterfaceNamespace> 
  <SAP:OutboundBindingAttributes>
  <SAP:AdapterTypeData xmlns:SAP="http://sap.com/xi/XI/Message/30" /> 
  </SAP:OutboundBindingAttributes>
  <SAP:HeaderMapping>
  <SAP:FieldMapping xmlns:SAP="http://sap.com/xi/XI/Message/30" /> 
  </SAP:HeaderMapping>
  <SAP:ChannelEntry version="30">
  <SAP:PartyName xmlns:SAP="http://sap.com/xi/XI/Message/30" /> 
  <SAP:ServiceName xmlns:SAP="http://sap.com/xi/XI/Message/30">SXI</SAP:ServiceName> 
  <SAP:ChannelName xmlns:SAP="http://sap.com/xi/XI/Message/30">IDOC</SAP:ChannelName> 
  <SAP:AdapterName xmlns:SAP="http://sap.com/xi/XI/Message/30">XI</SAP:AdapterName> 
  <SAP:AdapterNamespace xmlns:SAP="http://sap.com/xi/XI/Message/30"><a href="http://sap.com/xi/XI/System" TARGET="test_blank">http://sap.com/xi/XI/System</a></SAP:AdapterNamespace> 
  <SAP:AdapterSWCV xmlns:SAP="http://sap.com/xi/XI/Message/30">3B787A8035C111D6BBE0EFE50A1145A5</SAP:AdapterSWCV> 
  <SAP:AdapterEngineType xmlns:SAP="http://sap.com/xi/XI/Message/30">IS</SAP:AdapterEngineType> 
  <SAP:AdapterEngineName xmlns:SAP="http://sap.com/xi/XI/Message/30" /> 
  <SAP:MessageProtocol xmlns:SAP="http://sap.com/xi/XI/Message/30">XI</SAP:MessageProtocol> 
  <SAP:MessageProtocolVersion xmlns:SAP="http://sap.com/xi/XI/Message/30">3.0</SAP:MessageProtocolVersion> 
  <SAP:TransportProtocol xmlns:SAP="http://sap.com/xi/XI/Message/30">HTTP</SAP:TransportProtocol> 
  <SAP:TransportProtocolVersion xmlns:SAP="http://sap.com/xi/XI/Message/30">1.0</SAP:TransportProtocolVersion> 
  <SAP:ChannelDirection xmlns:SAP="http://sap.com/xi/XI/Message/30">O</SAP:ChannelDirection> 
  <SAP:FromPartyAgency xmlns:SAP="http://sap.com/xi/XI/Message/30" /> 
  <SAP:FromPartySchema xmlns:SAP="http://sap.com/xi/XI/Message/30" /> 
  <SAP:ToPartySchema xmlns:SAP="http://sap.com/xi/XI/Message/30" /> 
  <SAP:ToPartyAgency xmlns:SAP="http://sap.com/xi/XI/Message/30" /> 
  <SAP:ChannelAttributes xmlns:SAP="http://sap.com/xi/XI/Message/30">
  <SAP:AdapterTypeData xmlns:SAP="http://sap.com/xi/XI/Message/30">
  <SAP:Attribute>
  <SAP:Name>addressingMode</SAP:Name> 
  <SAP:Value>url</SAP:Value> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>authenticationModeBasicAnon</SAP:Name> 
  <SAP:Value>basicSAP</SAP:Value> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>host</SAP:Name> 
  <SAP:Value>drobnitsa</SAP:Value> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>httpDestination</SAP:Name> 
  <SAP:Value /> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>isMessageSecurity</SAP:Name> 
  <SAP:Value>0</SAP:Value> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>logonClient</SAP:Name> 
  <SAP:Value>000</SAP:Value> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>logonLanguage</SAP:Name> 
  <SAP:Value>EN</SAP:Value> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>logonPassword</SAP:Name> 
  <SAP:Value isPassword="true" /> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>logonUser</SAP:Name> 
  <SAP:Value>XISUPER</SAP:Value> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>passHopList</SAP:Name> 
  <SAP:Value>1</SAP:Value> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>path</SAP:Name> 
  <SAP:Value>*/sap/xi/engine?type=entry*</SAP:Value> 
  </SAP:Attribute>
  <SAP:Attribute>
  <SAP:Name>port</SAP:Name> 
  <SAP:Value> 50000 </SAP:Value> 
  </SAP:Attribute>
  </SAP:AdapterTypeData>
  </SAP:ChannelAttributes>
  </SAP:ChannelEntry>
  </SAP:OutboundBindingEntry>
  </SAP:OutboundBinding>

If I am no mistaken

<SAP:Attribute>

<SAP:Name>port</SAP:Name>

<SAP:Value> 50000 </SAP:Value>

</SAP:Attribute>

this attribute is setting the port of requested URL, it is 50000, but it should be, I guess, 8000.

View Entire Topic
Former Member
0 Likes

Hello Agasthuri, I checked mentioned parameter it 50000. Should it be the same as HTTP port from transaction SMICM?

nisarkhan_n
Active Contributor
0 Likes

Yes it should be same as the HTTP port not J2ee port.