Error in sparql-protocol-query.wsdl detected by Apache Woden

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:36 UTC