Questions tagged [wsdl.exe]

The Web Services Description Language tool generates code for XML Web services and XML Web service clients from WSDL contract files, XSD schemas, and .discomap discovery documents.

The Web Services Description Language tool generates code for XML Web services and XML Web service clients from WSDL contract files, XSD schemas, and .discomap discovery documents.

A .wsdl file is an XML document written in an XML grammar called Web Services Description Language (WSDL). This file defines how an XML Web service behaves and instructs clients as to how to interact with the service.
You can obtain discovery documents for an XML Web service using the Web Services Discovery Tool (Disco.exe). The .discomap, .disco, .wsdl, and .xsd files produced by this tool can be used as input to Wsdl.exe.
When you use Wsdl.exe to create a proxy class, a single source file is created in the programming language that you specify. In the process of generating the source code for the proxy class, the tool determines the best type to use for objects specified in the service description.

http://msdn.microsoft.com/en-us/library/7h3ystb6(vs.80).aspx

58 questions
40
votes
3 answers

Where can I find WSDL.exe?

I have Visual Studio 2010 Ulitmate (with MSDN Premium), but I can't seem to find this file. I have tried installing the Visual Studio SDK but I can't seem to find the file. I have looked…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
9
votes
1 answer

Using WSDL.exe with local WSDL file that has external .xsd files

I'm trying to generate a Web Service stub from some wsdl/xsd files that a customer has sent us. I've done this with no problems using wsdl.exe before while everything was in the wsdl file, but when I run the file on the wsdl file I get an error…
Omar Kooheji
  • 54,530
  • 68
  • 182
  • 238
8
votes
6 answers

C# web-service client: multiple web-service methods with same (complex) return type?

I am chipping away at building a client for a Java B2B web-service at the moment and I think I have identified the cause of a problem we have been having for quite some time. Unfortunately I'm unable to post the WSDL. Apparently my auto-generated…
Bernard
  • 652
  • 3
  • 7
  • 16
7
votes
3 answers

WSDL.exe - generate interface as well as concrete class for easy fake/mocks later

Is it possible to get WSDL.exe to generate interfaces as well as, or instead of, concrete classes when it generates proxys to a web service? We're consuming a 3rd party webservice from an ASP.Net application, and have generated our proxy classes…
Andrew M
  • 9,149
  • 6
  • 44
  • 63
7
votes
3 answers

wsdl.exe/svcutil.exe - is there a way not to generate the classes for types in the xsds during a Web service or client generation

We have a centrally managed object model for types in the schema in C#. We want every one across the enterprise use that object model instead of using the one generated each time from wsdl/svcutil during a webservice client or service…
RAVI KANDARPA
  • 71
  • 1
  • 2
6
votes
2 answers

wsdl.exe with SSL/TLS

I've been trying to give more information to the provider about the error I'm getting when trying to consume one of his WS. They asked me to use wsdl.exe to execute the following command: wsdl.exe /l:CS /protocol:SOAP /verbose /sharetypes…
pehuen
  • 63
  • 1
  • 1
  • 6
5
votes
2 answers

wsdl.exe /sharetypes

I'm working with multiple third party webservices (from the same vendor) that appear to be using the same object structure server side. One of the services allows me to query a list of users by role, and another allows me to query a single user by…
Wes P
  • 9,622
  • 14
  • 41
  • 48
5
votes
1 answer

How can I create a partial proxy class from large WSDL?

I have a large WSDL file from a third party service provider. Is there any way to cherry pick what services, contracts, endpoints I want when I use the wsdl tool command line? Visual Studio crashesh because of the volume of services included in the…
Andre
  • 61
  • 5
5
votes
2 answers

Creating web service and client with shared types

I have created two wsdl files with shared types imported from xsd schema file. After that I have created web services using interface generated by wsdl.exe tool with parameter /serverInterface. Frist web service, have web method “RegisterData” with…
Siekiera
  • 63
  • 1
  • 6
4
votes
1 answer

Adding C# attribute to wsdl.exe generated property?

I have a class which is automatically generated via wsdl.exe, I need to add the [System.Xml.Serialization.XmlIgnoreAttribute()] attribute to one of the properties, but I can't modify the class directly as it is regenerated every now and then. Is…
capitano666
  • 656
  • 1
  • 9
  • 24
3
votes
2 answers

svcutil.exe generates errors while wsdl.exe runs through without

I'm looking into generating a web-service conforming to the WSDL found at: http://assets.cdn.gamigo.com/xml/connection-service/1.0.10/account.wsdl When I run with svcutil.exe like this: svcutil.exe /language:C# /out:GamigoServices.cs…
max
  • 123
  • 7
2
votes
1 answer

HTTPS connection from c# client to Tomcat using wsdl.exe

I have a tomcat webservice and a c# .net client that connects to the service. I created the Connection classes with wsdl.exe and everything is fine. But now i have activated ssl in tomcat to use https. In my c# app i only changed the url to https…
CubaLibre
  • 375
  • 1
  • 2
  • 14
2
votes
1 answer

Web service not handling multiple simultaneous request from same application with proxy class

I have an application scheduling multiple tasks which are calling different web services, some the same web service but different method. Each task is executed in an interval and each task is running in its own thread. To obtain reference to the…
user752083
  • 35
  • 1
  • 6
2
votes
3 answers

Consuming WSDL with multidimentional array with WSDL.exe fails

I have the following in a WSDL I am consuming;
Asher
  • 1,016
  • 1
  • 6
  • 20
2
votes
2 answers

Cannot Add WSDL Web Reference to .NET Project in Visual Studio 2012

I'm working on trying to update a couple old integration tools I developed to interface with NetSuite to the latest web services endpoint, which is at the following URL: https://webservices.netsuite.com/wsdl/v2018_1_0/netsuite.wsdl I do the usual…
Michael McCauley
  • 853
  • 1
  • 12
  • 37
1
2 3 4