cancel
Showing results for 
Search instead for 
Did you mean: 

Response from PI for wrong username and password

Former Member
0 Kudos

Hi,

I would like to know what is the response returned to third party system when they are trying to call SAP PI webservice with wrong username and password.

Regards

Suma S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I have tested in SOAP UI tool with wrong username and password.

But this is returning html data

ex....

<html><head><title>Logon Error Message</title>.......

.

..

.

.

</p></td></tr></table></body></html>

But I am expecting SOAP envelope....

Thanks

Suma

robertot4s
Active Participant
0 Kudos

Hi,

You are receiving an html equivalent to this:

Try to put the URL of the web service in the explorer and you will receive something like this.

You will not receive a SOAP envelope in this case.

Regards,

Roberto

Former Member
0 Kudos

Thanks Roberto.

So I will not receive SOAP envelope? why is it so?

Is this standard SAP functionality.

Thanks

Suma

robertot4s
Active Participant
0 Kudos

Hi Suma,

To receive a response with a SOAP envelope, the application first have to login into the SAP PI system. In this case, the login is not successful, so you receive the standard error for authentication failure (in html).

Regards,

Roberto

Answers (3)

Answers (3)

Former Member
0 Kudos

I have tested in SOAP UI tool with wrong username and password.

But this is returning html data

ex....

<html><head><title>Logon Error Message</title>.......

.

..

.

.

</p></td></tr></table></body></html>

But I am expecting SOAP envelope....

Please let me know what I am missing here.

Thanks

Suma

former_member303666
Active Participant
0 Kudos

Hi,

If WEB Server system password is expired. Then we will get the Http 401 Error.

http://scn.sap.com/thread/1863491

http://www.checkupdown.com/status/E401.html

Regards,

Kesava

robertot4s
Active Participant
0 Kudos

Hi Suma,

The response is a standard HTTP error "401 Unauthorized".

Regards,

Roberto

Former Member
0 Kudos

Hi Suma,

As Roberto said you will receive standard HTTP error "401 Unauthorized".

If you want to check it practically ;push the message using soap ui with wrong credentials to connect SAP PI.

Regards

Venkat