You shouldn't have a cfsavecontent in there. Just use the xml variable (declared in your cfxml tag) in your cfhttp call.
Francois Lévesque on the road On 2009-10-19, at 8:22, Chuka Anene <[email protected]> wrote: > > <cfset server="http://www.infobip.com/AddOn/SMSService/XML/XMLInput.aspx > "> > > <cfxml variable="XML"> > <cfsavecontent variable="c"> > <XML> > <EngineDocList> > <DocVersion>1.0</DocVersion> > <EngineDoc> > <ContentType>SMS</ContentType> > > <SMS> > <authentification> > <username>Quorium</username> > <password>Anene</password> > </authentification> > <message> > <sender>Q-sms Inc.</sender> > <text>Testing XMl Post</text> > <flash>1</flash> > <type>longSMS</type> > </message> > <recipients> > <gsm messageId="clientmsgID1">2347032696113</gsm> > </recipients> > </SMS> > > </EngineDoc> > </EngineDocList> > </XML> > </cfsavecontent> > </cfxml> > > <cfhttp method="post" url="#server#"> > <cfhttpparam type="xml" value="#c#" name="anything"> > </cfhttp> > > > This above code gives this error: > > An error occured while Parsing an XML document. > > Premature end of file. > > > Does anyone have any ideas? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327312 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

