cancel
Showing results for 
Search instead for 
Did you mean: 

401 Unauthorized when I consume WSDL (SOAP)?

johnwei
Explorer
0 Kudos

Hiexperts:

     When I used soapUI(5.2.1) consume WSDL, the interface of PI  return 401 unauthorized like this:

,

     But when I used soapUI(4.5.0) and the same user & password, the interface did his job very well !

    

     So what happened and why?

    

     Please help me !

     Sincerely Wei !

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

Hello Wei,

Did you maintain the password/username in 5.2.1 as well?

Version should not be a stop back.

johnwei
Explorer
0 Kudos

Hi,Raghuraman.

    

     I don't think I need matintain the password/username in 5.2.1

    

     5.2.1  & 4.5.0

bhavesh_kantilal
Active Contributor
0 Kudos

to add the authorization in the latest versions of soap UI, click on add authorisation in the pane below your payload , select basic and provide user and password.

this fails because you haven't provided the user password..

former_member186851
Active Contributor
0 Kudos

Hello Wei,

You need provide basic authentication as Bhavesh suggested.

Can you add and then see if it works.

Answers (2)

Answers (2)

johnwei
Explorer
0 Kudos

Hi,all !

    

     The problem is solved !!!

     Thanks very much for Bhavesh and Raghuraman !!!

former_member186851
Active Contributor
0 Kudos

Glad to hear Wei.:)

can you post the solution so that it will be helpful to other community members.

johnwei
Explorer
0 Kudos

of course !

    

I added the authorization type for soapUI(5.2.1) as Bhavesh said,so it works fine.

Thanks again !

former_member190293
Active Contributor
0 Kudos

Hi Wei!

Do you use the same authorization type in both versions?

Regards, Evgeniy.

johnwei
Explorer
0 Kudos

Hi,Evgeniy.

    

     Yes,I think they have the same authorization type.

     &