kevin glenny wrote:
Hi all,

I am trying to remove a OMElement from the SOAPBody in my Handler and have been unable to find any methods or approaches to do this.

try,

OMElement child = soapBody.getFirstChildWithQName(new 
QName("ChildToBeRemoved"));
child.detach();

Cheers,
Sanka


I would be grateful if anybody could tell me the recommended way or ideas to achieve this.

Many thanks,

Kevin


--
Sanka Samaranayake
WSO2 Inc.

http://www.bloglines.com/blog/sanka
http://www.wso2.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to