• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Is Coldfusion NOT compatible with some webservices?

New Here ,
Sep 14, 2007 Sep 14, 2007

Copy link to clipboard

Copied

Hi all,

I have a major problem connecting to a webservice provided by SABRE (the travel agency people).
If you try to consume :
http://cert.webservices.sabre.com/wsdl/sabreXML1.0.00/tpf/OTA_AirPriceLLS1.1.1RQ.wsdl

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?

Cheers!
TOPICS
Advanced techniques

Views

386

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 17, 2007 Oct 17, 2007

Copy link to clipboard

Copied

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);

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 24, 2007 Oct 24, 2007

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation