java - DOM with mulitple namespaces -


how go create xml in java dom looks this:

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">   <soapenv:header>     <ns2:auditheader xmlns:ns2="http://schemas.rnab.nl/giraal/auditheader/1.0">       <messageid>2014101314101012294900000</messageid>       <relatesto>pway://rnab/distributie/createcredittransferreply/01</relatesto>       <to>mq://rnab/giraal/om</to>       <action>mq://rnab/giraal/om/createcredittransfer/01</action>       <from>pway://rnab/distributie</from>     </ns2:auditheader>   </soapenv:header> </soapenv:envelope> 


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -