Forum Discussion

Rodriguez123's avatar
4 years ago
Solved

How to apply credentials with com.smartbear.soapui java plugin

Hello!

I try to use this plugin in Java

<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui</artifactId>
<version>5.1.1</version>

I write such code:

 

String wsURL = "some_url";
WsdlProject project = new WsdlProject();
WsdlInterface[] wsdls = WsdlImporter.importWsdl(project, wsURL); 

 

And I get "failed to load URL" error because I can not apply username and password to wsdl service. How can I apply them?