Forum Discussion
kumartin
15 years agoNew Contributor
I have tried the both the suggestions from topic http://www.eviware.com/forum/viewtopic.php?t=4562. Both do not seem to work in version 4.0.1, it this something that is only avaliable in the Pro Version or should it work? Below is the snippet of code I'm using:
Any ideas would be greatly appreciated. Thanks
Re: Update wsdl definition via API (Basic Authentication)
by SmartBear Support » 29 Sep 2010 01:45
Hello,
You should be able to use the [protocol]://[user]:[pass]@[path] format, which version of soapUI are you using? Could you try updating to the latest nightly build?
You can also use the System Properties "soapui.loader.username" and "soapui.loader.password" to programatically provide the credentials.
Regards,
Dain
eviware.comSmartBear Support
Administrator
Posts: 5161
Joined: 16 Feb 2009 01:53
System.setProperty("soapui.loader.username","admin");
System.setProperty("soapui.loader.password","aexxxx");
WsdlInterface[] ifaceArray = WsdlInterfaceFactory.importWsdl(project, wsdl.toString(), true);Any ideas would be greatly appreciated. Thanks
Re: Update wsdl definition via API (Basic Authentication)
by SmartBear Support » 29 Sep 2010 01:45
Hello,
You should be able to use the [protocol]://[user]:[pass]@[path] format, which version of soapUI are you using? Could you try updating to the latest nightly build?
You can also use the System Properties "soapui.loader.username" and "soapui.loader.password" to programatically provide the credentials.
Regards,
Dain
eviware.comSmartBear Support
Administrator
Posts: 5161
Joined: 16 Feb 2009 01:53