• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Testing a wsdl file

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Kuldip Shetty
Ranch Hand
Posts: 43
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try SOAP UI.
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please submit your JAX-WS service code.
 
Vinod K Singh
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would it be possible for you to put some more details. Where do you see this exception, on client side or server side?
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Test your wsdl file by using http://www.soapclient.com/soaptest.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic