Hi everyone,
I want to deploy web services that consume and produce RDF content. Istm that I basically want the 'message' style of web service interaction, since I will use an RDF parser/emitter to directly generate the XML body of messages. What I'm not sure about, however, is how to describe in a WSDL file that the service expects an rdf:RDF element as the soap body (noting that RDF doesn't have an XML schema due to its, er, interesting syntax), but I don't want the body to be converted to/from Java by Axis. The closest I've come, and it's not very close, is:


<wsdl:types>
 <xsd:schema targetNamespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
    <xsd:element name="RDF" type="xsd:anyType"/>
 </xsd:schema>
</wsdl:types>

If anyone has any experience of declaring RDF content in WSDL I'd appreciate hearing about it.

The other part that I don't quite understand is how to expose in WSDL that the service is using the 'messaging' style. The combinations of SOAP style and use attributes get the various rpc/encoded, doc/literal combinations, but I don't see how to specify 'none of the above'! I looked at the samples/message Axis sample, but there's no WSDL file there. Presumably it's reasonable that even message-style services should be describable in WSDL? Or am I missing something fundamental?

Thanks in advance,
Ian

_______________________________________________________________________
Ian Dickinson    HP Labs, Bristol, UK       mailto:[EMAIL PROTECTED]
http://www.hpl.hp.com/people/Ian_Dickinson         ph: +44 117 312 8796

Reply via email to