This is a function of XML. You just have to deal with it. Your message
must include the full namespace URIs in the namespace declarations --
they are in fact defining aliases. These namespace declarations (e.g.,
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope";) permit you
to specify "soapenv" rather than
"http://schemas.xmlsoap.org/soap/envelope/"; later in the message.

There is no way to avoid it.

If these few extra bytes are a real problem for you, then you should
try using a binary protocol rather than an XML protocol. But I can't
think why this would be a real problem for you. Even a tiny device
shouldn't have an issue with the extra bytes (working on the
assumption that the device supports XML). Network bandwidth is now
vitually free.

Anne

On 6/16/05, Amihai Fuks <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've recently started to use SOAP and as I can see the XML response has
> a huge overhead. All I can see there are long tags that approximately
> make the response 100 times longer. Can I reduce tags like:
> 
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
> There must be a sort of way to alias these long tags.
> 
> Amihai
>

Reply via email to