File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Junit to call webservice" Watch "Junit to call webservice" New topic

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.

Tanu Gulati
Peter Johnson

Joined: May 14, 2008
Posts: 5852

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

JBoss In Action
I agree. Here's the link:
subject: Junit to call webservice
It's not a secret anymore!