Hi

I've used the 'SOAPHeaderElement(java.lang.String namespace, java.lang.String 
localPart, java.lang.Object value)' constructor to create a Header element, 
but I'm having a problem in that I have defined the associated namespace as an 
attribute of the SOAP Envelope element, and don't want the namespace 
declaration to be duplicated in the Header element I've added - I've tried 
various functions of the SOAPHeaderElement class to try to remove the 
namespace declaration altogether from the Header element, and initialising the 
Header with an Element created from scratch doesn't help either (as the 
namespace declaration is seemingly automatically created within this Element). 
Is there some way to create a SOAPHeaderElement without a namespace 
declaration, or otherwise remove the namespace declaration within a 
SOAPHeaderElement once it's been created, or at least register with it that 
the namespace has been declared elsewhere in the Envelope?


Thanks,
Simon Parkin

Reply via email to