File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Junit to call webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Junit to call webservice" Watch "Junit to call webservice" New topic
Author

Junit to call webservice

Tanu Gulati
Ranch Hand

Joined: Oct 06, 2008
Posts: 113

i have a werservice which i deployed on a url now i want to call this web service from my Junit class. can you please tell how we can call a webservice from a junit class.


thanks
Tanu Gulati
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

You would do this the same way that you do it from a standalone client.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Junit to call webservice
 
Similar Threads
Invoking Castor via Ant Task, w/in WebSphere
wrong method call in impl class
Testing Webservice
Webservice+junit+ant
Webservice and JUnit