Usually, when sending data from a form to a web service, you should consider
using microsoft's soapclient.  You're trying to create a soap envenlope, and
that's actually a dtd within the xml specification.

Here's some code to get you started:

<cftry>
<cfobject action="CREATE" type="COM" name="SOAPClient"
class="MSSOAP.SOAPCLient">
        <cfcatch><cfobject action="CONNECT" type="COM" name="SOAPClient"
class="MSSOAP.SOAPCLient"></cfcatch>
</cftry>


<cfset myClient = SOAPClient.mssoapinit("https://somfile.wsdl","","","";)>
<cfoutput>#myClient#</cfoutput>

<cfset temp = SOAPClient.start("[EMAIL PROTECTED]", "password",
"CKEY1SZZ9R4YW88KI")>

This method works for almost all situations except where complex types are
used.  MSSOAP.SoapClient currently lacks in the support of complex types.

Good luck...

-----Original Message-----
From: Jill Robin Pascua [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 06, 2001 12:28 PM
To: CF-Talk
Subject: custom tag that creates XML?


I'm trying to send data from a form to a service that
needs the data in an xml format.  Do you know of a
custom tag that can create xml formatted data?  I
would use the <CFWDDX> tag, but the service can't
parce wddx packets.

Thanks!
- JR 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to