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

Error generating proxy with svcutil

I'm building a contract-first SOAP client. When I try to generate the proxy classes with svcutil, I get the error messages listed below and no classes are generated. Some of the error messages are in Dutch, but they're similar to the errors in this…
Miel
  • 3,347
  • 2
  • 26
  • 39
0
votes
1 answer

Svcutil cannot resolve wsdl metadata (content type not supported). Url works in IE but not in Chrome

Wonder if anyone can shed some light on the following. I have the following problem...(web-service is hosted on linux/JBoss) running svcutil http://londxxx:888/tropics/TropicsWS?wsdl results in... WS-Metadata Exchange Error Metadata contains a…
0
votes
1 answer

Precompile header in CPP project and C generated from wsdl file

I'm creating simple web service client in CPP. I have generated source files from WSDL with help of svcutil ans wsutil utilites. At the end I got web service interface header and C file. When I include C file into my console application that uses…
vico
  • 17,051
  • 45
  • 159
  • 315
0
votes
1 answer

Error creating .net client via Service References

I'm facing a problem when trying to generate a proxy client in C# .Net 4.0 for the webservice defined by this wsdl: link (I'm not managing this service and it seems to be an Axis2 MTOM Java based service) Here is the generator feedback:…
CLallier
  • 41
  • 5
0
votes
3 answers

Sharing types in WCF using VS 2008 not working

I am trying to share DTO's from my datalayer assembly between the client and WCF service. This works using svcutil, but doesn't work when using VS2008. VS2008 generates it's own DTO objects whereas svcutil uses the shared data type. The svcutil…
ptutt
  • 1,338
  • 3
  • 18
  • 35
0
votes
1 answer

WSDL with minoccurs="0", data not sent

We have two services. One is written in Java and hosted in a glassfish, the other written as a WCF service library in C# and hosted in IIS. When I want to communicate with the Java service, I use the wsdl, generate a proxy via svcutil and want to…
Mare Infinitus
  • 8,024
  • 8
  • 64
  • 113
0
votes
1 answer

WCF Client in VS2005

I'm trying to implement a WCF client in a VS2005 project. In VS2010 it is all working fine, because I just can add the service reference. For the VS2005 I've builded the .config and the Service1.cs with the svcutil. The two files are added in the…
NiAu
  • 535
  • 1
  • 12
  • 32
0
votes
1 answer

Passing Certificate to Svcutil to generate proxy for OSB Service

We are wanting to implement Two-Way SSL security from WCF to OSB Services. We have successfully deployed the certificates so that when you browse to the service with IE you get the appropriate prompt for certificate and then it takes you immediately…
webwires
  • 2,572
  • 3
  • 26
  • 44
0
votes
1 answer

WCF metedata download troubles

I am having the following error creating the WCF Client Library for my application using the svcutil tool. I can do the same operation successfully on my local machine but not on the server with IIS. C:\Program Files (x86)\Microsoft Visual Studio…
nikk
  • 2,627
  • 5
  • 30
  • 51
0
votes
0 answers

wcf service don't send element even the service xsd element has minOccurs and nillable in default values

I have a service that in the xsd section define and element as follows: ... so since the element is not specifing the minOccurs and nillable attributes then they have the…
Mao
  • 125
  • 2
  • 11
0
votes
1 answer

Use Svcutil.exe to make a proxy class which is usable

I'm trying to use svcutil.exe to make a proxy class. The proxy should in .dll, so that I can 'add reference' the library to another project and use it. Below are my current codes. ProcessStartInfo start = new ProcessStartInfo(); …
dausdashsan
  • 241
  • 1
  • 6
  • 16
0
votes
0 answers

Generate C# Class with svcutil.exe against xsd using External tools in VS 2012

I have created a C# Data Contract class against XSD and used my WCF service. And I have setup the xsd.exe using Visual Studio External Tools like below, Use bat file with: call "C:\Program Files (x86)\Microsoft Visual Studio…
SJ Alex
  • 149
  • 3
  • 12
0
votes
1 answer

New to WSDL's getting errors during proxy generation

The company I work for does work with outside vendors for our software. I have been given the task of creating my first windows service to communicate with the vendors web service. The vendor gave us a copy of their WSDL and 39 XSD files. I…
JP13
  • 109
  • 8
0
votes
1 answer

Exporting XSD and WSDL from WCF Service (SVCUTIL)

I have a Wcf Service with a simple method. I need to generate the WSDL and XSD file, to handover to third-party that needs to use the webservice. The solution is done in Visual Studio 2013, .NET 4.5. From the BIN folder, I run the SVCUTIL…
user155814
  • 101
  • 1
  • 9