Hmmm... Raymond.. I'm still a little confused.. so does this code go inside the HTML 
form tag??? OR

Does the form actually POST its info to a secondary page with this CFXML code in it 
and then upon completion of processing the CFXML code you provided it would then send 
it to the other server via CFHTTP?  IF that is the case how then do you send the new 
"packet" file via CFHTTP??

Thank you in advance too for your expedient reply.

B. Regards,

Shawn Contreras



>Shawn, let's start with how you could generate the XML packet. This is
>just one way:
>
>(Assume you have done your form checking already.)
>
><cfxml variable="packet">
> <ALERT_SUBSCRIPTION>
>    <COMPANY CORPORATE_MASTER_ID="#form.companycorporate_master_id#">
>         <MEMBERS>
>              <MEMBER>
>              <EMAIL_ADDRESS>#form.email#</EMAIL_ADDRESS>
>              <ALERTS>
>                     <ALERT SUBSCRIBE="<cfif
>isDefined("form.event")>YES<cfelse>NO</cfif>">EVENT</ALERT>
>                               <!--- repeat for other alerts --->
>              </ALERTS>
>              </MEMBER>
>         </MEMBERS>
>     </COMPANY>
> </ALERT_SUBSCRIPTION>
></cfxml>
> 
>Basically, you use <cfxml> and write out the XML packet as you need it,
>replacing hard coded values with form values. Once you have it, you can
>post it to the other server by using CFHTTP and CFHTTPParam. 
>
>========================================================================
>===
>Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
>(www.mindseye.com)
>Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)
>
>Email    : [EMAIL PROTECTED]
>Blog     : www.camdenfamily.com/morpheus/blog
>Yahoo IM : morpheus
>
>"My ally is the Force, and a powerful ally it is." - Yoda 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to