Why?

As a general rule, when a document includes elements from multiple
namespaces, it's best to avoid using the default namespace. The two
documents are semantically equivalent, so why does it matter?

Anne

On 4/6/07, Jess Fisher <[EMAIL PROTECTED]> wrote:
My SOAP always includes the prefix "ns1".

<?xml version="1.0"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
  <soapenv:Header/>
  <soapenv:Body>
    <ns1:getServiceDescriptionResponse
xmlns:ns1="urn:oasis:names:tc:wsrp:v1:types">

<ns1:requiresRegistration>false</ns1:requiresRegistration>

....
....
    </ns1:getServiceDescriptionResponse>
  </soapenv:Body>
</soapenv:Envelope>

What can I do so that it does not include the prefix "ns1" ?
For example: I just want this:
<getServiceDescriptionResponse
xmlns="urn:oasis:names:tc:wsrp:v1:types">


 ________________________________
 Don't get soaked. Take a quick peek at the forecast
 with theYahoo! Search weather shortcut.



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

Reply via email to