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

WCF XmlSerialization somehow mis-interpreted as DataContract Serialization - post VS 2012 Update1

We've a WCF / ASP.NET hosted web service. The data types in the service contract use XSD.exe generated types, and hence are decorated with XmlSerialization attributes. We created a client for it using SvcUtil, including using the…
0
votes
2 answers

WSDL handling practices for external service

I have a project where it's dependent on Oracle Hosted web services (not WCF). I have a copy of the WSDLs for the services and their correlated XSDs. What is the proper way of generating the proxies and datacontract assembly for this? I started…
Chris Marisic
  • 32,487
  • 24
  • 164
  • 258
0
votes
1 answer

WCF SOAP Fault incorrect type

First of all, here is my setup: .Net 4.0 ASP.Net application WCF service, with basicHttpBinding (soap 1.1) The reference class was generated using svcutil, with the options /useSerializerForFaults; the WSDL defines all operations, and provides…
Borissov
  • 101
  • 1
  • 6
0
votes
1 answer

Questions about schemas.microsoft.com.2003.10.Serialization.xsd generated by svcutil.exe

I want to distribute the WSDL file of my WCF service to all the stakeholders. Some will be generating actual web service out of it and a few will be writing client part of it. When i generated wsdl, i found that…
Learner
  • 4,661
  • 9
  • 56
  • 102
0
votes
1 answer

svcutil not downloading full metadata

When I try to generate metadata using svcutil (svcutil.exe /t:metadata http://localhost/ABCService/Service.svc ), I dont get full/all metadata (input-output data contract) . However I can see all metadata (input-output data contract) when I do a…
Subhasis
  • 714
  • 3
  • 14
  • 28
0
votes
2 answers

POX SVCUtil Generated Class Casting

I used the SVCUTIL to generate a class form an XSD. I'm having difficulties figuring out how to take the incoming request object and retrieving the "MsgType" value from the object. I thought by doing this I would be able to access the data simply…
0
votes
1 answer

error when generating service reference via svcutil

I am using svcutil to generate service references from my wcf endpoints. All was working fine up to recently, but suddenly I started getting the following error against all my endpoints. Attempting to download metadata from…
amateur
  • 43,371
  • 65
  • 192
  • 320
0
votes
1 answer

WCF client proxy generation failing with new method addition

I have a library I need to generate client proxy classes for, and the existing code works fine when running this command and the service on my local box svcutil.exe /config:thn /r:Citi.Rbcs.BusGn.dll /r:Citi.Rbcs.Buscm.dll…
NZJames
  • 4,963
  • 15
  • 50
  • 100
0
votes
2 answers

DataContract properties names during proxy generation with svcutil

Is there any switch that instructs svcutil to generate DataContract properties with their names as defined in code? For example when I create a proxy which uses the following DataContract: [DataContract(Namespace =…
Pantelis
  • 2,060
  • 3
  • 25
  • 40
0
votes
1 answer

Exposing Metadata Exchange for use with svcutil

I am trying to take a very simple (essentially empty/function-less) service I have and generate a proxy with svcutil.exe. Here's my server: using System; using System.Collections.Generic; using System.Linq; using System.Text; using…
Chris V.
  • 1,123
  • 5
  • 22
  • 50
0
votes
1 answer

svcutil not producing Config file

On the time of installer I install new certificate on each machine so i need to update application config file with certificate encoded value.
Riju
  • 566
  • 7
  • 19
0
votes
2 answers

class ObservableDictionary : IDictionary as DataContract

How to decorate public class ObservableDictionary : IDictionary, INotifyCollectionChanged, INotifyPropertyChanged as DataContract (or something like this) in WCF service?
Saint
  • 5,397
  • 22
  • 63
  • 107
0
votes
2 answers

No Begin Async method

I'm new to WCF and Async. I have a service with a Begin and End on a long running method. [ServiceContract] public interface IDocImagingStatusService { [OperationContract(AsyncPattern = true)] IAsyncResult…
strattonn
  • 1,790
  • 2
  • 22
  • 41
0
votes
1 answer

Some warnings are reported on the proxy class generated by the svcutil

During the implementation of a duplex service, I created a new class and I decorated it with the attribute DataContract: moreover, I decorated the properties of this class with the attribute DataMember, including the property public IPEndPoint…
enzom83
  • 8,080
  • 10
  • 68
  • 114
0
votes
1 answer

WCF proxy classes for java soap service

I want to create .net WCF Proxy classes based on WSDL which is describing java soap service. when I try to generate classes I get following error Error: Cannot import wsdl:port Detail: There was an error importing a wsdl:binding that the wsdl:port…
Ahmadreza
  • 564
  • 2
  • 6
  • 17
1 2 3
27
28