I need to create WSDL file for RPC/Encoding soap implementation.
To learn how to create the WSDL I took an Example 5. SOAP binding of request-response RPC operation over HTTP from Web Services Description Language (WSDL) 1.1 specification
and tried to run WSDL.exe for the file.
I have to fix couple simple errors
1. removed wsdl: from wsdl:arrayType
2. Changed StockQuoteBinding to StockQuoteSoapBinding in <port name="StockQuotePort" binding="tns:StockQuoteBinding">
And then I've got the error: -
The operation 'GetLastTradePrice' on portType 'StockQuotePortType' from namespace 'http://example.com/stockquote.wsdl' had the following syntax error: The operation has no matching binding. Check if the operation, input and output names in the Binding section match with the corresponding names in the PortType section.
I gave up to fix the sample from standard specification that doesn't work.
It is quite annoying.
posted @ Wednesday, June 06, 2007 12:24 AM