relaxedrob
Usenet Archive
- Joined
- Aug 5, 2003
- Messages
- 22
- Reaction score
- 0
Hi All!
I ran the following w3c example through my WSDL parser (SOA Editor from Cape Clear):
http://www.w3.org/TR/wsdl#_rpcexample
It told me that there were a bunch of erros about no timeInstant or float defined in the xsd namespace:
"http://www.w3.org/2000/10/XMLSchema".
Is the editor wrong? Is W3C wrong? Or am I missing something big?
Also, why does the W3C example *not* import a WSDL namespace like this:
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" and then use it for the WSDL elements? How can the document be valid if no WSDL namespace is given?
Any advice would be most appreciated!
Below is a full list of the errors SOA Editor found with W3C's example..
Rob

javax.swing.ImageIcon@1a3a52c Warning : 1203 : There is no type [{http://www.w3.org/2000/10/XMLSchema}float] defined for the part [Part: name=result typeName={http://www.w3.org/2000/10/XMLSchema}float] in the message [Message: name={http://example.com/stockquote.wsdl}GetTradePriceOutput
Part: name=result
typeName={http://www.w3.org/2000/10/XMLSchema}float] in the WSDL. javax.swing.ImageIcon@b0f2b2 Warning : 1203 : There is no type [{http://www.w3.org/2000/10/XMLSchema}string] defined for the part [Part: name=tickerSymbol elementName={http://www.w3.org/2000/10/XMLSchema}string] in the message [Message: name={http://example.com/stockquote.wsdl}GetTradePriceInput
Part: name=time
elementName={http://www.w3.org/2000/10/XMLSchema}timeInstant
Part: name=tickerSymbol
elementName={http://www.w3.org/2000/10/XMLSchema}string] in the WSDL. javax.swing.ImageIcon@10dbef1 Warning : 1203 : There is no type [{http://www.w3.org/2000/10/XMLSchema}timeInstant] defined for the part [Part: name=time elementName={http://www.w3.org/2000/10/XMLSchema}timeInstant] in the message [Message: name={http://example.com/stockquote.wsdl}GetTradePriceInput
Part: name=time
elementName={http://www.w3.org/2000/10/XMLSchema}timeInstant
Part: name=tickerSymbol
elementName={http://www.w3.org/2000/10/XMLSchema}string] in the WSDL. javax.swing.ImageIcon@172e08e Warning : 1603 : There is no binding [Binding: name={http://example.com/stockquote.wsdl}StockQuoteBinding] defined for the port [Port: name=StockQuotePort
Binding: name={http://example.com/stockquote.wsdl}StockQuoteBinding SOAPAddress ({http://schemas.xmlsoap.org/wsdl/soap/}address):
required=null
locationURI=http://example.com/stockquote] in the service [Service:
name={http://example.com/stockquote.wsdl}StockQuoteService
Port: name=StockQuotePort
Binding: name={http://example.com/stockquote.wsdl}StockQuoteBinding SOAPAddress ({http://schemas.xmlsoap.org/wsdl/soap/}address):
required=null
locationURI=http://example.com/stockquote] in the WSDL.
I ran the following w3c example through my WSDL parser (SOA Editor from Cape Clear):
http://www.w3.org/TR/wsdl#_rpcexample
It told me that there were a bunch of erros about no timeInstant or float defined in the xsd namespace:
"http://www.w3.org/2000/10/XMLSchema".
Is the editor wrong? Is W3C wrong? Or am I missing something big?
Also, why does the W3C example *not* import a WSDL namespace like this:
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" and then use it for the WSDL elements? How can the document be valid if no WSDL namespace is given?
Any advice would be most appreciated!
Below is a full list of the errors SOA Editor found with W3C's example..
Rob
javax.swing.ImageIcon@1a3a52c Warning : 1203 : There is no type [{http://www.w3.org/2000/10/XMLSchema}float] defined for the part [Part: name=result typeName={http://www.w3.org/2000/10/XMLSchema}float] in the message [Message: name={http://example.com/stockquote.wsdl}GetTradePriceOutput
Part: name=result
typeName={http://www.w3.org/2000/10/XMLSchema}float] in the WSDL. javax.swing.ImageIcon@b0f2b2 Warning : 1203 : There is no type [{http://www.w3.org/2000/10/XMLSchema}string] defined for the part [Part: name=tickerSymbol elementName={http://www.w3.org/2000/10/XMLSchema}string] in the message [Message: name={http://example.com/stockquote.wsdl}GetTradePriceInput
Part: name=time
elementName={http://www.w3.org/2000/10/XMLSchema}timeInstant
Part: name=tickerSymbol
elementName={http://www.w3.org/2000/10/XMLSchema}string] in the WSDL. javax.swing.ImageIcon@10dbef1 Warning : 1203 : There is no type [{http://www.w3.org/2000/10/XMLSchema}timeInstant] defined for the part [Part: name=time elementName={http://www.w3.org/2000/10/XMLSchema}timeInstant] in the message [Message: name={http://example.com/stockquote.wsdl}GetTradePriceInput
Part: name=time
elementName={http://www.w3.org/2000/10/XMLSchema}timeInstant
Part: name=tickerSymbol
elementName={http://www.w3.org/2000/10/XMLSchema}string] in the WSDL. javax.swing.ImageIcon@172e08e Warning : 1603 : There is no binding [Binding: name={http://example.com/stockquote.wsdl}StockQuoteBinding] defined for the port [Port: name=StockQuotePort
Binding: name={http://example.com/stockquote.wsdl}StockQuoteBinding SOAPAddress ({http://schemas.xmlsoap.org/wsdl/soap/}address):
required=null
locationURI=http://example.com/stockquote] in the service [Service:
name={http://example.com/stockquote.wsdl}StockQuoteService
Port: name=StockQuotePort
Binding: name={http://example.com/stockquote.wsdl}StockQuoteBinding SOAPAddress ({http://schemas.xmlsoap.org/wsdl/soap/}address):
required=null
locationURI=http://example.com/stockquote] in the WSDL.