aspose file tools*
The moose likes Web Services and the fly likes How to set security mode in a Java client code 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 set security mode in a Java client code" Watch "How to set security mode in a Java client code" New topic
Author

How to set security mode in a Java client code

kavitha ananya
Greenhorn

Joined: May 07, 2008
Posts: 4
Hi..

Can anybody please help me on this..

I am trying to send a signed soapxml to microsoft.net client..

But i am always getting message saying

a:InvalidSecurity</s:Value></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en-US">An error occurred when verifying security for the message.</s:Text></s:Reason></s:Fault></s:Body></s:Envelope>

When verified with the team, saw that, they are getting the following in their message track


They want us to inform what security mode we are setting in the java client code.

My question is --> how do we set the security mode in our java client code whihc is using wss4j?


Please help me

Thanks

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set security mode in a Java client code