cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP response contains status code 401

Former Member
0 Kudos

Hi,

I have configured Demo Examples in our PI system. While testing Check Flight Availability from client 105, I am getting below error:

Unable to check flight availability.

Error Type: XI system error

Error Details: HTTP response contains status code 401 with the description Unauthorized

Can anyone please guide me where to look for this error and resolve the cause.

Thanks & Regards,

Manish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

- <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>

</SOAP:Envelope>

Above is the message I am getting while checking through link:

http://ndainfaeas03:8061/sap/xi/engine?type=entry

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi,

That is correct.

below one is my system check. so yours url is correct.

<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>

</SOAP:Envelope>

Edited by: Ramakrishna Gunti on Aug 8, 2008 11:18 AM

Answers (22)

Answers (22)

Former Member
0 Kudos

Hi Gunti,

Have you checked the screenshots? Any update on that.

Request you to kindly reply.

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi,

Did u check http://ndainfaeas03:8061/sap/xi/engine?type=entry

using PISUPER (user & password).

Still problem persists send your mobile number to my id.

Regards,

Gunti

Former Member
0 Kudos

One more question. I have checked and found that in Exchange Profile mostly HTTP port are 5XX00.

Do I need to change all these port to 80XX or leave it them as it is.

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi Gunti,

I have sent screenshot to your mail. Kindly check it and let me know what else is missing.

Thanks & Regards

Manish

Former Member
0 Kudos

Hi,

Does anyone else have configured Demo Examples (Check Flight Seat Availability Config Proxy to Proxy) in PI system.

I need help as unable to resolve this issue.

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi,

Send your whole configuration screen shots to my id.

I vl check it once.

Regards,

Gunti

Former Member
0 Kudos

Hi Manish,

I am getting same error when trying to communicate from ECC to PI server using proxies scenarios trigger through an abap program.

Your query was marked as answered, but what was the problem? Can you please help me out?

thanks

Former Member
0 Kudos

One more point I like to mention that in SXMB_ADM---Integration Engine Configuration

If I check configuration by check button then for client 105 and 106 its not successful with below status:

Role of Business System: Application System

Client 100 is Integration Server

Corresponding Integration Server: http://<host>:8061/sap/xi/engine?type=entry

System Landscape:

Role of Business System: Application System

http://<host>:56100/sap/xi/engine?type=entry

Comparison of Current Configuration with System Landscape

Role of Business System: Current Configuration = System Landscape

Caution Corresponding Integration Server: Current Configuration <> System Landscape

While checking in 107 client I am getting successful check as below:

Current Configuration (local):

Role of Business System: Application System

Client 100 is Integration Server

Corresponding Integration Server: http://<host>:8061/sap/xi/engine?type=entry

System Landscape:

Role of Business System: Application System

http://<host>:8061/sap/xi/engine?type=entry

Comparison of Current Configuration with System Landscape

Role of Business System: Current Configuration = System Landscape

Corresponding Integration Server: Current Configuration = System Landscape

How come in client 105 and 106 its taking 56100 port while in 107 its taking 8061 port. As in specific configuration I have provided 8061 port for all the clients. Is there any other place where need to check and change the port entry from 56100 to 8061.

Is this can be reason of getting HTTP 401 error?

Thanks & Regards,

Manish

Edited by: Manish Pratap Singh on Aug 7, 2008 1:43 PM

Edited by: Manish Pratap Singh on Aug 7, 2008 1:44 PM

Edited by: Manish Pratap Singh on Aug 7, 2008 1:45 PM

Former Member
0 Kudos

Hi Gunti,

Thanks for your document. I have checked and found that I have done same config as mentioned in your doc and still facing this error.

Any more ideas, where I need to check.

Request all other XI Consultants also to kindly provide me guidance to resolve this.

Thanks & Regards

Manish

Former Member
0 Kudos

Hi Gunti,

I have done that also, but still of no use. Still facing issue.

Do you have screenshot of whole configuration of demo example. If yes then can you provide me so that I will compare from the scratch. What and where I am missing?

I will be very grateful to you.

Thanks & Regards

Manish

Former Member
0 Kudos

Hi,

I have sent complete scenario attachment doc to your mail.

Regards,

Gunti

Former Member
0 Kudos

Hi Gunti,

I have also same config for communication channels, but still facing issue.

Any idea what now need to be done to resolve this.

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi ,

Do one thing, creat new user coping from PISUPER and set the pass workd xipass.

assign the below roles to that user and use created user in the all configuration.

SAP_ALM_ADMINISTRATOR

SAP_ALM_CUSTOMIZER

SAP_BC_AI_LANDSCAPE_DB_RFC

SAP_SLD_ADMINISTRATOR

SAP_SLD_CONFIGURATOR

SAP_SLD_DEVELOPER

SAP_SLD_GUEST

SAP_SLD_ORGANIZER

SAP_XI_ADMINISTRATOR

SAP_XI_ADMINISTRATOR_ABAP

SAP_XI_ADMINISTRATOR_J2EE

SAP_XI_BPE_ADMINISTRATOR_ABAP

SAP_XI_BPE_CONFIGURATOR_ABAP

SAP_XI_BPE_MONITOR_ABAP

SAP_XI_CONFIGURATOR

SAP_XI_CONFIGURATOR_ABAP

SAP_XI_CONFIGURATOR_J2EE

SAP_XI_CONTENT_ORGANIZER

SAP_XI_CONTENT_ORGANIZER_ABAP

SAP_XI_CONTENT_ORGANIZER_J2EE

SAP_XI_DEMOAPP

SAP_XI_DEVELOPER

SAP_XI_DEVELOPER_ABAP

SAP_XI_DEVELOPER_J2EE

SAP_XI_MONITOR

SAP_XI_MONITOR_ABAP

SAP_XI_MONITOR_J2EE

Regards,

Gunti

Former Member
0 Kudos

Hi Gunti,

I have tested connection from 105 client.

For 106 & 107 client I am getting below message:

Status HTTP Response 500

Status Text Empty HTTP request received

Duration Test Call 2307 ms

For RFC INTEGRATION_DIRECTORY_HMI which is for 001 client I am getting below message:

Status HTTP Response 500

Status Text Internal Server Error

Duration Test Call 1422 ms

For self RFC XITOAGENCY, I am getting below message:

Status HTTP Response 500

Status Text Empty HTTP request received

Duration Test Call 1362 ms

Userid PIAPPLUSER is not locked.

One question in Integration Directory, GeneratedRecieverChannel_XI what Addressing Type you have taken? Is it URL Address or HTTP Address?

Thanks & Regards,

Manish

Former Member
0 Kudos

I have taken URL address type.

I think you can see in screen shot which i sent to your mail .

Regards,

Gunti

Former Member
0 Kudos

Hi Manish Pratap Singh ,

Check the user ZPIAPPLUSER may locked

unlock this user and do execute ur scenario.

thanks

boopalanm

Former Member
0 Kudos

Hi Gunti,

I have maintained proper entries in SXMB_ADM. Corresponding Integration Server entry is http://<host>:8061/sap/xi/engine?type=entry

105,106,107 client have role of application system while 100 is having role of integration system.

What else needs to be checked.

Thanks & Regards,

Manish

Former Member
0 Kudos

You have to check RFC destination that is "Connection Test" in the client 105.

That should give below response.

Status HTTP Response 500

Status Text Internal Server Error

Duration Test Call 191 ms (It may be different, depend on server configuration)

Regards,

Gunti

Former Member
0 Kudos

Hi Gunti,

I have used PISUPER and again tested Check Flight Availability but still getting same HTTP 401 error.

Do I need something else (like restart anything) to correct this?

Can you send me Communication Reciever Channel screenshot for 105,106,107 clients so that I can cross check those also.

Thanks & Regards,

Manish

Former Member
0 Kudos

Did u check the connection test in the RFC destination?

Is it working fine?

Did u maintain Integration Engine Configuration in SXMB_ADM.

Please check your connections first and maintaing proper Intgration engine configuration data in the SXMB_ADM corresponding to "Corresponding integ. Server" .

I have mailed Reveiver screen shot to your mail ID.

Regards,

Gunti

Edited by: Ramakrishna Gunti on Aug 7, 2008 9:30 AM

Former Member
0 Kudos

Hi Gunti,

When I am creating HTTP RFC (AGENCYTO106) and providing path prefix as /sap/xi/engine?type=entry, I am getting below error:

Query string not allowed

Any idea why its not taking this?

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi Gunti,

Thanks I got your mail.

One question, the user you have mentioned PITEST. Can I use PISUPER user instead of PITEST or I need to create user PITEST. Also what Roles I have to provide this user if need to create it.

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi,

You can use PISUPER, but that should have SAP_ALL role.

Otherwise create user as pitest from the PISUPER (go to SU01 and copy the user PISUPER).

Regards,

Gunti

Former Member
0 Kudos

Hi Gunti,

Kindly let me know after you send me screenshots.

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi ,

I have sent already to your id.

Regards,

Gunti

Former Member
0 Kudos

Thanks a log Gunti for helping me with this.

gmail id is manish.p.singh

Thanks & Regards,

Manish

**********

Please read the Forum's Rules of Engagement,

i.e.,

[/thread/117188 [original link is broken];

and refrain from using email correspondence as the main objective of the Forums is to share knowledge.

SDN PI/XI Forum Moderator

Former Member
0 Kudos

Hi Gunti,

I have followed steps for Generate Flight/AGency Data for each client and I have completed this step.

Regarding HTTP RFC you have said to create RFC from 105 to different clients and from different clients to 105, can you please be more specific and if you have created these RFC in your system then can you send me screenshot of those RFC.

As HTTP RFC needs path prefix and for these RFC which need to be created for different clients what path prefix is required and which userid need to mention in logon tab.

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi,

Provide your email id, then i vl send all the screen shots,

Regards,

Gunti

**********

Please read the Forum's Rules of Engagement,

i.e.,

[/thread/117188 [original link is broken];

and refrain from using email correspondence as the main objective of the Forums is to share knowledge.

SDN PI/XI Forum Moderator

Former Member
0 Kudos

Hi Gunti,

Thanks for your reply and help.

I have generated Flight Data as mentioned in Demo Configuration Guide. How to generate Agency Data (105 Client)?

Secondly there is only one HTTP RFC

INTEGRATION_DIRECTORY_HMI

In Logon/Security tab of this RFC, Client is 100 and userid and pwd is accordingly for 100 client. Do we need to create new RFC for configuring Demo Examples?

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi,

INTEGRATION_DIRECTORY_HMI is to connect 100 client from 105 client. In the similar way you have to create RFC from 100 to 105.

You have to configure RFC (HTTP Connections to ABAP system) from 105 to 106 and 107 and vise versa you have to create.

For generating Agency data --> Go to Tcode SXIDEMO3 in client 105 and select the option "No" for the question "Is this airline system?" and click on execute.

<removed by moderator>

Regards,

Gunti

Edited by: Mike Pokraka on Aug 8, 2008 10:05 AM

Former Member
0 Kudos

Hi,

As I have mentioned earlier in my post that I am configuring Demo Examples and in Demo Examples communication happens between clients of XI system. So I believe there is no Role of R/3 system at present here.

Please correct me if I am wrong. I am getting 401 error only while Executing and Testing for Check Flight Availability by launching Execute Demo Examples (From Client 105) as mentioned in Demo Example configuration Guide.

Thanks & Regards,

Manish

Former Member
0 Kudos

Hi Manish,

First you have generate the Agency data in Agency client and alos you have to generate the flight date in respective flight systems.

You have to check you RFC connection (HTTP connections to ABAP system) in 105 client.Check the Logon & Security tab wheather you have provided correct logon details to the respective system.

And also check the Connection Test.

I have worked on this Demo examples earlier, its working fine for me.

If you need any information just let me know.

Regards,

Gunti

Former Member
0 Kudos

Can anyone help me in this as I am not getting root cause of the error and need to configure Demo Examples urgently.

Thanks,

Manish

Former Member
0 Kudos

H,

Check your RFC destination, because if you are trying to communicate with the R/3 system it should be remote enabled between R/3 and XI.

So goto tcode sm59, in both your r/3 system and XI system and check whether you have created the RFC destination for XI pointing to R/3 and viceversa and you shd check the test configuration and remote logon which shd automatically login with you providing the usr id and password inthe remote login system.

Regards,

Nithiyanandam

Former Member
0 Kudos

Hi Swarup,

Which RFC you are talking about in XI System itself?

HTTP RFC, ABAP RFC or TCP/IP RFC

Thanks & Regards,

Manish

Former Member
0 Kudos

HI,

You don't have sufficient authorizations to communicate with client 105... check the RFC destination ID that I had setup.

Thanks

Swarup