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="htt p://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.Ima geIcon@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 }GetTradePriceO utput
Part: name=result
typeName={http://www.w3.org/2000/10/XMLSchema}float] in the WSDL.
javax.swing.Ima geIcon@b0f2b2 Warning : 1203 : There is no type
[{http://www.w3.org/2000/10/XMLSchema}strin g] defined for the part
[Part: name=tickerSymb ol
elementName={ht tp://www.w3.org/2000/10/XMLSchema}strin g] in the
message [Message: name={http://example.com/stockquote.wsdl }GetTradePriceI nput
Part: name=time
elementName={ht tp://www.w3.org/2000/10/XMLSchema}timeI nstant
Part: name=tickerSymb ol
elementName={ht tp://www.w3.org/2000/10/XMLSchema}strin g] in the WSDL.
javax.swing.Ima geIcon@10dbef1 Warning : 1203 : There is no type
[{http://www.w3.org/2000/10/XMLSchema}timeI nstant] defined for the
part [Part: name=time
elementName={ht tp://www.w3.org/2000/10/XMLSchema}timeI nstant] in the
message [Message: name={http://example.com/stockquote.wsdl }GetTradePriceI nput
Part: name=time
elementName={ht tp://www.w3.org/2000/10/XMLSchema}timeI nstant
Part: name=tickerSymb ol
elementName={ht tp://www.w3.org/2000/10/XMLSchema}strin g] in the WSDL.
javax.swing.Ima geIcon@172e08e Warning : 1603 : There is no binding
[Binding: name={http://example.com/stockquote.wsdl }StockQuoteBind ing]
defined for the port [Port: name=StockQuote Port
Binding: name={http://example.com/stockquote.wsdl }StockQuoteBind ing
SOAPAddress ({http://schemas.xmlsoap .org/wsdl/soap/}address):
required=null
locationURI=htt p://example.com/stockquote] in the service [Service:
name={http://example.com/stockquote.wsdl }StockQuoteServ ice
Port: name=StockQuote Port
Binding: name={http://example.com/stockquote.wsdl }StockQuoteBind ing
SOAPAddress ({http://schemas.xmlsoap .org/wsdl/soap/}address):
required=null
locationURI=htt p://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="htt p://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.Ima geIcon@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 }GetTradePriceO utput
Part: name=result
typeName={http://www.w3.org/2000/10/XMLSchema}float] in the WSDL.
javax.swing.Ima geIcon@b0f2b2 Warning : 1203 : There is no type
[{http://www.w3.org/2000/10/XMLSchema}strin g] defined for the part
[Part: name=tickerSymb ol
elementName={ht tp://www.w3.org/2000/10/XMLSchema}strin g] in the
message [Message: name={http://example.com/stockquote.wsdl }GetTradePriceI nput
Part: name=time
elementName={ht tp://www.w3.org/2000/10/XMLSchema}timeI nstant
Part: name=tickerSymb ol
elementName={ht tp://www.w3.org/2000/10/XMLSchema}strin g] in the WSDL.
javax.swing.Ima geIcon@10dbef1 Warning : 1203 : There is no type
[{http://www.w3.org/2000/10/XMLSchema}timeI nstant] defined for the
part [Part: name=time
elementName={ht tp://www.w3.org/2000/10/XMLSchema}timeI nstant] in the
message [Message: name={http://example.com/stockquote.wsdl }GetTradePriceI nput
Part: name=time
elementName={ht tp://www.w3.org/2000/10/XMLSchema}timeI nstant
Part: name=tickerSymb ol
elementName={ht tp://www.w3.org/2000/10/XMLSchema}strin g] in the WSDL.
javax.swing.Ima geIcon@172e08e Warning : 1603 : There is no binding
[Binding: name={http://example.com/stockquote.wsdl }StockQuoteBind ing]
defined for the port [Port: name=StockQuote Port
Binding: name={http://example.com/stockquote.wsdl }StockQuoteBind ing
SOAPAddress ({http://schemas.xmlsoap .org/wsdl/soap/}address):
required=null
locationURI=htt p://example.com/stockquote] in the service [Service:
name={http://example.com/stockquote.wsdl }StockQuoteServ ice
Port: name=StockQuote Port
Binding: name={http://example.com/stockquote.wsdl }StockQuoteBind ing
SOAPAddress ({http://schemas.xmlsoap .org/wsdl/soap/}address):
required=null
locationURI=htt p://example.com/stockquote] in the WSDL.
Comment