Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > How to get rid of the default namespace .NET adds to SOAP message ?

Thread Tools

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

Posts: n/a
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
and the server I am sending it to is expecting
"xmlns:wsse=". I am not
sure how to change the default setting which .NET adds to the message.
Please help me out.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How to add SOAP header to a SOAP message? Peter van der veen ASP .Net Web Services 6 11-14-2006 06:44 PM
Reaching into the default namespace when using another namespace. Jason Heyes C++ 1 11-19-2004 02:36 AM
template adds unexpected namespace Rolf Kemper XML 1 09-20-2004 10:30 AM
writing a SOAP message service, how do I get the attachment from a message? rabbits77 Java 0 02-26-2004 08:52 PM