aspose file tools*
The moose likes Web Services and the fly likes Axis2 and mustUnderstand 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 "Axis2 and mustUnderstand" Watch "Axis2 and mustUnderstand" New topic
Author

Axis2 and mustUnderstand

Taariq San
Ranch Hand

Joined: Nov 20, 2007
Posts: 192
Hi


I have a secured web service in oc4j app server, an oracle generated web service.

I have a client using rampart and axis2 to connect and rend a request.

The request is authenticated successfully and processed, the response I successful but I get this axis fault...


In tcpmon I see this outbound header...


and this return header...


Any ideas?

[ September 29, 2008: Message edited by: Taariq San ]

Editing this post because it has nothing to do with Oracle, as far as I can tell its Axis validating the security bit in the header on its way back in, because it says mustUnderstand="1".

Why does it say that in the response, maybe it has to do with Oracle afterall.
If I set a breakpoint and force mustUnderstand to be "0" then it works, if I understood why it did that I'd consider changing the code for our use.

[ September 29, 2008: Message edited by: Taariq San ]

Final edit, Axis 1.3 and Rampart 1.3 worked.
[ September 30, 2008: Message edited by: Taariq San ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis2 and mustUnderstand
 
Similar Threads
Axis Fault
WSSecurity headers programmatically
HeaderElements must be namespace qualified when create soap client
Basic authentication soap header values?
how to implement ws-security in soap request header