Well, my service parameter are like this: xsd:element name="queryOntology"> <xsd:complexType> <xsd:sequence> <xsd:element name="sparqlQuery" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element>
<wsdl:operation name="queryContext"> <soap:operation soapAction="http://www-mmt.inf.tu-dresden.de/CroCo/queryContext" style="document"/> <wsdl:input> <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> a SPARQL Query looks like this: SELECT ?title WHERE {<http://example.org/book/book1> <http://purl.org/dc/elements/1.1/title> ?title .} and the message handling at the server is like this: public OMElement queryOntology(OMElement queryOntologyRequestElement) throws XMLStreamException, ParseException { queryOntologyRequestElement.build(); queryOntologyRequestElement.detach(); OMElement root = queryOntologyRequestElement; String sparqlQuery = root.getFirstChildWithName(new QName("sparqlQuery")).getText(); But I have to escape all the Tags of the included param. J. Hondius wrote: > > I send xml string as a param no problem. > Is the parameter type "String"? > -- View this message in context: http://www.nabble.com/XML-string-as-Payload--tp24400713p24476800.html Sent from the Axis - User mailing list archive at Nabble.com.
