Questions tagged [wsdl]

Web Service Description Language (WSDL) is an XML based, human- and machine-readable language used to describe a web service. It describes the available web service methods, the message request and response structures, the possible faults, and the communication and security requirements. This tag does not refer to any tool named "wsdl", such as WSDL.EXE from Microsoft.

Web Service Description Language (WSDL) is an XML based, human- and machine-readable language used to describe a web service. It describes the available web service methods, the message request and response structures, the possible faults, and the communication and security requirements.

This tag does not refer to any tool named "wsdl", such as .

See:

WSDL is an XML format for describing network services as a set of endpoints operating on messages containing either document-oriented or procedure-oriented information. The operations and messages are described abstractly, and then bound to a concrete network protocol and message format to define an endpoint. Related concrete endpoints are combined into abstract endpoints (services). WSDL is extensible to allow description of endpoints and their messages regardless of what message formats or network protocols are used to communicate, however, the only bindings described in this document describe how to use WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.

SOAP is a lightweight protocol for exchange of information in a decentralized, distributed environment. It is an XML based protocol that consists of three parts: an envelope that defines a framework for describing what is in a message and how to process it, a set of encoding rules for expressing instances of application-defined datatypes, and a convention for representing remote procedure calls and responses. SOAP can potentially be used in combination with a variety of other protocols; however, the only bindings defined in this document describe how to use SOAP in combination with HTTP and HTTP Extension Framework.

WSDL Reading, a Beginner's Guide

9291 questions
53
votes
13 answers

Override Default Constructor of Partial Class with Another Partial Class

I don't think this is possible, but if is then I need it :) I have a auto-generated proxy file from the wsdl.exe command line tool by Visual Studio 2008. The proxy output is partial classes. I want to override the default constructor that is…
Elijah Manor
  • 17,923
  • 17
  • 72
  • 79
51
votes
6 answers

how to generate web service out of wsdl

Client provided me the wsdl to generate the web service.But when I used the wsdl.exe command it generated the .cs class out of it. I consumed that class in my web service and when I provided the wsdl to client it didn't match their schema. Actually…
alice7
  • 3,834
  • 14
  • 64
  • 93
50
votes
6 answers

How do you convert WSDLs to Java classes using Eclipse?

I have a WSDL file (or, more precisely, its URL). I need to convert it to Java classes. I also need to provide tests for the web service it describes. I'm new to web services, so could someone tell me how to convert WSDLs to Java? I use Eclipse JEE…
khris
  • 4,809
  • 21
  • 64
  • 94
48
votes
4 answers

What is the difference between Type and Element in WSDL?

In WSDL file a function can return a Type or an Element. I have used only custom types as a results so far. However, I wonder when the Element should be more appropriate than the Type? What is the difference between them? Is there any difference…
czuk
  • 6,218
  • 10
  • 36
  • 47
46
votes
13 answers

JAX-WS Loading WSDL from jar

I'm writing a fat client that makes use of a SOAP service for some features (bug reporting etc.) I've got JAX-WS working fine, but by default (in netbeans at least) it fetches the WSDL from the remote server every time the service is initialized. I…
Cogsy
  • 5,584
  • 4
  • 35
  • 47
45
votes
6 answers

Generating a WSDL from an XSD file

I need to generate a WSDL file given an XSD file. How do I do this? Can I do this in VS2005? What is the simplest way to do this?
Ausgar
  • 693
  • 1
  • 8
  • 12
44
votes
2 answers

Difference between WSDL 2.0, WADL & XRD?

WSDL 2.0: www.w3.org/TR/wsdl20/ WADL www.w3.org/Submission/wadl/ XRD www.oasis-open.org/committees/download.php/35274/xrd-1.0-wd10.html All three can be used a REST API descriptors. What's the differences? I know this is a heated question, but I…
jonathanberi
  • 1,867
  • 1
  • 14
  • 24
44
votes
2 answers

What was the difference between WSDL & Mex Endpoint in WCF

I have couple of question on mex endpoint. In legacy web services, we create a proxy using wsdl. The WSDL exposes the web service's meta data. In wcf, another term comes that mex endpoint, which also exposes meta data, but wsdl is still alive in…
Thomas
  • 33,544
  • 126
  • 357
  • 626
42
votes
3 answers

How to change WSDL URL from internal machine name to public?

I have a simple service that I deployed to Azure. It is accessible via: http://xxxxxxxxxxxxxxxxxxxxxxx.cloudapp.net/MyTestService.svc The URL to the WSDL uses the internal machine name instead of a public DNS: svcutil.exe…
Victor
  • 4,721
  • 1
  • 26
  • 31
42
votes
3 answers

Is it possible to use python suds to read a wsdl file from the file system?

From suds documentation, I can create a Client if I have a url for the WSDL. from suds.client import Client url = 'http://localhost:7080/webservices/WebServiceTestBean?wsdl' client = Client(url) I currently have the WSDL file on my file system. …
Thierry Lam
  • 45,304
  • 42
  • 117
  • 144
41
votes
7 answers

REST web service WSDL?

I am implementing a web service and I have implemented both a REST and SOAP version to see which suited my needs.I have decided to choose REST because of its simplicity and that I will probably be developing an iPhone app to consume it. My question…
Ian
  • 745
  • 2
  • 10
  • 20
40
votes
3 answers

targetNamespace and namespace in WSDL

I am studying SOAP web services and I am really new to Web Services. In the WSDL I got a little confused with regards to the targetNamespace element in the definition and the namespace included in the xsd:schema.
Dilan
  • 1,389
  • 5
  • 14
  • 24
40
votes
16 answers

SoapUI "failed to load url" error when loading WSDL

I keep having some weird problems. The main one is that I keep getting the following error when trying to add a WSDL to a new project: Error loading [https://.../token?wsdl]: java.lang.Exception: Failed to load url; https://.../token?wsdl, 0…
Pancho
  • 506
  • 1
  • 4
  • 9
39
votes
2 answers

MinOccurs 0 and nillable true

In my wsdl I have an element: I know that the nillable true allows null values does this means that it can allow xml empty tag? i.e
SpongebobJunior
  • 601
  • 1
  • 9
  • 24
39
votes
2 answers

Create python soap server based on wsdl

I have an wsdl file describing the communication server-client on a Java product. I'm implementing a new server based on Python that will implement the same services. Do you know of any method to create the Python server code based on the wsdl, that…
inversus
  • 1,287
  • 2
  • 15
  • 27