aspose file tools*
The moose likes Web Services and the fly likes Testing a wsdl file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Testing a wsdl file " Watch "Testing a wsdl file " New topic
Author

Testing a wsdl file

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

I am having a WSDL file of some service provider say for example: http:someserver/Test/Somerservice.wsdl .

Please tell me how can i test this service ??

One way i know is by

Using wsimport of JAX-WS create stub classes for the webservice.
Using these create a simple core java client.

Is there any other way ??

Thank you for reading .


Save India From Corruption - Anna Hazare.
Kuldip Shetty
Ranch Hand

Joined: Jan 07, 2010
Posts: 41

There are many Webservice testing tools in market like SOAPUI where you can create a Soap request, invoke the webservice operation and then verify the Soap responses using the tool.

Kuldip
Hany Shafik
Ranch Hand

Joined: Jun 21, 2008
Posts: 80
You can try SOAP UI.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you .

I have downloaded trail version of soapui and tried working on it .

I have developed a simple web service ( A calculator in my case accepts two numbers and gives the result)

I have used jax ws deployed it on to sun one application server .

When tried to use soapui i got this exception :




any idea ??
Hany Shafik
Ranch Hand

Joined: Jun 21, 2008
Posts: 80
Can you please submit your JAX-WS service code.
Vinod K Singh
Ranch Hand

Joined: Sep 30, 2008
Posts: 198
Would it be possible for you to put some more details. Where do you see this exception, on client side or server side?


My Blog
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi
Thanks for the response .
This is my simple web service .



This works fine when i Generate stubs and skeltos and call methods on it .

Would it be possible for you to put some more details. Where do you see this exception, on client side or server side?


This comes after when i tried to send a soap request using soapui .

Any ideas ??
Harsh Punnoose
Greenhorn

Joined: May 08, 2011
Posts: 1
Test your wsdl file by using http://www.soapclient.com/soaptest.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Testing a wsdl file