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