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
19
votes
3 answers

Consume webservice service in SPRING-WS using wsdl

I have WSDL with me .eg: /sample/hello?wsdl . I want to invoke the service the webservice by configuring in Spring-ws. I passed this wsdl as parameter to tags in springconfig.xml. Can anyone please tell me how to consume this webservice in…
pandeis
  • 367
  • 2
  • 5
  • 17
18
votes
4 answers

Can I globally set the timeout of HTTP connections?

I have a program that uses javax.xml.ws.Service to call a remote service defined by a WSDL. This program runs on the Google App Engine which, by default, sets the HTTP connection timeout to 5 seconds{1}. I need to increase this timeout value since…
Travis Webb
  • 14,688
  • 7
  • 55
  • 109
18
votes
3 answers

Instantiate JAX-WS service without downloading WSDL?

I have a web service that I have JAX-WS generated client bindings as below: // web service client generated by JAX-WS @WebServiceClient( ... ) public class WebService_Service extends Service { public WebService_Service(URL wsdlLocation, QName…
oconnor0
  • 3,154
  • 6
  • 34
  • 52
18
votes
3 answers

How to generate a WSDL file from a C# webservice

I've created a WebService like this: [WebService(Namespace = "http://ns")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class GroupManagerService : WebService { public GroupManagerService() { } [WebMethod] …
Stef Heyenrath
  • 9,335
  • 12
  • 66
  • 121
18
votes
1 answer

Understanding elementFormDefault qualified/unqualified when validating xml against a WSDL (xsd schema)

I'm trying to understand the implications of elementFormDefault="qualified/unqualified" in an XML schema which is embedded in WSDL (SOAP 1.1, WSDL 1). For example I have this schema inside a WSDL:
Felix Schwarz
  • 2,938
  • 4
  • 28
  • 41
18
votes
1 answer

Creating a SOAP client in java given a WSDL file

I have never used any SOAP libraries in java, so I apologize for the newby-ness of this question. I am trying to take advantage of Tivoli Endpoint Manager's SOAP API. I have generated the necessary classes from the WSDL file provided, using…
JaminB
  • 778
  • 3
  • 9
  • 20
18
votes
9 answers

Java Web Service error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

I have a problem creating and connecting a Java client to a running Web Service. I use the following code: Service myService = null; URL wsdlLocation = new URL("http://myservice?wsdl"); QName serviceName = new QName(wsdlLocation,…
Kumite
  • 2,129
  • 3
  • 15
  • 15
17
votes
5 answers

What's the purpose of minOccurs, nillable and restriction?

Documentation for required says: If required() is true, then Javabean property is mapped to an XML schema element declaration with minOccurs="1". maxOccurs is "1" for a single valued property and "unbounded" for a multivalued property. If…
falsarella
  • 12,217
  • 9
  • 69
  • 115
17
votes
3 answers

XML/WSDL Comparison tool

There is no surprise for those who work with web-services a lot that they get updated from time to time. And you always need to track changes of these updates. In my particular case I deal with web service defined by WSDL and I get classes generated…
Vladimir
  • 4,782
  • 7
  • 35
  • 56
17
votes
15 answers

The endpoint reference (EPR) for the Operation not found is

I have been struggling with the following error the last couple of days can you please help! I generated my server and client code using the wsdl2java tool from a wsdl 2.0 file. When invoking the webservice I am getting the following…
Denise Wu
  • 201
  • 1
  • 2
  • 6
17
votes
3 answers

Adding SOAP implicit headers to WSDL

My question is similar to this. How To Pass Soap Header When WSDL Doesn't Define It? But is different. For a web service I use, all methods need authentication which is sent in cleartext inside a SOAP header. However, my WSDL doesn't include any…
LVS
  • 555
  • 3
  • 9
  • 22
17
votes
1 answer

How can I mark a SOAP Header as optional in WSDL?

I have a wsdl with an optional header:
Tal Giladi
  • 181
  • 6
17
votes
6 answers

Invalid wsdl generated by spring-ws when the request element doesn't end with 'Request'

I must prepare a webservice to accept anan already defined wsdl structure. I followed the tutorial found here, with source code for the test project downloadable here. For xsd like this:
Dariusz
  • 21,561
  • 9
  • 74
  • 114
17
votes
1 answer

Elixir call Axis2 Java SOAP Web Service with detergentex and detergent

From Elixir, I am trying to call a SOAP Web Service with detergentex, which is a wrapper around the Erlang library detergent. I can call the SOAP Web Service in the example on the detergent home page with no problems:…
Svein Fidjestøl
  • 3,106
  • 2
  • 24
  • 40
17
votes
4 answers

Connect LinqPad to WCF webservice with ?wsdl URI query

I want to connect LinqPad to a WCF web service which exposes its WSDL information at a URI of the form http://server.example.com/Product/Service/Version/Soap11?wsdl. I can successfully add this URI as a Visual Studio WCF web service reference, and…
Hydrargyrum
  • 3,378
  • 4
  • 27
  • 41