Re: SOAP testing

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, <).

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 UTC