Author
Testing a wsdl file
Ravi Kiran V
Ranch Hand
Joined: Apr 18, 2009
Messages: 1200
posted Feb 08, 2010 22:11:30
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 .
I tried to change the world, but I couldn’t find the source code
Kuldip Shetty
Greenhorn
Joined: Jan 07, 2010
Messages: 21
posted Feb 08, 2010 23:59:59
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
Messages: 36
posted Feb 09, 2010 00:01:28
You can try SOAP UI.
Ravi Kiran V
Ranch Hand
Joined: Apr 18, 2009
Messages: 1200
posted Feb 09, 2010 07:23:30
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 ??
I tried to change the world, but I couldn’t find the source code
Hany Shafik
Ranch Hand
Joined: Jun 21, 2008
Messages: 36
posted Feb 09, 2010 07:32:52
Can you please submit your JAX-WS service code.
Vinod K Singh
Ranch Hand
Joined: Sep 30, 2008
Messages: 196
posted Feb 09, 2010 08:34:10
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 V
Ranch Hand
Joined: Apr 18, 2009
Messages: 1200
posted Feb 09, 2010 09:09:36
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 ??
I tried to change the world, but I couldn’t find the source code