Skip to main content

Web Service unit testing

2 replies [Last post]
parasuraman
Offline
Joined: 2008-11-07

Hi All,

I have developed an java based Web service and deployed in JBoss. I want to develop an Junit test case for the web service. JUnit test case development of web service can be done in two ways, they are
1. Consuming the Web service (using WSDL link) generating stub and writing the junit test case.
2. Creating test folder in the source and developing an junit test case.

Here, i want to know, which is most used method to develop an junit test case for WS?

Regards,
Parasuraman

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
hhsiao
Offline
Joined: 2009-07-23

I have downloaded the trial Parasoft's SOAtest to do unit testing for web services. Their stubbing functionality is quite convenient and pretty much automates everything.

http://www.parasoft.com/jsp/solutions/soa_solution.jsp?itemId=101

alexandrem
Offline
Joined: 2005-10-19

Hi Parasuraman,

The best place to get an answer to that would be:
JBoss WS Forums @ http://www.jboss.org/index.html?module=bb&op=viewforum&f=200
JBoss WS Wiki @ http://jbossws.jboss.org/mediawiki/index.php?title=JBossWS

Regards,
Alexandre Mendonca