Questions tagged [svcutil.exe]

The ServiceModel Metadata Utility tool (SVCUTIL.EXE) is used to generate service model code from metadata documents and metadata documents from service model code.

Svcutil.exe can generate code for service contracts, clients and data types from metadata documents. These metadata documents can be on a durable storage, or be retrieved online. Online retrieval follows either the WS-Metadata Exchange protocol or the DISCO protocol

http://msdn.microsoft.com/en-us/library/aa347733.aspx

416 questions
0
votes
1 answer

Using SvcUtil.exe in WCF when router is in the middle

My service is consumed through a router. I’m trying to use SvcUtil.exe to create config and class file. When I point to the service itself endpoints the command would be something like this: svcutil.exe…
Daniel
  • 3,322
  • 5
  • 30
  • 40
0
votes
1 answer

Is there a reason for the nested generic collection classes in svcutil generated code?

I'm generating my data contract with a command line like: svcutil /ct:System.Collections.Generic.List`1 MySchema.xsd In my generated code, I end up with something like this (let's call this "style 1"): partial class A : object,…
Colin Young
  • 3,018
  • 1
  • 22
  • 46
0
votes
1 answer

How to convince WCF Data Contract Serializer that a WSDL is doc/lit/wrapped

I've tried to follow the guidance at http://blogs.msdn.com/b/donsmith/archive/2006/10/06/handcrafting-wcf_2d00_friendly-wsdls.aspx for creating a WSDL that the WCF svcutil will believe is in the document/literal wrapped format. In so doing, svcutil…
Greg
  • 906
  • 1
  • 9
  • 22
0
votes
1 answer

Svcutil.exe - enum from wsdl not created correctly in c-sharp client

I have a client supplied wsdl file containing an enum:
DiligentKarma
  • 5,198
  • 1
  • 30
  • 33
0
votes
1 answer

Cannot import wsdl:portType in VS 2010 - not common answer

I'm Getting this like others have, however following the advice to uncheck reuse didn't help me. I have a Windows 7 OS with IIS 7.5. Any ideas? Warning 1 Custom tool warning: Cannot import wsdl:portType Detail: An exception was thrown while…
DavieDave
  • 1,394
  • 2
  • 18
  • 35
0
votes
2 answers

Is it possible to not generate service part of wsdl contract in WCF?

I've written a WCF service and wonder if it somehow possible to not get the service part:
Markus
  • 1,614
  • 1
  • 22
  • 32
0
votes
1 answer

How do I change the CollectionType on a service proxy generated with svcutil.exe?

Ok, so I have implemented my services, created a new WCF service website to host my services in IIS and used svcutil to export metadata to the .xsd and .wsdl files. From these files I generated the service proxy.cs and .config files and added them…
Pantelis
  • 2,060
  • 3
  • 25
  • 40
0
votes
2 answers

wsdl + svutil

I need to resolve a pcakage import in java.. but the package was not present.. Then i later found that I have to use some wsdl file to genrate the pacakage.. I have a link fo that wsdl file.. How to use svcutil to generate that pacakage/ resolve the…
suresh
  • 4,084
  • 10
  • 44
  • 59
-2
votes
1 answer

Creating a batch files for visaul studio command

Hi i have 2 commands need to execute in visual studio command prompt at one time using batch file. C:\iwatch\trunk\CPCE Client\InterviewManagementServiceClient>svcutil http://localhost:19021/InterviewManagementService/InterviewManagementService.svc…
trinadh
  • 137
  • 1
  • 5
  • 19
-4
votes
1 answer

Auto generate web api model from xsd

I have xsd as a contract for my web service. The web service is implemented as web api, I am looking for a tool that generates web api model from xsd. This tool should add atributes from the xsd so asp.Net will know to validate the request.
Daniel Rapaport
  • 375
  • 2
  • 18
1 2 3
27
28