RE: WSDL example at http://www.w3.org/TR/wsdl

"Liu, Kevin" <[email protected]>
Newsgroups gmane.comp.web.services.general
Message-ID <[email protected]>
That's right, Anne.
 
Jesper, you may want to have a look at the WS-I Basic Profile which provides many fixes to WSDL 1.1 spec. 

Best Regards,
Kevin
  

 


________________________________

	From: [email protected] [mailto:[email protected]] On Behalf Of Anne Thomas Manes
	Sent: Tuesday, Dec 20, 2005 9:28 AM
	To: Jesper Sørensen
	Cc: [email protected]
	Subject: Re: WSDL example at http://www.w3.org/TR/wsdl
	
	
	This is one of many known errors in the spec. Keep in mind that the WSDL 1.1 spec is a W3C Note, not a vetted standard (known as a Recommendation in W3C parlance). There is no plan to update the WSDL 1.1 spec to correct its many errors. The WSDL Working Group is developing WSDL 2.0. 
	
	Anne 
	
	
	On 12/20/05, Jesper Sørensen <[email protected]> wrote: 

		I am currently digging into Web Service and was reading the :

		 

		Web Services Description Language (WSDL) 1.1

		W3C Note 15 March 2001

		 

		at   http://www.w3.org/TR/wsdl <http://www.w3.org/TR/wsdl> 

		 

		 

		 

		In example 1 :   Example 1 SOAP 1.1 Request/Response via HTTP

		 

		The Service definition, at the end of the example, points to a Binding called "StockQuoteBinding" :

		 

		<service name="StockQuoteService">

		     <documentation>My first service</documentation>

		     <port name="StockQuotePort" binding="tns:StockQuoteBinding">

		          <soap:address location="http://example.com/stockquote"/ <http://example.com/stockquote%22/> >

		     </port>

		</service>

		 

		 

		But in the definition of bindings only a "StockQuoteSoapBinding" exist : 

		 

		    <binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType">

		        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/ <http://schemas.xmlsoap.org/soap/http%22/> >

		        <operation name="GetLastTradePrice">

		           <soap:operation soapAction=" http://example.com/GetLastTradePrice"/ <http://example.com/GetLastTradePrice%22/> >

		           <input>

		               <soap:body use="literal"/>

		           </input>

		           <output>

		               <soap:body use="literal"/>

		           </output>

		        </operation>

		    </binding>

		 

		 

		Is it just me or should it have been StockQuoteSoapBinding that was to referenced In the Service Definition "StockQuoteService" ?????

		 

		Regards 

		Jesper
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.