aspose file tools*
The moose likes Web Services and the fly likes Generate request and response xml files from WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Generate request and response xml files from WSDL" Watch "Generate request and response xml files from WSDL" New topic
Author

Generate request and response xml files from WSDL

shanthi naidu
Ranch Hand

Joined: Nov 13, 2008
Posts: 39
Hi All,

We got a requirement in our project. We are accessing webservices from remote system which is not available all the time because of
network issues which leads to delay in testing and fixing the issues. So to resolve this issue we need a tool / api which
can take the WSDL file and generate the sample / defualt request and response XML files.

Please let me know if there is any tool or API available to do so.

Thanks & Regards,
Shanthi
Maurice Serier
Greenhorn

Joined: Jan 26, 2009
Posts: 2

You can use SoapUI.
You can generate a mocking service from a wsdl with it.
shanthi naidu
Ranch Hand

Joined: Nov 13, 2008
Posts: 39
Thank you for the response,

Even SoupUI works only when network is up if it is down we cant get the response.
Whenever the network is down we should get the default response for the request we pass to the server.

If we create any dummy response even that doesn't work if the request is updated.
So we need some workaround to get the dynamic default response for the request whenever the network is down.


Thanks & Regards,
Shanthi
Azahrudhin Mohammad
Greenhorn

Joined: Sep 04, 2012
Posts: 18

Hi Shanti,
You can create a dummy provider with basic intended response host in your local server and work.
Try to go through http://java.dzone.com/news/5-techniques-create-web-servic , may be useful.

Thanks and Regards
Azahrudhin


Thanks and Regards,
azahrudhin.mohd@gmail.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generate request and response xml files from WSDL