cancel
Showing results for 
Search instead for 
Did you mean: 

Create SOAP project based on WSDL with basic authentication

chrischris2005
Occasional Visitor

Create SOAP project based on WSDL with basic authentication

Hi there,

 

How do I create a SOAP project based on a WSDL url with must be authenticated with basic authentication?

 

I tried to do this using the instructions here: https://www.soapui.org/soap-and-wsdl/working-with-wsdls.html

 

I get a popup that asks for basic authentication credentials but entering the correct username/password does not work. The popup keeps on coming. 

 

The SOAPUI Log logs the following event each time I enter the credential: <servername>:80 requires authentication with the realm 'null'

 

Any idea how to do this?

 

Thanx in advance.

 

Regards,

Chris

3 REPLIES 3
JHunt
Community Hero

Re: Create SOAP project based on WSDL with basic authentication

I haven't come across a WSDL definition URL requiring Basic Authentication before, and I don't think it's supported in SoapUI. But as a workaround, can you use your web browser to download the WSDL, save it, and then create the project from the saved WSDL file?

borakinu
New Contributor

Re: Create SOAP project based on WSDL with basic authentication

I am facing the same issue, did you find any solution ?


I found a solution, 
you should put the credentials between the http and the endpoint as shown in the example  : 

https://username:yourpasswd@endpointUrl?wsdl

borakinu
New Contributor

Re: Create SOAP project based on WSDL with basic authentication

I found a solution :

 

you should add the credentials as shown in this example

https://username:yourpasswd@endpoint?wsdl

New Here?
Join us and watch the welcome video:
Top Kudoed Authors