on 05-03-2006 8:06 PM
I am trying to execute the sample flight demo application scenario 'Check Flight Seat Availability'.
In SXMB_MONI I see the following error.
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
<SAP:P1>401</SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Error while sending by HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>
HTTP Service is active.
This error is in Flight Agency client.
Regards,
Hi Samantha,
I experienced a similar problem, trying to build a sample application.
After some time I realized that the problem was due to the fact that I was connecting a NW04s (7.0) system to a NW04 (6.40) one.
The important issue is that here the treatment of passwords has changed completly. Everything is explained in the following note:
Note 1023437 - ABAP syst_Downwardly incompatible passwords (since NW2004s)
The solution was to set the parameter (TRX rz10)
login/password_downwards_compatibility
to the value "4"
(for details see: http://help.sap.com/saphelp_nw2004s/helpdata/de/22/41c43ac23cef2fe10000000a114084/frameset.htm)
I hope that helps (at least I was completely unaware of that situation)
Sincerely steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I am getting the similar issue when I am implementing a file-to-file scenario. When the " .txt " file is uploaded in XI it should move to ABAP . But instead of that, it is getting archived. The error information there is - "HTTP response contains status code 401 with the description Unauthorized " . Please help me from where this kind of error occurs, what is the root cause of this problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am doing a proxy-to-proxy communication using xi adapter. XIAPPLUSER has the required role.
This is a flight demo app that comes from SAP
Here is the entire error.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Integration Server
-->
- <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
- <SOAP:Header>
- <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
<SAP:MessageClass>SystemError</SAP:MessageClass>
<SAP:ProcessingMode>synchronous</SAP:ProcessingMode>
<SAP:MessageId>445947E2-95CD-017E-0000-0000AC13FA59</SAP:MessageId>
<SAP:RefToMessageId>445947DD-95CD-017E-0000-0000AC13FA59</SAP:RefToMessageId>
<SAP:TimeSent>2006-05-04T15:49:06Z</SAP:TimeSent>
- <SAP:Sender>
<SAP:Service />
<SAP:Interface namespace="" />
</SAP:Sender>
- <SAP:Receiver>
<SAP:Party agency="" scheme="" />
<SAP:Service>XXX_105</SAP:Service>
<SAP:Interface namespace="http://sap.com/xi/XI/Demo/Agency">FlightSeatAvailabilityQuery_Out</SAP:Interface>
</SAP:Receiver>
<SAP:Interface namespace="http://sap.com/xi/XI/Demo/Agency">FlightSeatAvailabilityQuery_Out</SAP:Interface>
</SAP:Main>
- <SAP:ReliableMessaging xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:QualityOfService>BestEffort</SAP:QualityOfService>
</SAP:ReliableMessaging>
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
<SAP:P1>401</SAP:P1>
<SAP:P2>Unauthorized</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>
Fehlercode: ICF-LE-http-c:110-l:-T:-C:6-U:-P:-L:6
HTTP 401 - Unauthorized
Ihr SAP Internet Communication Framework Team</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Error while sending by HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
- <SAP:HopList xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
- <SAP:Hop timeStamp="2006-05-04T15:49:07Z" wasRead="false">
<SAP:Engine type="BS">XXX_105</SAP:Engine>
<SAP:Adapter namespace="http://sap.com/xi/XI/System">XI</SAP:Adapter>
Thanks,
Message was edited by: Samatha A
Moorthy,
Thanks for your prompt reply.
I have checked other posts but couldnt resolve this error.
XIAPPLUSER has SAP_XI_APPL_SERV_USER role.
Here are my receiver XI adapter settings.
Address Type: URL Address
Targethost: HOSTNAME
Service Number: 8001
Path: /sap/xi/engine?type=entry
Authentication data:
Auth Type: Use Logon data for SAP system
( it is sap system here in my case)
User Name: XIAPPLUSER
password: password
languaje: EN
Client: XXX105
Is my url and port number incorrect?
When I type the url http://xxxxx.xx:8001/sap/xi/engine?type=entry in Internet Explorer, it is giving me the following response, which basically says, request received.
- <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<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" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" 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:ApplicationFaultMessage namespace="" />
<SAP:Stack>Empty HTTP query received; message processing not possible</SAP:Stack>
</SAP:Error>
</detail>
</SOAP:Fault>
</SOAP:Body>
Appreciate any inputs.
Thanks,
HI,
Check this-
http://help.sap.com/saphelp_nw04/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
Did you check in SM59->Http Connections to R/3 Systems->Check the HTTP Destination Used in the Receiver XI Adapter->open this and check for the service no.
I think you are right on the Service No. But Path Prefix is wrong I think- just check like this for the receiver -
/sap/xi/engine/?type=receiver
Also check this for more -
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Hope this solves your problem,
Thanks
Moorthy
Moorthy,
In my Receiver Comm channel, for Address Type parameter, I didnt use 'HTTP Destination', instead it is 'URL Address' with target host: XXXXXX, Service Number:8001, Path: /sap/xi/engine?type=entry along with authentication details of XIAPPLUSER, as mentioned in 'Demo examples config guide'.
Do I have to use 'HTTP Destination' instead of 'URL Address'. All my clients are in same tech systems, where as clients differe. I am trying for proxy-to-proxy comm between two clients which are same tech system.
Thanks,
Still struglling with the same issue of 401 error.
XIAPPLUSER has the required SAP_XI_APPL_SERV_USER role.
The pipeline url in browser works fine.
This post also talks about same issue, but dont see any resolution in that thread to this problem.
Please advice.
Thanks,
Samatha
Note: To make it clean, I am openining another thread by closing this thread.
Message was edited by: Samatha A
Message was edited by: Samatha A
Hi Samatha,
You might have to pass logon credentials with your request. e.g. if you are using HTTP adapter, url would be something like:
http://<hostname>:<port>/sap/xi/adapter_plain?namespace=<namespace>&interface=<interface>&service=<service>&party=<party>&agency=
Check out the article:
Hope this helps,
Riyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.