Xml namespace in soap:envelope

R

Rich

I am trying to reduce the amount of data sent over some of web
services, as the data is going over GPRS. Of course, reducing the
length of the parameter names, and header elements will help. Also, I
have considered compressing the actual data going in these values.

However, there is one thing still bugging me... the <soap:Envelope>
tag. Its massive! e.g.

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

Does anyone know if the namespace information is required here? If
not, how do I stop .NET putting it in all the soap requests and
responses?

Thanks in advance.
 
D

Dilip Krishnan

Hello Rich,
Unfortunately no... soap is verbose by nature. And namespaces are required
to distinguish similar names from each other. Your best bet is the compression

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,828
Latest member
LauraCastr

Latest Threads

Top