| Author |
Testing a wsdl file
|
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2229
|
|
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: 37
|
|
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: 2229
|
|
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: 2229
|
|
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
|
 |
 |
|
|
subject: Testing a wsdl file
|
|
|