List of usage examples for javax.xml.soap SOAPHeaderElement setPrefix
public void setPrefix(String prefix) throws DOMException;
null
if it is unspecified. From source file:org.apache.axis.message.SOAPHeader.java
public SOAPElement addChildElement(String localName, String prefix) throws SOAPException { SOAPHeaderElement child = new SOAPHeaderElement(getNamespaceURI(prefix), localName); child.setPrefix(prefix); addChildElement(child);//from w w w .ja v a 2 s . co m return child; }
From source file:org.apache.axis.message.SOAPHeader.java
public SOAPElement addChildElement(String localName, String prefix, String uri) throws SOAPException { SOAPHeaderElement child = new SOAPHeaderElement(uri, localName); child.setPrefix(prefix); child.addNamespaceDeclaration(prefix, uri); addChildElement(child);//www .j av a 2 s.c o m return child; }