Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > SOAP and prefix namespace

Reply
Thread Tools

SOAP and prefix namespace

 
 
roenick97
Guest
Posts: n/a
 
      11-23-2006
Using Visual Studio referencing a WSDL I can send this SOAP Message :

<soap:Body>
<message xmlns="http://www.mysite.com.types">
<content>
<element attribut="value" />
</content >
</message>
</soap:Body>

But how can I have the following?

<soap:Body>
<myType:message xmlns:myType="http://www.mysite.com.types">
<myType:content>
<myType:element attribut="value" />
</myType:content >
</myType:message>
</soap:Body>

I try to use
[System.Xml.Serialization.XmlRoot()]
[System.Xml.Serialization.XmlTypeAttribute(Namespac e="")]
...
Without any result ...


Thanks

 
Reply With Quote
 
 
 
Reply

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
Soap method namespace prefix prevents values from being passed correctly HolmerJohn@gmail.com ASP .Net 0 10-30-2007 02:50 PM
removing a namespace prefix and removing all attributes not in that same prefix Chris Chiasson XML 6 11-14-2006 05:08 PM
"static" prefix - to parallel "this" prefix Tim Tyler Java 36 12-10-2004 01:02 AM
namespace prefix =?Utf-8?B?c29tYXNsZWVw?= ASP .Net 0 06-10-2004 10:32 PM
Tag prefix and namespace heidi ASP .Net 0 11-02-2003 07:05 PM



Advertisments