cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization error while consuming web service in SOAP UI

Former Member
0 Kudos

Hi,

I am an ABAPer and do not have much knowledge about SOAMANAGER configuration.

I have created a Web service and configured it using SOAMANAGER. I am trying to consume same web service using SOAP UI.

But, I am getting an error HTTP-401 unauthorized.

For authentication, I have selected "Transport level -User ID/Password" checkbox.

What else, I have to configure, please let me know.

Error log:

Login failed

What happened?

calling the URL  <URL>.

The application was running in the system <System> . Here, no credentials were provided.

What can you do?

If you still have a user ID , contact your system administrator.

HTTP 401 - Unauthorized

Your SAP Internet Communication Framework Team

Regards,

Sneha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

The application was running in the system <System>.

Here, the system is SAP system.

So, shall I maitain credentials of SAP in SOAPUI.

Former Member
0 Kudos

hello,

>>So, shall I maitain credentials of SAP in SOAPUI.

Obviously, yes.

Provide user/password having proper roles to access ur WS (for testing purpose u can use ur own - i believe u are able to access this WS from SAP system)

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi Sneha,

Maintain SAP System credentials.

Regards,

Mastan

Message was edited by: mastan vali

Former Member
0 Kudos

Hi Sneha

We have same issue in our system. We have maintained the user id and password as per thread. Still we are getting the same error message.  Can you please tell me how did you resolve the issue ?

If possible can you send me your email id or contact number to my mail id mvs_saikrishna@yahoo.com.sg

Thanks for your help in advance

Thanks

MVS

Answers (2)

Answers (2)

vishal1889
Active Participant
0 Kudos

Hi Sneha

Just try to open the WSDL URL of your webservice in internet explorer, it will ask for credentials and on sucesful connection I will display the WSDL contents.

Same credentials you need to provide in the SOAP UI tool as well.

Also I think it will be helpful to mention that you need to maintain the credentials twice in SOAP UI tool:

1) When you try to load the WSDL from the URL.

2) In the properties tab as well.

Former Member
0 Kudos

Hello,

Did u entered valid user/password under authentication tab in SOAP UI (and make sure u select Http endpoint URL in soap UI instead of https)?

Thanks

Amit Srivastava

Former Member
0 Kudos

Hi Sneha,

In SOAP UI, after importing WSDL, dig it till Request1, select it and go to Request property.

Set Below things

1. Authentication Type = Preemptive

2. give username

3 give password

and send message.

Regards,

Mastan


Message was edited by: mastan vali