Matthew J. Graham wrote:
Thanks for the response: I now have a basic web service, however, the response seems to be dropping the root element of the soapenv:Body contents.
Hi Matthew,
By default with an RPC-style Web service, the root element under <soapenv:Body> is the name of the method you called with a "Return" in the end. Since you in general you not interested in that element, by default we only return the content of this "Return" element. To have access to that element, or for that mater any part of the SOAP envelope, use the select attribute on the <operation> element. For instance you could call the "random quote" service with:
<service id="quotes" type="webservice" style="rpc"
endpoint="http://www.scdi.org/~avernet/webservice/">
<operation nsuri="urn:avernet" name="getRandomQuote"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
select="/SOAP-ENV:Envelope/SOAP-ENV:Body/*"/>
</service>And you would get this output:
<ns4:getRandomQuoteResponse>
<return>
<body>There are lies, damned lies, and statistics!</body>
<source>B. Disraeli</source>
</return>
</ns4:getRandomQuoteResponse>Alex
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user
