<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>4458</bug_id>
          
          <creation_ts>2007-04-11 16:11:45 +0000</creation_ts>
          <short_desc>Multiple whttp:inputSerialization</short_desc>
          <delta_ts>2007-04-19 16:12:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WSDL</product>
          <component>Adjuncts</component>
          <version>2.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/public-ws-desc-comments/2007Mar/0009.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Marsh">jonathan</reporter>
          <assigned_to name="Philippe Le Hegaret">plh</assigned_to>
          
          
          <qa_contact name="WSDL Mailing List">www-ws-desc</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14695</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Marsh">jonathan</who>
    <bug_when>2007-04-11 16:11:45 +0000</bug_when>
    <thetext>I&apos;m currently one of the SPARQL protocol editors and we have received a
request [1] to add support for an additional input serialization and am
seeking your advice. We have done a review of the current documents [2] to
see if this is possible but we were unable to come up with a solution and
are hoping you can help us.  Ideally, we would like to know how to add
support for both application/x-www-form-urlencoded and
application/sparql-query in our query operation [3].

Additionally, my colleague Lee Feigenbaum believes we also support an XML
version of our x-www-form-urlencoded data by virtue of our WSDL defining
the input message parts via a reference to an XML schema element (&lt;input
... element=&quot;st:query-request&quot;/&gt;), the query message has a message content
model of &quot;element&quot;. Turning to:

6.3.2.1 Serialization rules for XML messages (
http://www.w3.org/TR/wsdl20-adjuncts/#_http_binding_default_rule_psf ), we
see that there are serialization rules given explicitly for
application/xml. These rules are at
http://www.w3.org/TR/wsdl20-adjuncts/#_http_operation_xml_encoding and say
that serializing a message as application/xml means that the message&apos;s
instance data is serialized as Canonical XML. Further, the instance data is
explicitly defined (
http://www.w3.org/TR/wsdl20-adjuncts/#instance_data ) to be &quot;The internal
tree representation of an input...constrained by...the XML element
referenced in the {element declaration} property of the Interface Message
Reference component&quot;.

As I read it, this means that the inclusion of application/xml amongst our
inputSerialization allows for POSTed content that looks like:

&lt;st:query-request&gt;
  &lt;st:query&gt;SELECT * WHERE { ... } &lt;/st:query&gt;
  &lt;st:default-graph-uri&gt;http://example.org/graph1&lt;/st:default-graph-uri&gt;
  &lt;st:default-graph-uri&gt;http://example.org/graph2&lt;/st:default-graph-uri&gt;
  &lt;st:named-graph-uri&gt;http://example.org/graph3&lt;/st:named-graph-uri&gt;
&lt;/st:query-request&gt;

However, we don&apos;t believe that this was our intention, furthermore, our
real interest is whether we can use multiple whttp:inputSerialization
values to add support for POSTing application/sparql-query documents.

Thanks,

Elias Torres on behalf of the DAWG.

[1]
http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2006Sep/0007
[2] http://lists.w3.org/Archives/Public/public-rdf-dawg/2007JanMar/0112
[3] http://www.w3.org/TR/rdf-sparql-protocol/sparql-protocol-query.wsdl
[4] http://www.w3.org/TR/rdf-sparql-protocol/sparql-protocol-types.xsd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14779</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Marsh">jonathan</who>
    <bug_when>2007-04-19 16:12:39 +0000</bug_when>
    <thetext>Close with no action on the WSDL spec.  Jonathan will follow up with commenter to explain the options for extending WSDL in this way.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>