RE: Consuming CFMX Web Services in ASP.NET
This is a known issue and has I believe been acknowleged by various parties. It is the result of a "limitation" of the underlying Axis engine that CFMX uses. I believe there were plans for Axis in the future (possibly the version that is used in the next point release of MX - I haven't tried yet) to mitigate problems concerning "result set" incompatibilities between .NET and CFMX. Since, the issue could be construed as lying with Axis it is somewhat out of Macromedia's hands. In the mean time, as suggested you could use an array of structs or develop your own CFC to represent "result sets". André -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED] Sent: 12 June 2003 01:22 To: CF-Talk Subject: RE: Consuming CFMX Web Services in ASP.NET Try returning an array of structs...should be a lot easier to work with in .NET -Stace -Original Message- From: Murat Demirci [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:21 AM To: CF-Talk Subject: Consuming CFMX Web Services in ASP.NET My friend has a problem when calling a web service method which returns CFMX query object. When I return a query object from CFC function, .NET cannot get the recordset object. I'm using CFMX U3. Any experiences? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Consuming CFMX Web Services in ASP.NET
My friend solved the problem by writing a script. I don't know what he wrote. Thank you very much for your replies. -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 3:22 AM To: CF-Talk Subject: RE: Consuming CFMX Web Services in ASP.NET Try returning an array of structs...should be a lot easier to work with in .NET -Stace -Original Message- From: Murat Demirci [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:21 AM To: CF-Talk Subject: Consuming CFMX Web Services in ASP.NET My friend has a problem when calling a web service method which returns CFMX query object. When I return a query object from CFC function, .NET cannot get the recordset object. I'm using CFMX U3. Any experiences? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Consuming CFMX Web Services in ASP.NET
Try returning an array of structs...should be a lot easier to work with in .NET -Stace -Original Message- From: Murat Demirci [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:21 AM To: CF-Talk Subject: Consuming CFMX Web Services in ASP.NET My friend has a problem when calling a web service method which returns CFMX query object. When I return a query object from CFC function, .NET cannot get the recordset object. I'm using CFMX U3. Any experiences? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Consuming CFMX Web Services in ASP.NET
> IMO, if ASP.NET cannot consume a Web Service built in > CFMX, it greatly reduces the benefit of writing it in > CFMX. > > I think the touted benefit of Web Services is that they > can be consumed by the most common platforms, no? > > Can anyone confirm that they are incompatible? They aren't necessarily incompatible. However, between almost any two platforms that provide web services interfaces, you may very well encounter compatibility issues. The likelihood of these issues arising tends to increase with the complexity of the specific web services, but there are some general problems that you might encounter. For example, within the SOAP specification, there's no defined datatype or description for a recordset, so each platform tends to implement returned recordsets differently. 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=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Consuming CFMX Web Services in ASP.NET
You're right, but I thought webservices that were meant to be consumed cross-platform should use basic datatypes like string pairs and not have complex proprietary structures. I don't know enough about either type of webservice to say how they interact. Matthew Small IT Director Showstopper American Dance Championships [EMAIL PROTECTED] 843-357-1847 -Original Message- From: Frank Mamone [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 4:11 PM To: CF-Talk Subject: Re: Consuming CFMX Web Services in ASP.NET IMO, if ASP.NET cannot consume a Web Service built in CFMX, it greatly reduces the benefit of writing it in CFMX. I think the touted benefit of Web Services is that they can be consumed by the most common platforms, no? Can anyone confirm that they are incompatible? -Frank Mamone - Original Message - From: "Michael Tangorre" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 12:45 PM Subject: Re: Consuming CFMX Web Services in ASP.NET > just a thought... what about wddx? > > > - Original Message - > From: "Matthew Small" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Wednesday, June 11, 2003 12:19 PM > Subject: RE: Consuming CFMX Web Services in ASP.NET > > > > I don't imagine that the .NET datatable and the CFMX recordset are > > compatible by nature, but I've never tried so I don't know for sure. I > > think that the data is passable, but that your friend will have to > > explicitly loop through the XML object and find his data manually, or > > write a small object that will do it for him. > > > > Questions: > > 1. Is he definitely retrieving data from the webservice through CFMX? > > 2. How is he attempting to read the data? > > > > > > Matthew Small > > IT Director > > Showstopper American Dance Championships > > [EMAIL PROTECTED] > > 843-357-1847 > > > > > > -Original Message- > > From: Murat Demirci [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 11, 2003 11:57 AM > > To: CF-Talk > > Subject: RE: Consuming CFMX Web Services in ASP.NET > > > > Any response? > > > > > > > > -Original Message- > > From: Murat Demirci [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 10, 2003 10:21 AM > > To: CF-Talk > > Subject: Consuming CFMX Web Services in ASP.NET > > > > > > My friend has a problem when calling a web service method which returns > > CFMX > > query object. > > > > When I return a query object from CFC function, .NET cannot get the > > recordset object. > > > > I'm using CFMX U3. > > > > Any experiences? > > > > > > > > > > > > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Consuming CFMX Web Services in ASP.NET
IMO, if ASP.NET cannot consume a Web Service built in CFMX, it greatly reduces the benefit of writing it in CFMX. I think the touted benefit of Web Services is that they can be consumed by the most common platforms, no? Can anyone confirm that they are incompatible? -Frank Mamone - Original Message - From: "Michael Tangorre" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 12:45 PM Subject: Re: Consuming CFMX Web Services in ASP.NET > just a thought... what about wddx? > > > - Original Message - > From: "Matthew Small" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Wednesday, June 11, 2003 12:19 PM > Subject: RE: Consuming CFMX Web Services in ASP.NET > > > > I don't imagine that the .NET datatable and the CFMX recordset are > > compatible by nature, but I've never tried so I don't know for sure. I > > think that the data is passable, but that your friend will have to > > explicitly loop through the XML object and find his data manually, or > > write a small object that will do it for him. > > > > Questions: > > 1. Is he definitely retrieving data from the webservice through CFMX? > > 2. How is he attempting to read the data? > > > > > > Matthew Small > > IT Director > > Showstopper American Dance Championships > > [EMAIL PROTECTED] > > 843-357-1847 > > > > > > -Original Message- > > From: Murat Demirci [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 11, 2003 11:57 AM > > To: CF-Talk > > Subject: RE: Consuming CFMX Web Services in ASP.NET > > > > Any response? > > > > > > > > -Original Message- > > From: Murat Demirci [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, June 10, 2003 10:21 AM > > To: CF-Talk > > Subject: Consuming CFMX Web Services in ASP.NET > > > > > > My friend has a problem when calling a web service method which returns > > CFMX > > query object. > > > > When I return a query object from CFC function, .NET cannot get the > > recordset object. > > > > I'm using CFMX U3. > > > > Any experiences? > > > > > > > > > > > > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Consuming CFMX Web Services in ASP.NET
Well, I don't of any WDDX objects for ASP.NET but there could be one, I don't know for sure. I don't think that there would be one because ASP.NET has web services by default and WDDX is kind of a pre-web service technology. I still think that consuming the CFMX service in ASP.NET is going to be tedious job. Matthew Small IT Director Showstopper American Dance Championships [EMAIL PROTECTED] 843-357-1847 -Original Message- From: Michael Tangorre [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 12:45 PM To: CF-Talk Subject: Re: Consuming CFMX Web Services in ASP.NET just a thought... what about wddx? - Original Message - From: "Matthew Small" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 12:19 PM Subject: RE: Consuming CFMX Web Services in ASP.NET > I don't imagine that the .NET datatable and the CFMX recordset are > compatible by nature, but I've never tried so I don't know for sure. I > think that the data is passable, but that your friend will have to > explicitly loop through the XML object and find his data manually, or > write a small object that will do it for him. > > Questions: > 1. Is he definitely retrieving data from the webservice through CFMX? > 2. How is he attempting to read the data? > > > Matthew Small > IT Director > Showstopper American Dance Championships > [EMAIL PROTECTED] > 843-357-1847 > > > -Original Message----- > From: Murat Demirci [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2003 11:57 AM > To: CF-Talk > Subject: RE: Consuming CFMX Web Services in ASP.NET > > Any response? > > > > -Original Message- > From: Murat Demirci [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 10:21 AM > To: CF-Talk > Subject: Consuming CFMX Web Services in ASP.NET > > > My friend has a problem when calling a web service method which returns > CFMX > query object. > > When I return a query object from CFC function, .NET cannot get the > recordset object. > > I'm using CFMX U3. > > Any experiences? > > > > > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Consuming CFMX Web Services in ASP.NET
just a thought... what about wddx? - Original Message - From: "Matthew Small" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 12:19 PM Subject: RE: Consuming CFMX Web Services in ASP.NET > I don't imagine that the .NET datatable and the CFMX recordset are > compatible by nature, but I've never tried so I don't know for sure. I > think that the data is passable, but that your friend will have to > explicitly loop through the XML object and find his data manually, or > write a small object that will do it for him. > > Questions: > 1. Is he definitely retrieving data from the webservice through CFMX? > 2. How is he attempting to read the data? > > > Matthew Small > IT Director > Showstopper American Dance Championships > [EMAIL PROTECTED] > 843-357-1847 > > > -Original Message- > From: Murat Demirci [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2003 11:57 AM > To: CF-Talk > Subject: RE: Consuming CFMX Web Services in ASP.NET > > Any response? > > > > -Original Message- > From: Murat Demirci [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 10:21 AM > To: CF-Talk > Subject: Consuming CFMX Web Services in ASP.NET > > > My friend has a problem when calling a web service method which returns > CFMX > query object. > > When I return a query object from CFC function, .NET cannot get the > recordset object. > > I'm using CFMX U3. > > Any experiences? > > > > > > ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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: Consuming CFMX Web Services in ASP.NET
I don't imagine that the .NET datatable and the CFMX recordset are compatible by nature, but I've never tried so I don't know for sure. I think that the data is passable, but that your friend will have to explicitly loop through the XML object and find his data manually, or write a small object that will do it for him. Questions: 1. Is he definitely retrieving data from the webservice through CFMX? 2. How is he attempting to read the data? Matthew Small IT Director Showstopper American Dance Championships [EMAIL PROTECTED] 843-357-1847 -Original Message- From: Murat Demirci [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 11:57 AM To: CF-Talk Subject: RE: Consuming CFMX Web Services in ASP.NET Any response? -Original Message- From: Murat Demirci [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 10:21 AM To: CF-Talk Subject: Consuming CFMX Web Services in ASP.NET My friend has a problem when calling a web service method which returns CFMX query object. When I return a query object from CFC function, .NET cannot get the recordset object. I'm using CFMX U3. Any experiences? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Consuming CFMX Web Services in ASP.NET
Any response? -Original Message- From: Murat Demirci [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 10:21 AM To: CF-Talk Subject: Consuming CFMX Web Services in ASP.NET My friend has a problem when calling a web service method which returns CFMX query object. When I return a query object from CFC function, .NET cannot get the recordset object. I'm using CFMX U3. Any experiences? ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=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