This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Web Services and the fly likes wsse wss4j with axis client Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "wsse wss4j with axis client" Watch "wsse wss4j with axis client" New topic
Author

wsse wss4j with axis client

Christoph Maierhofer
Greenhorn

Joined: Oct 12, 2006
Posts: 2
Hello.

I try to call a webservice with an axis client (wsdl2java).
With wss4j I add this Header:



But it does not work.
Here is a snippet of the response:


If I use another Header (see below) it works.



Can you please help me or give me a hint?
Thanks.
helen han
Greenhorn

Joined: Feb 01, 2007
Posts: 1
this may be the problem of the service side that is not recognizing the latest version of WSE. so when you used the older version(in the 2nd header you posted), it's working w/o problem.
Christoph Maierhofer
Greenhorn

Joined: Oct 12, 2006
Posts: 2
Thanks. I'll check this.

Update:
I don't know what the problem is.
As a workaround i make a SOAPHeaderElement by hand. Without wss4j.
[ February 02, 2007: Message edited by: Christoph Maierhofer ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: wsse wss4j with axis client
 
Similar Threads
Axis2 and mustUnderstand
how to implement ws-security in soap request header
WSSecurity headers programmatically
HeaderElements must be namespace qualified when create soap client
Basic authentication soap header values?