Skip to main content
March 23, 2009
Question

CF and Web Services

  • March 23, 2009
  • 3 replies
  • 407 views
I'm looking for some general feedback on CF and consuming web services. I have worked with CF for the last 4 years, and have been quite happy with overall functionality, ease of use, performance, and stability.

My company is migrating to a new CRM system, and I am part of the team which will build a Web portal/application into this system. It is a Microsoft CRM system, so we will utilize Web services to interact with this database.

We have never worked with Web services, and I am researching and trying to learn about consuming Web services with CF. And based on what I've seen in the last couple of weeks, I feel overwhelmed, and feel almost as if I'm having to learn a whole new language, even though it's still CF. In some very high-level testing that I've done, I've successfully connected to the test web service, but it was challenging to get this far. And "this far" is just authenticating against the database - not querying for data, getting results, passing input variables, adding or updating data, etc. You know, the really useful stuff :--) I just don't know if CF is the best route here.

It has been suggested that we move to an IIS/ASP.NET platform for our Web server, because it would give us much better integration with CRM. That's a whole new learning curve, since we haven't used ASP in the past, but I feel like we're facing a whole new learning curve with CF and Web services anyway.

If there's anyone out there who has experience with CRM or web services, can you offer me any guidance or general information about what we might face if we stick with CF? We will need to make a decision on this in the near future, so if you have any experiences/opinions that you can share, I'd be very grateful.

Thank you.
    This topic has been closed for replies.

    3 replies

    Inspiring
    March 24, 2009
    No problem! I just wish Flex had the .NET integration CF does...cuz I don't like dealing with SOAP :)!

    Other than the .NET integration, I don't think there are any other added benefits to IIS over Apache. Personally, I prefer Apache but most of my clients/projects have involved a .NET/IIS server, so the .NET integration has benefits for most of my work.

    There are HUGE benefits, however, for CF8 over CFMX 7. CF8 is markedly faster across the board, and especially with regards to creating objects. In general, CF8 has been a huge leap forward for the CF community and is worth using over 7 (and earlier).

    Good luck with this and I hope it goes well!
    March 24, 2009
    Thanks for the feedback, Craig. I'll take a closer look at CF8 documentation. I agree about the headache part - it's been a challenge just to get this far with our testing.

    Can I clarify one thing - we are currently running CF MX 7 on Linux with an Apache web server. I took a look at the link that you sent, and the article says that you don't need the .NET runtime software installed to use remote .NET components, so you can run CF8 on Unix, Solaris, Linux, etc. But you specifically mention CF8 on IIS6/7 - are there any add'l services/benefits that we would see if we moved to IIS?

    Thank you so much.
    Inspiring
    March 24, 2009
    Hi,

    One thing to bear in mind is that it's not so much "Web Services" you'll need to get acquainted with; rather, it's SOAP. I've been dealing with a very similar issue working with SOAP-based Web Services in a Flex application (SOAP services are the dominant type of Web Services used in .NET applications -- as opposed to REST-based web services).

    That said, you should check out CF8 and it's .NET integration (a feature of with CF8). It's an added service for CF8 on IIS 6/7 that lets you better integrate your CF with a .NET background. It gets around a lot (and there are many) of the performance issues with the consumption of .NET web services. More info here:
    http://www.adobe.com/products/coldfusion/features/netintegration/

    The CF/.NET integration (if you have v8) might save you a lot of headaches!