cancel
Showing results for 
Search instead for 
Did you mean: 

** HTTP 401 Unauthorized - IDoc to IDoc scenario

jegathees_waran
Active Participant
0 Kudos

Hi Friends,

I am doing IDoc to IDoc scenario. For the sender side I am using XI adapter instead of IDoc Adapter. Because, we don't have access of third party source (SAP) system. We take the source payload from message mapping and test the same in RWB --> Component Monitoring --> Integration Server --> Adapter Engine XD1 --> Test Message Tab.

After give all the sender details, when I test the scenario, it throws the following error 'Error while sending message; invalid content type for SOAP; TEXT/HTML; HTTP 401 Unauthorized'.

What could be the problem ? Could you kindly tell me friends.

Kind Regards,

Jegathees P.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I recommend you to test your scenario from Integration Engine instead of Adapter Engine.

RWB --> Component Monitoring --> Integration Server --> Integration Engine XD1 --> Test Message Tab

HTTP 401 Unauthorized' errors are usually due to incorrect user/password. set a proper user with the correct password, such XISUPER/PISUPER.

Carlos

Answers (4)

Answers (4)

jegathees_waran
Active Participant
0 Kudos

Yes, I forgot to give the correct user name and password in Test Message tab. Now, it is working fine. Thanks friends

Former Member
0 Kudos

Hi,

Please check you user name and password. This might be the cause for the 401 unauthorized error

Regards,

Nithiyanandam

SudhirT
Active Contributor
0 Kudos

Hi,

Please check the UserID or Password again, this error comes only when your User Credentials are incorrect.

Thanks!

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

Check Pipeling entry in SLD

SLD -> Business System -> Open your XI business system and check for the pipeline entry there.

It should be http://server:httpport/sap/xi/engine?type=entry

Check also this blog for HTTP 401 Error