http://torchbox.com/xml
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lomvardias,
Christopher
Sent: 03 August 2001 14:23
To: ''[EMAIL PROTECTED]' '
Cc: 'Maddison, David '
Subject: RE: [cf-xml] anyone using ServerXMLHTTP
New WebServices toolkit for CF? Where can I get my hands on that?
Thanks,
Chris
-----Original Message-----
From: Maddison, David
To: '[EMAIL PROTECTED]'
Sent: 8/3/01 5:35 AM
Subject: RE: [cf-xml] anyone using ServerXMLHTTP
Yep, I'm using ServerXMLHTTP to implement the new WebServices toolkit
for
CF. Works well.
Quick example :
<!--- Create the SOAP request --->
<CFSET xmlSOAPRequest='<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<tester:BabelFish xmlns:tester="urn:xmethodsBabelFish">
<translationmode>en_fr</translationmode>
<sourcedata>hello world</sourcedata>
</tester:BabelFish>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>'>
<!--- Create HTTP Requester --->
<CFOBJECT class="Msxml2.ServerXMLHTTP" Name="xmlHTTP" Action="Create">
<!--- Send the SOAP request --->
<CFSCRIPT>
xmlHTTP.Open("POST","http://services.xmethods.net:80/perl/soaplite.cgi",
fals
e,"","");
xmlHTTP.Send(xmlSOAPRequest);
xom = xmlHTTP.responseXML;
</CFSCRIPT>
<!--- Show the resulting XML (Requires the Torchbox XML Toolkit) --->
<CF_XMLDump Datasource="xom">
After running, the xom will be an MSXMLDOM object, so you can do
anything
you like! Just a few warnings so you don't make the same mistakes I did
:
1) The methods Open and Send MUST start with the capital letters, not
sure
why because COM shouldn't matter, but hey as long as you stick to that,
they'll work
2) If you want to use ServerXMLHTTP through a proxy server, you need to
run
the MS ProxyCfg tool. It's dead easy to use, the easiest option being
'ProxyCfg -u' which will set the proxy server to the same as your IE.
To
remove the proxy settings just run 'ProxyCfg -d'
ProxyCfg available from :
http://msdn.microsoft.com/msdn-files/027/001/468/search.asp
Have fun!
Dave Maddison, WildFusion
>> -----Original Message-----
>> From: Lomvardias, Christopher [mailto:[EMAIL PROTECTED]]
>> Sent: 26 July 2001 20:30
>> To: '[EMAIL PROTECTED]'
>> Subject: [cf-xml] anyone using ServerXMLHTTP to send XML to CF4.5?
>>
>>
>> This question is primarily focused on CF4.5, but I'm also
>> interested in
>> folks comments with respect to CF5.
>>
>> I'm curious if anyone has experimented with using
>> ServerXMLHTTP (MSXML3sp1)
>> to send XML to a CF template? I've been doing some testing
>> and discovered
>> some problems, however I have found a workaround for the
>> inability of CF to
>> read the body of the xml from the incoming XML stream.
>>
>>
>> Chris
>> ------------------------------------------------------------------
>> Chris Lomvardias
>> [EMAIL PROTECTED]
>> Syscom, Inc.
>> 400 E. Pratt Street, Suite 300
>> Baltimore, MD 21202
>> (410)539-3737 x1722 voice
>> (410)539-7302 fax
>> [EMAIL PROTECTED] (pager via email)
>> http://www.syscom.com/
>> ------------------------------------------------------------------
>>
>>
>> -----------------------+
>> cf-xml mailing list
>> [EMAIL PROTECTED]
>> http://torchbox.com/xml
>>
-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml
-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml
-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml