aspose file tools*
The moose likes Web Services and the fly likes How to create a simple test class to test a secured web service. 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 » Java » Web Services
Bookmark "How to create a simple test class to test a secured web service." Watch "How to create a simple test class to test a secured web service." New topic
Author

How to create a simple test class to test a secured web service.

forums UseR
Ranch Hand

Joined: Feb 24, 2009
Posts: 169
I have implemented security for my simple web service by using Basic (username/password) mechanism.

Generated client proxy, from the web service and configured username/password on the server.

How to create a test class to test the Webservice ?

Can anybody give me sample code/tutorial links.

I need to add "wsse:Security header" in the input SOAP message.

Thanks

Srinivas
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1164
Understanding WS-Security seems to be good.

Regards,
Dan

William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
forums UseR
Ranch Hand

Joined: Feb 24, 2009
Posts: 169
Can anybody let me know how to create a very simple test case to consume a web service in Java/JavaScript ?

Thanks!
 
wood burning stoves
 
subject: How to create a simple test class to test a secured web service.
 
Similar Threads
consuming "secured" web service
Basic Authentication on a Web Service [WebSphere 7 for developer]
web service that takes a JAXB class
spring mvc authentication
Unable to create Axis 2 WEb services in Eclipse using Tomcat