Xml namespace in soap:envelope

Discussion in 'ASP .Net Web Services' started by Rich, Jan 5, 2005.

  1. Rich

    Rich Guest

    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.
     
    Rich, Jan 5, 2005
    #1
    1. Advertising

  2. 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

    > 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.
    >
     
    Dilip Krishnan, Jan 5, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike
    Replies:
    0
    Views:
    538
  2. cxc
    Replies:
    0
    Views:
    6,466
  3. Replies:
    0
    Views:
    474
  4. GenxLogic
    Replies:
    3
    Views:
    1,327
    andrewmcdonagh
    Dec 6, 2006
  5. droesler
    Replies:
    2
    Views:
    534
    droesler
    Aug 31, 2010
Loading...

Share This Page