How to set mustUnderstand attribute in Security element of the SOAP header?

Gina Choi gchoi at sdl.com
Mon Mar 26 20:38:50 BST 2012


I was able to set mustUnderstand attribute using following code.

		boolean mustUnderstand = true;
		SOAPHelper.addSOAP11MustUnderstandAttribute(security,
mustUnderstand);
Thanks.

Gina

-----Original Message-----
From: Gina Choi 
Sent: Monday, March 26, 2012 12:08 PM
To: dev at shibboleth.net; 'putmanb at georgetown.edu'
Subject: How to set mustUnderstand attribute in Security element of the SOAP
header?

Hi,

I try to set mustUnderstand attribute in Security element of the soap header.
Somehow, I couldn't find related API from open-ws library. Perhaps, this
attribute is set in different way?


<S11:Envelope>
	<S11:Header>
	<wsse:Security S11:actor="..." S11:mustUnderstand="...">
	</wsse:Security>
	</S11:Header>
</S11:Envelope>

Thanks.

Gina


More information about the dev mailing list