<code_snippet source="fekke.com/blog">

<script>
var dsData = new Spry.Data.XMLDataSet("http://www.fekke.com/com/SpockWS.cfc";,
"/soapenv:Envelope/soapenv:Body/ns1:getQuoteResponse/getQuoteReturn", { method:
"POST", postData: '<?xml version="1.0" encoding="UTF-8"
standalone="no"?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://com";
xmlns:intf="http://com";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns1="http://rpc.xml.coldfusion";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
<SOAP-ENV:Body><mns:getQuote xmlns:mns="http://com";
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";></mns:getQuote></SOAP-ENV:Body></SOAP-ENV:Envelope>',
headers: { "Content-Type": "text/xml; charset=utf-8", "SOAPAction":
"http://localhost:8300/com/SpockWS/getQuote"; } , useCache: false });
dsData.startLoadInterval(10000);
</script>


</code_snippet>



There has to be an easier and prettier way of calling a webservice from spry,
any ideas?



-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------



Reply via email to