Soap UI java API to load wadl from a file ??
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2013
02:24 AM
09-12-2013
02:24 AM
Soap UI java API to load wadl from a file ??
Hi,
I am trying to build a java tool for rest services testing which internally uses SoapUI Java API.
The testcases are authored through SoapUI and then the testcase and WADL are exported into corresponding files.
The tool creates a SoapUI project dynamically using soapUI api and loads the WADL and testcase and then executes the same.
I am unable to figure the API that i need to use for importing the WADL from a file.
-regards
Pushpendra
I am trying to build a java tool for rest services testing which internally uses SoapUI Java API.
The testcases are authored through SoapUI and then the testcase and WADL are exported into corresponding files.
The tool creates a SoapUI project dynamically using soapUI api and loads the WADL and testcase and then executes the same.
I am unable to figure the API that i need to use for importing the WADL from a file.
-regards
Pushpendra
4 REPLIES 4
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2013
02:54 AM
09-12-2013
02:54 AM
Hi,
Take a look at the WadlImporter class (http://www.soapui.org/apidocs/com/eviwa ... orter.html).
Basic usage would be something like this:
I hope that helps,
Anders
SmartBear Sweden
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Take a look at the WadlImporter class (http://www.soapui.org/apidocs/com/eviwa ... orter.html).
Basic usage would be something like this:
WsdlProject project = new WsdlProject();
RestService service = ( RestService )project.addNewInterface( "REST Service", RestServiceFactory.REST_TYPE );
WadlImporter importer = new WadlImporter( service );
importer.initFromWadl( "URL to your WADL" );
I hope that helps,
Anders
SmartBear Sweden
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2016
07:23 AM
08-24-2016
07:23 AM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2016
07:24 AM
08-24-2016
07:24 AM
can you please provide more details , how i can call rest services from java api.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2016
10:27 AM
08-24-2016
10:27 AM
This can be done from the Product Ready API UI,
https://www.soapui.org/rest-testing/getting-started.html
Is there a reason to do with JAVA API? This forum is mainly for Ready API product users.
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
