A XSD describes aspects of DATA , such as the data aspects of a webservice call, while WSDL describes the purpose of web services (method calls). Usually you cannot determine method calls from your data.
Check out Cheeso and Marc reviews on Creating WSDL from an XSD File
EDIT: source
message describes the exchange of data between the web service provider and the consumer, and each web service has two messages: 1) input: web service settings 2) output: return data from the web service
Each message has zero or more part parameters (one for each parameter of the web service function). Each part parameter is associated with a specific type defined in the types container element.
<message name="SayHelloRequest"> <part name="firstName" type="xsd:string"/> </message> <message name="SayHelloResponse"> <part name="greeting" type="xsd:string"/> </message>
Two message elements are defined here. The first is a SayHelloRequest request message, and the second is a SayHelloResponse response message.
Each of these messages contains an element with one part. For the request, the part indicates the parameters of the function; in this case we will specify one parameter firstName. For the answer, the part indicates the values ββof the returned function; in this case, we will indicate one return value for the greeting.
source share