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

K

kaush

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.
 

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,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top