From: Ian Skinner on 6 Mar 2007 13:24 You didn't show us the XMLstring, I suspect that is the key.
From: rboudwin on 6 Mar 2007 13:18 I'm getting an error. Any clues? "An error occured while Parsing an XML document" "The markup in the document following the root element must be well-formed." Any ideas? All the code appears to be okay. <cfdump var="#xmlString#"> <!--TEST--> <cfhttp URL="https://apitest.authorize.net/xml/v1/request.api" method="post"> <cfhttpparam name="xmlString" value="#xmlString#" type="xml"> </cfhttp>
From: rboudwin on 6 Mar 2007 13:25 I got it! It's important to include the header! <ARBCreateSubscriptionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> I hope this helps someone else. There doesn't seem to be much documentation on it.
From: rboudwin on 6 Mar 2007 14:23 I have NO idea how to parse the XML response from my post. Any help is welcomed. Is there a tag like CFXML?
From: Ian Skinner on 6 Mar 2007 15:51 I have NO idea how to parse the XML response from my post. Any help is welcomed. Is there a tag like CFXML? Other then <cfxml>? Don't parse it, just dump out the XML string and see what it looks like. <cfoutput>#xmlString#</cfoutput> Then view source to see the tags. You can play with the htmlCodeFormat() and xmlFormat() functions for prettiness.
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 Prev: CFGRIDUPDATE not working properly Next: Error in CF form in flash format |