>- see footer for list info -< Indeed. And tell your provider to send it over in that parameter
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lee Fortnam > Sent: 11 February 2005 16:08 > To: 'Coldfusion Development' > Subject: RE: [CF-Dev] Form POST and its variables > > >- see footer for list info -< > Hi Russ, > > No worries with this, have built a couple of encryption > services like this which simply accept a piece of text and > then encrypt it and return the encrypted text etc. > > Quick question though, you receive the information in a var > called structure, I assume I should change this for the var > formfields as you mention the information comes through in > this container. > > Regards, > > Lee > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Russ Michaels > (Snake) > Sent: 11 February 2005 15:45 > To: 'Coldfusion Development' > Subject: RE: [CF-Dev] Form POST and its variables > > > >- see footer for list info -< > Creating a web service in CF is really simple. You just > create a CFC that accepts the required parameters, and have > the external sources call it as a webservice. > > E.G here is one I did earlier that returns any cf struct as XML > > <cfcomponent displayname="struct2XML"> > <!--- > returns a coldfusion structure as XML data. > ---> > <cffunction name="struct2XML" access="remote" returntype="string"> > <cfargument name="structure" type="string" required="yes"> > <cfsilent> > <cfinclude template="struct2XML.udf"> > <cfscript> > foo = xmlNew(); > foo.XMLRoot = xmlElemNew(foo, structure); > > </cfscript> > > <cfif isdefined(structure)> > <cfset foo = struct2XML(foo, > foo.xmlRoot.xmlChildren, structure)> > > <cfelse> > <cfset foo.structure.xmlText = "ERROR: > structure does not exist"> > </cfif> > </cfsilent> > <cfreturn #trim(ToString(foo))#> > </cffunction> > </cfcomponent> > > Of course if you have the option, you can tell these SMS > people to actually make a form post. > > Russ > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Lee Fortnam > > Sent: 11 February 2005 15:23 > > To: 'Coldfusion Development' > > Subject: RE: [CF-Dev] Form POST and its variables > > > > >- see footer for list info -< > > Hi Russ, > > > > The current page is simply a cfm page which when called sends an > > email. > > Nothing more. Was just trying to find the data and then > work on what I > > needed to do with it. > > > > How is best to proceed, my knowledge of webservices is not > as good as > > it probably should be, I have always just received a page, captured > > the xml from a form field and then split it out and > performed what I > > needed to, guessing this is not going to help in this instance. > > > > Any pointers much appreciated. Available on msn at > > [EMAIL PROTECTED] if that would be easier. Although a previous > > point you made about covering it on the list would again be > valid so > > either way. > > > > Regards, > > > > Lee > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > Russ Michaels > > (Snake) > > Sent: 11 February 2005 15:17 > > To: 'Coldfusion Development' > > Subject: RE: [CF-Dev] Form POST and its variables > > > > > > >- see footer for list info -< > > Ah ha. > > > > OK it's not being sent in formfields, but as formfields. > > The XML data contains the formfield names and values. So youneed to > > parse your XML packet to extract these. Are you running a > webservice > > that this is being posted to, in which case it should be > coming over > > as an attribute. > > > > Russ > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of > Lee Fortnam > > > Sent: 11 February 2005 15:05 > > > To: 'Coldfusion Development' > > > Subject: RE: [CF-Dev] Form POST and its variables > > > > > > >- see footer for list info -< > > > > > > > > > _______________________________________________ > > > > For details on ALL mailing lists and for joining or leaving > lists, go > > to http://list.cfdeveloper.co.uk/mailman/listinfo > > > > -- > > CFDeveloper Sponsors:- > > >- Hosting provided by www.cfmxhosting.co.uk -< > > >- Forum provided by www.fusetalk.com -< > > >- DHTML Menus provided by www.APYCOM.com -< > > >- Lists hosted by www.Gradwell.com -< > > >- CFdeveloper is run by Russ Michaels, feel free to > > volunteer your help > > > > >-< > > > > _______________________________________________ > > > > For details on ALL mailing lists and for joining or leaving > lists, go > > to http://list.cfdeveloper.co.uk/mailman/listinfo > > > > -- > > CFDeveloper Sponsors:- > > >- Hosting provided by www.cfmxhosting.co.uk -< > > >- Forum provided by www.fusetalk.com -< > > >- DHTML Menus provided by www.APYCOM.com -< > > >- Lists hosted by www.Gradwell.com -< > > >- CFdeveloper is run by Russ Michaels, feel free to > > volunteer your help > > >-< > > > > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving > lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- Hosting provided by www.cfmxhosting.co.uk -< > >- Forum provided by www.fusetalk.com -< > >- DHTML Menus provided by www.APYCOM.com -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to > volunteer your help > > >-< > > _______________________________________________ > > For details on ALL mailing lists and for joining or leaving > lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo > > -- > CFDeveloper Sponsors:- > >- Hosting provided by www.cfmxhosting.co.uk -< > >- Forum provided by www.fusetalk.com -< > >- DHTML Menus provided by www.APYCOM.com -< > >- Lists hosted by www.Gradwell.com -< > >- CFdeveloper is run by Russ Michaels, feel free to > volunteer your help > >-< > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
