W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2007

Re: SOAP testing

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Thu, 20 Sep 2007 16:09:13 +0100
Message-ID: <46F28D19.4090905@hp.com>
To: 'RDF Data Access Working Group' <public-rdf-dawg@w3.org>
CC: imitko@openlinksw.co.uk

Good news:

With help from Mitko Iliev from OpenLinkSW, who deployed a SOAP 1.1 endpoint 
at http://demo.openlinksw.com/sparql, I have successfully sent a remote SOAP 
requests and got some answers back.

Minor bad news:

I get back some bad XML (as captured directly on the link by tcpmon).  There 
is no XML escaping applied to the results which makes it not conform to the 
SPARQL XML Results schema.

XML or HTML content inside literals needs escaping (at the minimum, &lt;).

example: I get back:

    <binding name="z"><literal><a 
href="http://woodcutters.meard.org/gallery/v/IMG_3999-woodcutter10.jpg.html"><img 
border="0" 
src="http://woodcutters.meard.org/gallery/d/41-2/IMG_3999-woodcutter10.jpg" 
width="100" height="150" /></a></literal></binding>


aside from the lack of datatype :-) this should be XML text, not nested 
elements, to be valid with respect to the schema as the content of <literal> 
which is defined as text only, no nested elements (RELAXNG):

literal = element res:literal {
     datatypeAttr?, xmlLang?,
     text
}

	Andy

Seaborne, Andy wrote:
> ACTION: AndyS to try SOAP protocol tests against Joseki and Virtuoso endpoints
> 
> 
> These two systems use different versions of SOAP (Joseki uses v1.1, Virtuoso 
> uses v1.2) and can't currently interoperate.  SOAP 1.2 became a REC in April 
> 2007 and I used Axis1 (hence SOAP 1.1) to produce the Joseki prototype. 
> Completion of my action will be delayed until I port my code to SOAP 1.2.  A 
> small matter of programming [*].
> 
> 	Andy
> 
> [*] http://en.wikipedia.org/wiki/Small_matter_of_programming
> 

-- 
Hewlett-Packard Limited
Registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England
Received on Thursday, 20 September 2007 15:09:29 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:37 GMT