Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

RE: Dec CTP and DocumentBare

 
 
Thread Tools Display Modes
Old 03-04-2006   #1 (permalink)
Ralph Squillace
Guest


 

RE: Dec CTP and DocumentBare

If I'm not mistaken, you will find the dc functionality in svcutil.exe now.
Look at the command-line help. If I'm wrong, someone will sail in here and
correct me I'm sure.

Cheers, Ralph

"Jon Flanders" wrote:

> Is it possible to have a DocumentBare service anymore? Where did this functionality
> go?
>
> TIA
>
> Jon Flanders [MVP]
> http://www.masteringbiztalk.com
>
>
>

Old 03-04-2006   #2 (permalink)
Ralph Squillace
Guest


 

RE: Dec CTP and DocumentBare

Whoop. I think I misposted. Jon, for your post, I believe you will get that
functionaliy when you define your message contract explicitly. Have a look
and let me know if that is what you're looking for.

Ralph

"Ralph Squillace" wrote:

> If I'm not mistaken, you will find the dc functionality in svcutil.exe now.
> Look at the command-line help. If I'm wrong, someone will sail in here and
> correct me I'm sure.
>
> Cheers, Ralph
>
> "Jon Flanders" wrote:
>
> > Is it possible to have a DocumentBare service anymore? Where did this functionality
> > go?
> >
> > TIA
> >
> > Jon Flanders [MVP]
> > http://www.masteringbiztalk.com
> >
> >
> >

Old 03-04-2006   #3 (permalink)
Jon Flanders
Guest


 

RE: Dec CTP and DocumentBare

Hi Ralph, I actually solved my problem by changing the class definition.
Here is what I was trying to do.

I have an XSD.

I run XSD.exe on it to get a type defintion.

I use that type definition as the types in my ServiceContract interface methods.
By default I get types in wsdl in the datacontract.org namespace.

If i remove the [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
attribute that xsd.exe puts on each type, I get the WSDL I want (using the
namespace uris of the XSDs I created).

I would have expected this to work without modifying the csharp generated
class definitions. Am I wrong?



Jon Flanders [MVP]
http://www.masteringbiztalk.com

> Whoop. I think I misposted. Jon, for your post, I believe you will get
> that functionaliy when you define your message contract explicitly.
> Have a look and let me know if that is what you're looking for.
>
> Ralph
>
> "Ralph Squillace" wrote:
>
>> If I'm not mistaken, you will find the dc functionality in
>> svcutil.exe now. Look at the command-line help. If I'm wrong, someone
>> will sail in here and correct me I'm sure.
>>
>> Cheers, Ralph
>>
>> "Jon Flanders" wrote:
>>
>>> Is it possible to have a DocumentBare service anymore? Where did
>>> this functionality go?
>>>
>>> TIA
>>>
>>> Jon Flanders [MVP]
>>> http://www.masteringbiztalk.com



 

Thread Tools
Display Modes









Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50