- From: Arthur Ryman <ryman@ca.ibm.com>
- Date: Wed, 26 Apr 2006 17:17:20 -0400
- To: public-rdf-dawg-comments@w3.org, www-ws-desc@w3.org
- Cc: woden-dev@ws.apache.org
- Message-ID: <OF62DC69EA.EFC3B04C-ON8525715C.0072BA27-8525715C.0074F0F9@ca.ibm.com>
I've been testing your WSDL [1] using Apache Woden and noticed a small error. The namepace on the SOAP fault codes is wrong. The error is in your SOAP binding for the faults: <binding name="querySoap" interface="tns:SparqlQuery" type=" http://www.w3.org/2006/01/wsdl/soap" wsoap:version="1.2" wsoap:protocol=" http://www.w3.org/2003/05/soap/bindings/HTTP"> <fault ref="tns:MalformedQuery" wsoap:code="wsoap:Sender" /> <fault ref="tns:QueryRequestRefused" wsoap:code="wsoap:Sender" /> <operation ref="tns:query" wsoap:mep=" http://www.w3.org/2003/05/soap/mep/request-response" /> </binding> The wsoap namespace prefix is defined to be the WSDL 2.0 SOAP bining namespace - xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap" However, the SOAP fault codes are part of the SOAP envelope namespace. The binding should be: <binding name="querySoap" interface="tns:SparqlQuery" type=" http://www.w3.org/2006/01/wsdl/soap" wsoap:version="1.2" wsoap:protocol=" http://www.w3.org/2003/05/soap/bindings/HTTP"> <fault ref="tns:MalformedQuery" wsoap:code="soap:Sender" /> <fault ref="tns:QueryRequestRefused" wsoap:code="soap:Sender" /> <operation ref="tns:query" wsoap:mep=" http://www.w3.org/2003/05/soap/mep/request-response" /> </binding> with the following prefix - xmlns:soap="http://www.w3.org/2003/05/soap-envelope" This was hard to spot visually. Kudos to the Woden team for making great progress on the WSDL 2.0 validator! [1] http://www.w3.org/TR/rdf-sparql-protocol/sparql-protocol-query.wsdl Arthur Ryman, IBM Software Group, Rational Division blog: http://ryman.eclipsedevelopersjournal.com/ phone: +1-905-413-3077, TL 969-3077 assistant: +1-905-413-2411, TL 969-2411 fax: +1-905-413-4920, TL 969-4920 mobile: +1-416-939-5063, text: 4169395063@fido.ca
Received on Wednesday, 26 April 2006 21:17:33 UTC