I'm trying to create a new Service Reference from a WSDL and all of the properties I expect to be DateTimes are instead strings.
For example, this xsd definition for Contact:
<s:complexType name="Contact">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="Address" type="tns:Address" />
<s:element minOccurs="...
scratching my head on WCF ... I've got XML messages where the children of could be anything, e.g.
<Test1Root>
<CaseNo></CaseNo>
<Activity></Activity>
<DataFields>
<AccountRef></AccountRef>
<PropRef></PropRef>
<User></User>
</DataFields>
</Test1Root>
I've handled this in BizTalk using the xs:any for the
<xs:...
Hello
I am trying to get metadatas of a service which require log in with svcutil.exe.
How can i do that ?
...
Hello
I've written a WCF service and hosted in IIS 6.0. When i try to create the proxy using the following command
svcutil.exe /language:cs /out:MyProxy.cs /config:app.config /a http://serviceurl
it is creating its own class name in MyProxy.cs. Why is that?
I was trying to step in to the service for debugging and i was not able to ...
I am trying to use svcutil to generate managed C++ code from XSD. The command line I am using is
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\xsd.exe" MyTest.xsd /classes /language:"Microsoft.VisualC.CppCodeProvider7, CppCodeProvider, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /namespace:MyTestApp
...
Hello,
I have to integrate several existing webservices in my .net application. But unfortunately, invoking the svcutil tool results in an error with the message:
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.2152]
Copyright (c) Microsoft Corporation. All rights reserve...
I have a web service which has a method with parameter of type Collection( of Byte).
When i try to generate the proxy using the wsdl command but the datatype gets converted to single dimensional Array of Bytes.
So i thought of creating the wsdl file which will have the type as Collection(of byte) using Add as Service Reference, but even...
I've been looking around the questions here to see if anything similar was addressed already.
I've yet to find a solution so hopefully someone can help out and point me in the right direction.
I have a service and I can successfully navigate to the svc page on my localhost.
https://localhost/WebSite/UploadService/UploadService.svc
Thi...
Is it possible for wsimport to ignore "import" tags in wsdl that are http-linked to some XSD files and insted use XSD files provided next to the wsdl file?. I know svcutil is able to do so.
...
Hello,
I wish to send the service metadata of a running WCF service to a third party developer,
so he'll be able to create a proxy on his end.
At the moment the service is accessible from my local machine only.
...
I'm attempting to use svcutil.exe to generate -only- the service contracts (interfaces) from a set of .wsdl files. When I do this (from an http-hosted wsdl), it picks up the included schemas and generates all the code for them.
Great.
What I would REALLY like to do, however, is to use a set of classes already generated from the schema ...
I'm trying to generate proxy classes via svcutil.exe for a 3rd party web service using their WSDL. However, when I run svcutil.exe on the WSDL I get the following error, which then cascades down to other elements in the file causing no code to be generated.
Warning 2 Custom tool warning: Cannot import wsdl:portType
Detail: An excepti...
I'm importing a WSDL as a service definition (inbound to my service), and for whatever reason the client is formatting the request such that WCF cannot deserialize it without the proxy classes having MessageContract decorations.
I've gotten it to work this way by adding the MessageContract attribute on the main container class, which ...
Hey.
I want to update service references in a Visual Studio 2010 solution by using SVCUtil because this solution has several projects and it's not good to get references refreshed one by one.
I'd like to know your point, because I've to be sure I'm going to execute exactly same command than one done by Visual Studio 2010, or even if Vi...
Hi,
Thanks for any help,
We have two XSD files, both of them shares some same entities and some others different. Note that the one with differences are called differently.
We want to generate C# code that can Serialize / Deserialize those entities, without ending up with two entities that share the same name and same content in two ...
I have several WCF services being consumed by different Silverlight applications. I am currently using slsvcutil.exe with a pretty standard setup to generate my Silverlight proxy objects:
"%ProgramFiles%\microsoft sdks\silverlight\v4.0\tools\slsvcutil.exe" http://myhost/MyService.svc?wsdl /out:Proxy.cs /edb /namespace:"*,My.Namespace" /...
I always recieve the above error when I generate a proxy class for my service using SvcUtil. The service is exposing a property that is of System.Xml.Linq.XElement type. The SvcUtil generates a System.Xml.XmlElement type property unfortunately. On the other hand if I'm using Add Reference in VS to generate the proxy class, everything's o...