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
17
votes
2 answers

wsimport "Cannot resolve the name..."

I've been trying to import the following web service: http://soap.genome.jp/KEGG.wsdl with ${JAVA_HOME}/bin/wsimport: wsimport -version JAX-WS RI 2.1.6 in JDK 6 but I got the following error: parsing WSDL... [WARNING] src-resolve: Cannot resolve…
Pierre
  • 34,472
  • 31
  • 113
  • 192
17
votes
1 answer

What is the WSDL declaration for an array of integers?

The SOAP specs are confusing, numerous, and available in multiple versions, and my soap library's WSDL generator is buggy. What's the correct WSDL for an array of integers? Could it be:
joeforker
  • 40,459
  • 37
  • 151
  • 246
17
votes
1 answer

php - access dynamics crm 2011 with web services

I have to access leads (create new lead and get the list) in crm 2011 through the web services. I already made an app in c#/asp.net(it works) but now i have to do it in php and i'm stuck. i try: https://code.google.com/p/php-dynamics-crm-2011/ but…
jvo
  • 327
  • 2
  • 7
17
votes
3 answers

How to Retrieve a Single-File WSDL for a WCF Service (Flat WSDL)

i need single file wsdl, how to build single file wsdl? Thanks.
Zeki
16
votes
3 answers

Specifying Package Name When Using Maven to Generate Java from WSDL

I am using a maven script to generate the Java code I need to communicate with a WCF service. I have gotten communication working and am ready to integrate my maven script, and the code it generates, with the rest of the java code from the…
crdzoba
  • 651
  • 1
  • 7
  • 20
16
votes
3 answers

Maven - how to handle generated classes

My dilemma is that I have my doubts regarding generated source files in maven. I'm trying to generate some classes from a WSDL and I don't really know what is the standard way to handle the resulting source files. Where should I generate the .java…
nihilist84
  • 1,191
  • 3
  • 11
  • 20
16
votes
3 answers

Relative WSDL soap:address location

Can I have the soap:address location in a WSDL relative to the WSDL location, or at least relative to the server? For instance I want to write: as:
Mihai
  • 161
  • 1
  • 1
  • 3
16
votes
2 answers

C# client how to invoke wsdl file

My customer gave me a .wsdl file to access their webservices. Using VS2008 I can create a project, but I don't know how to use the .wsdl file in it.
Gatspy
  • 1,642
  • 3
  • 13
  • 13
16
votes
5 answers

WCF Serialization problems with WSDL file created by Java tools

My team is tasked with getting several in-house developed .NET client applications to connect to some new Java web services. The Java web service is a third party, vendor supplied WSDL file that our team has a limited ability to…
John K.
  • 351
  • 1
  • 6
  • 16
16
votes
4 answers

Force re-cache of WSDL in php

I know how to disable WSDL-cache in PHP, but what about force a re-caching of the WSDL? This is what i tried: I run my code with caching set to disabled, and the new methods showed up as espected. Then I activated caching, but of some reason my old…
qualbeen
  • 1,534
  • 4
  • 16
  • 27
16
votes
5 answers

wsimport not working

When I try to use wsimport using the below command from command prompt, it's working fine: wsimport -d generated C:\Users\generated\wsdlfile.xml However, when I try to use wsimport as below, it's throwing the following error: wsimport -d generated…
Kartic
  • 2,935
  • 5
  • 22
  • 43
16
votes
3 answers

/sharedtypes equivalent for svcutil.exe?

Building an app that is relying on a 3rd party provider who has a very verbose set of SOAP services (we're talking 50+ WSDL files). Each individual WSDL however has numerous shared type declarations. When generating client code with wsdl.exe,…
bakasan
  • 2,262
  • 2
  • 26
  • 33
16
votes
1 answer

Error parsing WSDL with exception use="encoded"

Everytime I run wsimport, I get this error: [ERROR] "Use of SOAP Encoding is not supported. SOAP extension element on line 65 in file:dummy.wsdl has use="encoded" " Failed to parse the WSDL. WSDL (error block):
ddss
  • 393
  • 1
  • 2
  • 7
16
votes
3 answers

Pass parameter as an object[]

I wish to use this API with a c# application: http://www.affjet.com/2012/11/26/4-4-affjet-api/#more-3099 After adding the wsdl to my projcet i wrote this simple code : (getTransactions gets a object[] @params and returns a string) Ws_ApiService…
Matan L
  • 997
  • 3
  • 14
  • 35
16
votes
2 answers

How can I force WCF to autogenerate WSDLs with required method parameters (minoccurs="1")?

While using WCF and OperationContracts I have the following method defined: [OperationContract] [FaultContract(typeof(ValidationFault))] [FaultContract(typeof(FaultException))] int DoSomething(int someId,…
DavidWhitney
  • 4,290
  • 4
  • 24
  • 30