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
4
votes
2 answers

Using svcutil to generate xsd files for client proxy

I am trying to use Svcutil to export metadata for proxy generation off a locally hosted service. I dont want to go into visual studio and click 'Add service reference' as this is a learning exercise on my part(!) I am using svcutil as follows:…
SkeetJon
  • 1,491
  • 1
  • 19
  • 40
4
votes
2 answers

How can i make this a valid WSDL?

I'm trying to generate code from this WSDL using the following command: svcutil /noConfig /language:C# /out:ICatalog.cs http://schemas.opengis.net/csw/2.0.2/profiles/ebrim/1.0/wsdl/2.0/csw-ebrim-interface.wsdl However svcutil cannot read it, and…
capdragon
  • 14,565
  • 24
  • 107
  • 153
4
votes
1 answer

svcutil WCF proxy class submits incorrect SOAP action on request

I am using C# / WCF (.NET 3.5 SP1) and trying to access a SOAP service hosted through Apache / PHP. The WSDL was generated first and then the service was built to conform to the WSDL. I am trying to use svcutil to generate WCF proxy classes to…
user700390
  • 2,287
  • 1
  • 19
  • 26
4
votes
1 answer

WCF - Customized WDSL generation

I spent hours trying to do some customizations in the wsdl generation, without results. I got stuck mainly because I could not find a clear sample for what I want to do (I may have missed something). Let's got to the point : I want to customize the…
Mose
  • 1,781
  • 3
  • 16
  • 35
4
votes
0 answers

Svcutil Not Generating All Classes

I want to call an external SOAP service which i want to generate proxy classes for. The .wsdl is not exposed online, but provided alongside a set .xsd files. I'm then using svcutil (also tried with dotnet-svcutil 1.0.4) to generate the classes.…
4
votes
3 answers

Issue while generating a service proxy from WSDL with invalid SSL Certificate

I'm trying to write a small app that accesses a webservice, but the webservice has an invalid SSL certificate. I've got no control over this fact as it's governed by a third party. I've tried accessing the site via IE (As administrator and as my own…
Omar Kooheji
  • 54,530
  • 68
  • 182
  • 238
4
votes
2 answers

How do I fix SvcUtil generating code with errors in it for a C++/CLI WCF client?

I've run into a problem with code generated by SvcUtil when generating a WCF client in C++/CLI. When I run "SvcUtil.exe /t:code /l:cpp http://localhost:2772/mex/" it generates a header file containing the client class…
dlanod
  • 8,664
  • 8
  • 54
  • 96
4
votes
5 answers

Does Visual Studio 2008 Use SvcUtil.exe and if "No" is there any disadvantage to using svcutil?

After googling a bit there is no definite answer of whether Visual Studio 2008 uses svcutil.exe or not? Visual Studio 2005 did use it, but do the RTM versions of Visual Studio 2008 use svcutil? A few blogs say it doesn't (and make it seem…
magellings
  • 175
  • 2
  • 10
4
votes
2 answers

How to connect to a SVC endpoint?

Given a URL that ends with .svc and that is supposed to run a SOAP web service, how can I get some data from it? I tried: to access it via a web browser to access it via the Python's library Zeep to access it via the Microsoft utilitary…
Arnaud
  • 4,884
  • 17
  • 54
  • 85
4
votes
3 answers

Why is an XSD element of type s:date becoming a string when generating a Service Reference?

I'm trying to create a new Service Reference from a WSDL and all of the properties I expect to be DateTime instead of string. For example, this xsd definition for Contact:
Nick
  • 693
  • 7
  • 11
4
votes
1 answer

WCF Contract first: complexType has already been declared

I am using svcutil.exe to generate a service endpoint based on a contract from an external source. It seems to work as intended, but the service is not able to expose an endpoint to others. Specifically, when I try to GET the WSDL for the service,…
Jesper Lund Stocholm
  • 1,973
  • 2
  • 27
  • 49
4
votes
2 answers

SOAPUI Not Showing Operations from WSDL

I am struggling to get SOAPUI to show my operations in my service, I generate my WSDL from exposed MEX endpoints (So not manual) then I create my CLIENT proxies from the generated WSDL. From a code perspective this works fine (My unit tests pass if…
Marius Vorster
  • 196
  • 1
  • 10
4
votes
1 answer

Calling a Web Service from a ASP.NET WebAPI application

I have a 3rd party web service to call from ASP.NET Web API application. This 3rd party service is not svc or asmx. And all I have been give is 2 WSDLs for TEST and PROD…
4
votes
2 answers

How can I make WCF talk to this web service?

This is a follow up of this question. As suggested by @Benjamin here, I am trying to add a service reference for my wsdl now (in stead of a web reference). Here is the url to the wsdl in…
fretje
  • 8,322
  • 2
  • 49
  • 61
4
votes
3 answers

Svcutil.exe MSBuild Task

Is there a task in MSBuild to execute svcutil.exe? Or is there a definitive wrapper task somewhere?
GuyBehindtheGuy
  • 1,368
  • 2
  • 17
  • 36