File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 1174
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create a simple test class to test a secured web service.