aspose file tools*
The moose likes Web Services and the fly likes How to create UsernameToken in Java WS client to compatble with .Net (.asmx) 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 UsernameToken in Java WS client to compatble with .Net (.asmx) web service" Watch "How to create UsernameToken in Java WS client to compatble with .Net (.asmx) web service" New topic
Author

How to create UsernameToken in Java WS client to compatble with .Net (.asmx) web service

camp jay
Greenhorn

Joined: Jun 17, 2009
Posts: 4
Hi

I need to create a web service client in JAVA to communicate with .Net web service.

I have provided C# proxy client and sample client code and this is how User Token set in C#.


SO I have generated stub using AXIS2. and my problem is how to set this User Token to security header the way which is compatible with .Net User Token?

Thanks
Champ Jay
jashu ja
Greenhorn

Joined: Nov 27, 2005
Posts: 14
UsernameToken Authentication with Rampart

http://wso2.org/library/240

Hope this helps.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create UsernameToken in Java WS client to compatble with .Net (.asmx) web service