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

junit and web services

Kumar Gaurav
Ranch Hand

Joined: Apr 08, 2008
Posts: 108
Hi All,

I am developing a web service. I am wondering if i want to write Junit test cases for my service then whether i need to generate client and test web service methods or i can directly test web service methods by using instannce of impl class.

which one is right approach.

Regards,
Gaurav


Regards,
Gaurav
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1558
Kumar Gaurav wrote:

which one is right approach.



What do you want to test?


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Kumar Gaurav
Ranch Hand

Joined: Apr 08, 2008
Posts: 108
i want to test web service method.
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1558
Kumar Gaurav wrote:i want to test web service method.


Then you need not test using client. If you want to test webservice-call, generate client and then do JUnit.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: junit and web services