cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Highlighted
Visitor

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?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

Hi @Rodriguez123 I found an article where I believe something similar is performed with the plugin. Please take a look as it might be used as a reference - http://olensmar.blogspot.com/2014/07/getting-started-with-new-soapui-plugin.html


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

1 REPLY 1
Highlighted
Community Manager

Hi @Rodriguez123 I found an article where I believe something similar is performed with the plugin. Please take a look as it might be used as a reference - http://olensmar.blogspot.com/2014/07/getting-started-with-new-soapui-plugin.html


Sonya Mihaljova
Community and Education Specialist

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
TechCorner Leaderboard
Want a fun and easy way to learn ReadyAPI and show off your skills? Try solving weekly TechCorner challenges and get into the Leaderboard!


Challenge Status

Get a full Raw JMS request

Participate!

Compare an expected JSON value and actual response in Events

Participate!

Fetch value/data from JSON response using Groovy Script

See replies!

Get data from Petstore and add it to Excel sheets

Participate!
Top Kudoed Authors