I've experienced the sae issues trying to submit XML via a form field in
CFHTTP,
The fix for me was to remove all chars that were not plain text including
any carriage returns, tabs etc.

Fixed the problem but the result at the other end dint look very nice as one
long line.

Then the result was never sent to a Human so didn't really matter to me, I
think though that to be correct XML
the positioning of the tags, indentation are conventions that are to be
followed.

GC

----- Original Message -----
From: "KNOTT, Brian" <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 26, 2004 2:54 PM
Subject: [cfaussie] Re: XML


> Sean,
> I have an done a dump of the page that is used to test portal.  From
> this dump I can get a the form to a submit an XML file via a textarea
field
> using onload(submit()). I can't seem to convert this cfhttp.  I have a
> cfhttp tag with a cfhttpparam tag for the form field but it does not seem
to
> send the correct information.
>
> Brian
>
> > -----Original Message-----
> > From: Sean A Corfield [SMTP:[EMAIL PROTECTED]
> > Sent: Friday, 26 March 2004 11:55
> > To: CFAussie Mailing List
> > Subject: [cfaussie] Re: XML
> >
> > On Mar 25, 2004, at 5:01 PM, KNOTT, Brian wrote:
> > > Ok Guys I can get CF to create an XML document via the CFXML tag.  My
> > > question is how do I submit this document to an XML server.  The
> > > following
> > > document will return information on a particular user.  Our portal has
> > > an
> > > XML interface that we can submit an XML document to.  I'm just not
> > > sure how
> > > I go about this.  Should I use cfhttp.
> >
> > CFXML creates an "XML document" which is a structure. Some XML servers
> > actually want simple text, some want the XML as a "soapElement". It's
> > really going to depend on the server you are trying to communicate
> > with. CFHTTP should do the job either way - once you know what you're
> > really trying to do...
> >
> > Regards,
> > Sean
> >
> >
> > ---
> > You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to
> > [EMAIL PROTECTED]
> >
> > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> > http://www.mxdu.com/ + 24-25 February, 2004
>
>
> --------------------------------------------------------------------------
---------
>
> The contents of this message are the views of the Author and do not
necessarily reflect the views of SUNCORP METWAY LTD  ABN 66 010 831 722.
>
> The content of this e-mail, including attachments is a confidential
communication between the Suncorp Metway Group and the intended addressee.
Any unauthorised use of the contents is expressly prohibited. If you have
received this e-mail in error please contact the sender immediately and then
delete the message and any attachment(s).
>
> http://www.suncorp.com.au
>
>
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
[EMAIL PROTECTED]
>
> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
> http://www.mxdu.com/ + 24-25 February, 2004
>


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to