Re: XML, SOAP and WDDX and CF5
Thanks for the tips Dave, I'll check those out before continuing on. >You should first confirm exactly what XML you're receiving. > >Dave Watts, CTO, Fig Leaf Software >http://www.figleaf.com/ > >Fig Leaf Software provides the highest caliber vendor-authorized >instruction at our training centers in Washington DC, Atlanta, >Chicago, Baltimore, Northern Virginia, or on-site at your location. >Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230275 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RE: XML, SOAP and WDDX and CF5
> The client I am working with will be sending me an XML packet > via an HTTP POST. > > So I assume it's a SOAP packet. I wouldn't make that assumption. It could be any sort of XML at all, unless you've specifically agreed to use SOAP. > Is it possible to use WDDX to grab that packet and manipulate > it as needed? Only if the XML is, in fact, WDDX. If it's SOAP, it's not WDDX. > Is it possible to parse that packet as straight text? If so, how? You could, but, ugh. You should be able to read it using the GetHTTPRequestData function, which was introduced in CF 5. But again, ugh. I'd use an external XML parser from CF - if you're using Windows, look into the MSXML COM object. > Or do I need to install a customtag that deals with SOAP, exclusively? You should first confirm exactly what XML you're receiving. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230253 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: XML, SOAP and WDDX and CF5
Thanks for the input Alan. However this is an app for the client, and CF5 is what we are stuck with. Eventually, we will upgrade to MX7, we all agree, but until then we have to use what we got to pay the bills and keep everyone's mouths fed. :-) >If you have any say in the matter I would try to use CFMX or CFMX7. > >-- >Alan Rother >Macromedia Certified Advanced ColdFusion MX 7 Developer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230252 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: XML, SOAP and WDDX and CF5
Well, first WDDX is not in itself a tool, it's standardized XML format. So for you to use WDDX to grab the file, it would need to be a valid WDDX type xml file. When the customer posts the XML file to you Cold Fusion page you will need to parse out the XML file and as I recall, doing that in CF5 is a big pain. If you have any say in the matter I would try to use CFMX or CFMX7. -- Alan Rother Macromedia Certified Advanced ColdFusion MX 7 Developer ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230251 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
XML, SOAP and WDDX and CF5
I am in the processing of writing a CF application in CF5. The client I am working with will be sending me an XML packet via an HTTP POST. So I assume it's a SOAP packet. Is it possible to use WDDX to grab that packet and manipulate it as needed? Is it possible to parse that packet as straight text? If so, how? Or do I need to install a customtag that deals with SOAP, exclusively? Thanks in advance, Ali ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230250 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54