cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Soap receiver channel

0 Kudos

Hello Everyone,

My interface in SOAP to SOAP (Sync)

Channel: HTTP ; SOAP 1.1

Error in SOAP receiver channel.

Has anyone faced the same problem anytime. Request your valuable guidance in the same.

error message in ECC sxi_monitor:

<?xml version="1.0" encoding="UTF-8" standalone="true"?>


<!-- Inbound Message -->


-<SAP:Error xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">


<SAP:Category>XIAdapterFramework</SAP:Category>


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


<SAP:P1/>


<SAP:P2/>


<SAP:P3/>


<SAP:P4/>


<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.sdk.xi.net.exception.HttpException: User is not authorized! HTTP 401 Unauthorized</SAP:AdditionalText>


<SAP:Stack/>


<SAP:Retry>M</SAP:Retry>


</SAP:Error>

Thanks in advance,

Nero.

Accepted Solutions (1)

Accepted Solutions (1)

dilipkkp2412
Contributor
0 Kudos

Hi Nero,

Message log clearly says about "User is not authorized".

Your request is reaching till receiver-soap-service server, but rejected due to "authorization issue".

Check if you have given proper user/password in receiver soap-channel.

And before going to SAP-PI config test, suggesting you to always check your destination-soap-service working status with correct url/credentials/reuquest-messag using some standard tool like "Soap UI Tool" or "Postman"

Regards,

Dilip

0 Kudos

Hi Dilip,

We can open the URL with user/password in receiver soap-channel.

Request message successfully send but get error in response message.

From your comment, we need to check user 'J2EE_GUST' 's authorization, right?

But I don't know how to check it..

Could you have any suggestions for this please?

Thanks for you reply,

Nero.

dilipkkp2412
Contributor
0 Kudos

Hi Nero,

  • I am not talking about 'J2EE_GUEST', my doubt is on the external-web-service which you are using in receiver channel.
  • My suggestion is to check external-web-service working status using some standard tool like "Soap UI Tool" or "Postman".
  • This will avoid SAP-PI config issue against external-web-service working status.
  • Its also true, that, your request is reaching to external-web-service server via your receiver channel, but request gets rejected due to insufficient authorization.

Regards,

Dilip.

0 Kudos

Hi Dilip,

Thanks for you response.

I tried to copy the URL with proper user/password in receiver soap-channel.

Http Action: GET

Click send, response as below:

You do not have permission to view this directory or page.

Thanks.

dilipkkp2412
Contributor

Hi Nero,

  • You have to discuss this permission issue with your external-web-service provider/team.
  • I don't get a reason to doubt your SAP-PI's soap-to-soap configuration.
  • if its HTTP GET, just give a try from internet browser pasting service url in address bar -> provide correct user/pass -> and you should get same permission error. Here no input/request required.
  • In GoogleChrome, you can use add-on named as 'Postman', which can be used to test any web-service.
  • Or have you checked working status of given "external-web-service" via some other tool before consuming it in SAP-PI's Soap-Receiver-Channel ? you should have.

Regards,

Dilip.

0 Kudos

Hi Dilip,

I will check again,

There is an authentication issue between PI and WebService.

Thank you very much!

Answers (0)