HTTP Extensions Fail To Parse SparqlQuery-1G Correctly
------------------------------------------------------
Key: WODEN-23
URL: http://issues.apache.org/jira/browse/WODEN-23
Project: Woden
Type: Bug
Components: Parser
Reporter: Arthur Ryman
The parser is missing the whttp: extensions present in the test doucment and is
adding in default values elsewhere. For example, consider:
<!-- the HTTP GET binding for query operation -->
<binding name="queryHttpGet" interface="tns:SparqlQuery"
type="http://www.w3.org/2006/01/wsdl/http" whttp:version="1.1">
<fault ref="tns:MalformedQuery" whttp:code="400" />
<fault ref="tns:QueryRequestRefused" whttp:code="500" />
<operation ref="tns:query" whttp:method="GET"
whttp:faultSerialization="*/*"
whttp:inputSerialization="application/x-www-form-urlencoded"
whttp:outputSerialization="application/sparql-results+xml, application/rdf+xml,
*/*" />
</binding>
I get the following dump:
<bindingComponent xml:id='id-633421438'>
<name>
<cmbase:namespaceName>http://www.w3.org/2005/08/sparql-protocol-query/#</cmbase:namespaceName>
<cmbase:localName>queryHttpGet</cmbase:localName>
</name>
<interface ref='id-608796286'/>
<type>http://www.w3.org/2006/01/wsdl/http</type>
<bindingFaults>
<bindingFaultComponent xml:id='id-629620350'>
<interfaceFault ref='id-605060734'/>
<parent ref='id-633421438'/>
<cmhttp:httpErrorStatusCode>
<cmhttp:code>400</cmhttp:code>
</cmhttp:httpErrorStatusCode>
</bindingFaultComponent>
<bindingFaultComponent xml:id='id-643006078'>
<interfaceFault ref='id-607501950'/>
<parent ref='id-633421438'/>
<cmhttp:httpErrorStatusCode>
<cmhttp:code>500</cmhttp:code>
</cmhttp:httpErrorStatusCode>
</bindingFaultComponent>
</bindingFaults>
<bindingOperations>
<bindingOperationComponent xml:id='id-645709438'>
<interfaceOperation ref='id-618331774'/>
<parent ref='id-633421438'/>
</bindingOperationComponent>
</bindingOperations>
<cmhttp:httpCookies>false</cmhttp:httpCookies>
<cmhttp:httpQueryParameterSeparatorDefault>&</cmhttp:httpQueryParameterSeparatorDefault>
</bindingComponent>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]