Re: soXML help/question really needed
BTW, how does one determine which version of MSXML one is using? (sorry if that's an obvious question but it's amazing how many obvious things are only obvious after one knows them!) As Dave already said, it's not obvious at all. In JavaScript I managed to do it with a series of try/catch, it's definitely an hack, but it works and you should be able to do the same in CFML. I would really love hear about better alternatives Actually, with Fusebox you may let the developer deploy a test file with a series of try/catch only in order to realise which version is running on the server, after that, the developer itself could define it inside the app. Still not ideal, but doable Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: soXML help/question really needed
We dumped soXML and used another package for this...is that an option? I can provide the details if you like. Good luck, UPS is a joy! Regards, Eric Hoffman Datastream Connexion The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 3:25 PM To: CF-Talk Okay,we have been using soxml to return the content from UPS to a cf usable format. Apparently this morning, they started sending everything with UTF-8 encoding in the xml doc. This makes action=XML2CF puke with an encoding error. Can anyone please point me to a workaround or how its been dealt with in your experience? We just ran into this problem. Our first kludge solution was to do a text replace on encoding=UTF-8 and replace it with an empty string. This worked but, as I said, is a kludge. The REAL solution is to edit the SOXML.cfm file and replace cfparam name=Attributes.ProgId default=Microsoft.XMLDom with cfparam name=Attributes.ProgId default=Msxml2.DOMDocument.4.0 (This assumes, of course, that you're running version 4 of MSXML) Alternately, of course, you can send ProgId as an attribute when you can cf_soxml. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: soXML help/question really needed
I'd like to hear about the other option, since we can perhaps make use of it in porting Fusebox 4 from CFMX to CF5 BTW, how does one determine which version of MSXML one is using? (sorry if that's an obvious question but it's amazing how many obvious things are only obvious after one knows them!) - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 4:58 PM Subject: RE: soXML help/question really needed We dumped soXML and used another package for this...is that an option? I can provide the details if you like. Good luck, UPS is a joy! Regards, Eric Hoffman Datastream Connexion The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 3:25 PM To: CF-Talk Okay,we have been using soxml to return the content from UPS to a cf usable format. Apparently this morning, they started sending everything with UTF-8 encoding in the xml doc. This makes action=XML2CF puke with an encoding error. Can anyone please point me to a workaround or how its been dealt with in your experience? We just ran into this problem. Our first kludge solution was to do a text replace on encoding=UTF-8 and replace it with an empty string. This worked but, as I said, is a kludge. The REAL solution is to edit the SOXML.cfm file and replace cfparam name=Attributes.ProgId default=Microsoft.XMLDom with cfparam name=Attributes.ProgId default=Msxml2.DOMDocument.4.0 (This assumes, of course, that you're running version 4 of MSXML) Alternately, of course, you can send ProgId as an attribute when you can cf_soxml. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: soXML help/question really needed
Boy, I can't seem to find the original Devex download zipdoes anyone recognize it? Has parser.cfm, rmcomm.cfm, proctag.cfm, complex_to_simple.cfm and a few others in it? Comments say: !--- 2000/2001 Written by Mhano Harkness, NSW, Australia --- We had to slightly revise pulling out of the new data structure, but was not a bad job. Had to remove .value that SoXML put on there...but nothing UPS has thrown at us in the last 9 months has caused it to crap out. Regards, Eric The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw -Original Message- From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 4:44 PM To: CF-Talk I'd like to hear about the other option, since we can perhaps make use of it in porting Fusebox 4 from CFMX to CF5 BTW, how does one determine which version of MSXML one is using? (sorry if that's an obvious question but it's amazing how many obvious things are only obvious after one knows them!) - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 4:58 PM Subject: RE: soXML help/question really needed We dumped soXML and used another package for this...is that an option? I can provide the details if you like. Good luck, UPS is a joy! Regards, Eric Hoffman Datastream Connexion The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 3:25 PM To: CF-Talk Okay,we have been using soxml to return the content from UPS to a cf usable format. Apparently this morning, they started sending everything with UTF-8 encoding in the xml doc. This makes action=XML2CF puke with an encoding error. Can anyone please point me to a workaround or how its been dealt with in your experience? We just ran into this problem. Our first kludge solution was to do a text replace on encoding=UTF-8 and replace it with an empty string. This worked but, as I said, is a kludge. The REAL solution is to edit the SOXML.cfm file and replace cfparam name=Attributes.ProgId default=Microsoft.XMLDom with cfparam name=Attributes.ProgId default=Msxml2.DOMDocument.4.0 (This assumes, of course, that you're running version 4 of MSXML) Alternately, of course, you can send ProgId as an attribute when you can cf_soxml. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: soXML help/question really needed
Specify it in the progid (Msxml2.DOMDocument.4.0), Msxml2.DOMDocument.3.0, etc. If calling 4.0 throws an error about the COM object not existing...it's not on the machine. You can also check the winnt/system32 dir for msxml[version#].dll -- jon mailto:[EMAIL PROTECTED] Tuesday, June 3, 2003, 5:44:23 PM, you wrote: JQv I'd like to hear about the other option, since we can perhaps make use of it JQv in porting Fusebox 4 from CFMX to CF5 JQv BTW, how does one determine which version of MSXML one is using? JQv (sorry if that's an obvious question but it's amazing how many obvious JQv things JQv are only obvious after one knows them!) JQv - Original Message - JQv From: [EMAIL PROTECTED] JQv To: CF-Talk [EMAIL PROTECTED] JQv Sent: Tuesday, June 03, 2003 4:58 PM JQv Subject: RE: soXML help/question really needed We dumped soXML and used another package for this...is that an option? I can provide the details if you like. Good luck, UPS is a joy! Regards, Eric Hoffman Datastream Connexion The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 3:25 PM To: CF-Talk Okay,we have been using soxml to return the content from UPS to a cf usable format. Apparently this morning, they started sending everything with UTF-8 encoding in the xml doc. This makes action=XML2CF puke with an encoding error. Can anyone please point me to a workaround or how its been dealt with in your experience? We just ran into this problem. Our first kludge solution was to do a text replace on encoding=UTF-8 and replace it with an empty string. This worked but, as I said, is a kludge. The REAL solution is to edit the SOXML.cfm file and replace cfparam name=Attributes.ProgId default=Microsoft.XMLDom with cfparam name=Attributes.ProgId default=Msxml2.DOMDocument.4.0 (This assumes, of course, that you're running version 4 of MSXML) Alternately, of course, you can send ProgId as an attribute when you can cf_soxml. JQv ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: soXML help/question really needed
I'd like to hear about the other option, since we can perhaps make use of it I am not sure Whats the other option, it all has to involve a parser. in porting Fusebox 4 from CFMX to CF5 I am sure this can be done using native Java Classes(JavaBeans/Xerces Parser) and perhaps return the data in Java Arrays. Any thoughts on this? Joe Eugene -Original Message- From: John Quarto-vonTivadar [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 5:44 PM To: CF-Talk Subject: Re: soXML help/question really needed I'd like to hear about the other option, since we can perhaps make use of it in porting Fusebox 4 from CFMX to CF5 BTW, how does one determine which version of MSXML one is using? (sorry if that's an obvious question but it's amazing how many obvious things are only obvious after one knows them!) - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 4:58 PM Subject: RE: soXML help/question really needed We dumped soXML and used another package for this...is that an option? I can provide the details if you like. Good luck, UPS is a joy! Regards, Eric Hoffman Datastream Connexion The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 3:25 PM To: CF-Talk Okay,we have been using soxml to return the content from UPS to a cf usable format. Apparently this morning, they started sending everything with UTF-8 encoding in the xml doc. This makes action=XML2CF puke with an encoding error. Can anyone please point me to a workaround or how its been dealt with in your experience? We just ran into this problem. Our first kludge solution was to do a text replace on encoding=UTF-8 and replace it with an empty string. This worked but, as I said, is a kludge. The REAL solution is to edit the SOXML.cfm file and replace cfparam name=Attributes.ProgId default=Microsoft.XMLDom with cfparam name=Attributes.ProgId default=Msxml2.DOMDocument.4.0 (This assumes, of course, that you're running version 4 of MSXML) Alternately, of course, you can send ProgId as an attribute when you can cf_soxml. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: soXML help/question really needed
BTW, how does one determine which version of MSXML one is using? (sorry if that's an obvious question but it's amazing how many obvious things are only obvious after one knows them!) This isn't obvious, even after you know it. You can have more than one version of MSXML installed on your machine. If you're using MSXML 4+, you have to explicitly specify that version to use it, I think. Prior versions had version-independent identifiers, but MSXML 4 doesn't. You'll probably want to read all about this on the MSDN site, actually, if this is an issue for you. They've devoted reams of virtual paper to this topic, as I recall. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Host with the leader in ColdFusion hosting. Voted #1 ColdFusion host by CF Developers. Offering shared and dedicated hosting options. www.cfxhosting.com/default.cfm?redirect=10481 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: soXML help/question really needed
Hey, I am trying to solve the same problem. It is good to know that there is someone else having problems Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 -Original Message- From: Eric Hoffman [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:56 AM To: CF-Talk Subject: soXML help/question really needed Okay,we have been using soxml to return the content from UPS to a cf usable format. Apparently this morning, they started sending everything with UTF-8 encoding in the xml doc. This makes action=XML2CF puke with an encoding error. Can anyone please point me to a workaround or how its been dealt with in your experience? Regards, Eric J Hoffman DataStream Connexion www.datastreamconnexion.com Delivering Creative Data Solutions ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: soXML help/question really needed
I may have the answer, contact me off list. Regards, Eric J Hoffman DataStream Connexion www.datastreamconnexion.com Delivering Creative Data Solutions -Original Message- From: Mark W. Breneman [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 10:05 AM To: CF-Talk Subject: RE: soXML help/question really needed Hey, I am trying to solve the same problem. It is good to know that there is someone else having problems Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 -Original Message- From: Eric Hoffman [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:56 AM To: CF-Talk Subject: soXML help/question really needed Okay,we have been using soxml to return the content from UPS to a cf usable format. Apparently this morning, they started sending everything with UTF-8 encoding in the xml doc. This makes action=XML2CF puke with an encoding error. Can anyone please point me to a workaround or how its been dealt with in your experience? Regards, Eric J Hoffman DataStream Connexion www.datastreamconnexion.com Delivering Creative Data Solutions ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: soXML help/question really needed
Here is workaround. Sorta of... Try pointing to UPS development server wwwcie.ups.com/ups.app/xml/TimeInTransit rather then the production server www.ups.com/ups.app/xml/TimeInTransit I hate to do this but, it keeps the store up. I this is not a fix. I am still very much hoping to find a fix. Mark W. Breneman -Macromedia Certified ColdFusion Developer -Network / Web Server Administrator Vivid Media [EMAIL PROTECTED] www.vividmedia.com 608.270.9770 -Original Message- From: Eric Hoffman [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 9:56 AM To: CF-Talk Subject: soXML help/question really needed Okay,we have been using soxml to return the content from UPS to a cf usable format. Apparently this morning, they started sending everything with UTF-8 encoding in the xml doc. This makes action=XML2CF puke with an encoding error. Can anyone please point me to a workaround or how its been dealt with in your experience? Regards, Eric J Hoffman DataStream Connexion www.datastreamconnexion.com Delivering Creative Data Solutions ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: soXML help/question really needed
May not be exactly the same problem, but I ran into this when using Amazon's web services: !--- Set response --- CFSET objDOM = objServerXMLHttp.responseXML !--- SOXML chokes on the xmlns stuff, so I just strip it out --- CFSET mutant = xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://xml.amazon.com/schemas/dev-lite.xsd; CFSET newxml = ReplaceNoCase(objDOM.xml,mutant,'') !--- Transform XML response to CF structure --- cf_SOXML action=XML2CF encoding=UTF-8 input=#newxml# output=AmazonResponse Okay,we have been using soxml to return the content from UPS to a cf usable format. Apparently this morning, they started sending everything with UTF-8 encoding in the xml doc. This makes action=XML2CF puke with an encoding error. Can anyone please point me to a workaround or how its been dealt with in your experience? Regards, Eric J Hoffman DataStream Connexion www.datastreamconnexion.com Delivering Creative Data Solutions ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4