BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in WSCF/WCF

 
 
Page 3489 of 20224

Equivalent svcutil.exe command for VS2008 Add Service Reference

Blogger : David Barretts Blog
All posts : All posts by David Barretts Blog
Category : WSCF/WCF
Blogged date : 2008 Jun 30

As a followup to my post about serialization funkiness between WCF and Peoplesoft, I wanted to post what svcutil.exe command I used to mimic the built-in behavior of the "Add Service Reference" behavior in Visual Studio 2008.

Contrary to Visual Studio 2005, the Add service reference command in Visual Studio 2008 does not use svcutil.exe, but rather it's own built-in functionality.

Using a comparison reference between the two and my own analysis of the results, I came up with the following command to mimic what the command does in VS 2008 (keep in mind a few of these options, such as the /ct and the /l switches, were specific to my situation):

svcutil *.wsdl *.xsd /l:C# /out:Reference.cs /noconfig /s /ct:System.Collections.Generic.List`1 /ser:Auto /tcv:Version30 /n:*,<NameOfYourNamespaceHere> /edb

I ran this in the folder where the schema files (WSDL, XSD) were located from a VS2008 command line.

If anyone figures out that this is missing any parameters, or any parameters are incorrect, I'd love to hear from you.


Read comments or post a reply to : Equivalent svcutil.exe command for VS2008 Add Service Reference
Page 3489 of 20224

Newest posts
 

    Email TopXML