Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - RE: Dec CTP and DocumentBare

 
 
Old 03-04-2006   #1 (permalink)
Ralph Squillace


 
 

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
>
>
>


My System SpecsSystem Spec
Old 03-04-2006   #2 (permalink)
Jon Flanders


 
 

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



My System SpecsSystem Spec
 

Thread Tools



Vista Forums 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 Ltd

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