How to get rid of the default namespace .NET adds to SOAP message ?

Discussion in 'ASP .Net Web Services' started by kaush, Oct 12, 2005.

  1. kaush

    kaush Guest

    Hi all,


    I am trying to send a SOAP message to a server using WSE. I am
    constructing the message using "SOAPENVELOPE" class and sending the
    message using the "SOAPCLIENT" class (I am using the
    "SendRequestResponse" method of the class).
    After constructing the message, .NET adds some extra
    information(some namespaces, elements) in the "Header" and "Envelope"
    section of the SOAP message.
    One of the namespaces which it adds is
    "xmlns:wsse=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    and the server I am sending it to is expecting
    "xmlns:wsse=http://schemas.xmlsoap.org/ws/2003/06/secext". I am not
    sure how to change the default setting which .NET adds to the message.
    Please help me out.
     
    kaush, Oct 12, 2005
    #1
    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. bas jaburg
    Replies:
    3
    Views:
    509
    Jim Cheshire [MSFT]
    Feb 27, 2004
  2. VB Programmer
    Replies:
    7
    Views:
    8,093
    VB Programmer
    Apr 29, 2005
  3. rabbits77
    Replies:
    0
    Views:
    878
    rabbits77
    Feb 26, 2004
  4. Rolf Kemper

    template adds unexpected namespace

    Rolf Kemper, Sep 14, 2004, in forum: XML
    Replies:
    1
    Views:
    484
    David Carlisle
    Sep 20, 2004
  5. Jason Heyes
    Replies:
    1
    Views:
    452
    Woebegone
    Nov 19, 2004
Loading...

Share This Page