2 Replies Latest reply on Oct 24, 2007 1:24 AM by cffan3

    Is Coldfusion NOT compatible with some webservices?

      Hi all,

      I have a major problem connecting to a webservice provided by SABRE (the travel agency people).
      If you try to consume :

      You get this exception in CF:
      "Could not generate stub objects for web service invocation.
      Name: https://cert.webservices.sabre.com/cert. WSDL: https://cert.webservices.sabre.com/cert. WSDLException (at /soap-env:Envelope): faultCode=INVALID_WSDL: Expected element '{ http://schemas.xmlsoap.org/wsdl/}definitions'.: It is recommended that you use a web browser to retrieve and examine the requested WSDL document for correctness. If the requested WSDL document can't be retrieved or it is dynamically generated, it is likely that the target web service has programming errors."

      I can browse the WSDL just fine (try it yourself). Obviously having the WSDL modified is out of the question, as billion-dollar company like SABRE aren't exactly going to listen to this puny CF developer :-D

      The question is: Is ColdFusion compatible with all webservices? Or is the one described above somehow only work with certain platforms?

        • 1. Re: Is Coldfusion NOT compatible with some webservices?
          How are you calling it. I had trouble using cfinvoke but the same service worked when I made it an object and called it using cfscript. This one requires a complex variable so I created it as an object as well. I got this to work with CF8 but I am still working on issues with CF7. Not a lot of good doco on working with a service that requires a complex value sent to it.

          ws = createObject("webservice", "#theURL#");

          retObject = ws.somememethod(myObject);
          • 2. Re: Is Coldfusion NOT compatible with some webservices?
            cffan3 Level 1
            I was using CFInvoke indeed. I'll try the script approach and will update this thread if I found it works better.

            My company feels that since the implementation of this service is probably the same across most travel sites, we'd save a lot of time purchasing code that already connects to these services and handles most of the workflow, or even hire a developer familiar with this framework on a contractual basis.

            Is that something you or someone else on these forums could provide or be interested in? If so please contact me at cffan3@gmail.com. We can pay around 10K+ USD for a working implementation of a select departure/select return/ review fare/get passengers/ confirm workflow.