Sagewire Logo

Is Cold Fusion NOT compatible with some webservices?

5 Message(s) by 3 Author(s) originally posted in advanced cfml techniques


From: GArlington Date:   Friday, September 14, 2007
wrote in message:
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_AirPric...
.wsdl
You get this exception in CF:
Couldn't generate stub object s 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 not be retrieved or it is
dynamically generated, it is likely that the target web service has programming
error s.
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 are not
exactly going to listen to this puny ColdFusion developer :-D
The question is: Is Cold Fusion compatible with all webservices? Or is the one
described above somehow only work with certain platforms?
Cheers!



When I try to browse to your wsdl address it shows an error - and this
is exactly what ColdFusion is trying to tell you - "f the requested WSDL
document can not be retrieved or it is dynamically generated, it is
likely that the target web service has programming errors."


From: GArlington Date:   Friday, September 14, 2007
wrote in message:
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_AirPric...
.wsdl
You get this exception in CF:
Couldn't 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 not 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 are not
exactly going to listen to this puny ColdFusion developer :-D
The question is: Is Cold Fusion compatible with all webservices? Or is the one
described above somehow only work with certain platforms?
Cheers!



AFAIK: ColdFusion should work with any valid WS, there are exceptions, but
this might not be the case here. You may be using wrong address for
WSDL file...


From: cffan3 Date:   Friday, September 14, 2007
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:
Couldn't 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 not 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 are not
exactly going to listen to this puny ColdFusion developer :-D

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

Cheers!


From: JMilton1959 Date:   Wednesday, October 17, 2007
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);


From: cffan3 Date:   Wednesday, October 24, 2007
I was using CFINVOKE indeed. I will 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@xxxxxxxxxxx We can pay around
10K+ USD for a working implementation of a select departure/select return/
review fare/get passengers/ confirm workflow.



Next Message: Binary Object (Image) to browser


Blogs related to Is Cold Fusion NOT compatible with some webservices?

oDesk Job Openings Summary (rss) - 52 new articles
oDesk Job Opening - ColdFusion SOAP webservice transition (Hourly-Rate). We have an existing API for our Internet services that is written in ColdFusion. The services are all performed through form posts and need to be converted to a ...

The magazine, published each week inside the paper.
cosmetics-p. photo of gold jewelry. involuntary quivering wwe 242f7 time warner cable .net webservice keepalive cold fusion kb8964225.log crisp crackers learn blackjack collums sabian aa 16 cymbal lowest prices guaranteed Binghamton ...

Featuring almost everything from new and used products.
colorado extension office rapid cash ayarachi m3ds young teen model porn bahamas freeport owner direct vacation rental florist jambor irvine california full moon forecast web space hosting cold fusion web hosting dedicated server ...

delonghi oil filled radiators
If this delonghi oil fdilled radiators is not used for all ColdFusion MX 7 by watching short orientation demonstrations—a quick delonghi oil filled raditaors running. Looking for Office Supported service packs felonghi oil filled ...

This website will help you to find out everything you need to know ...
... research utilization residual-income-internet-business-opportunity-mlm-successforfreedom-com mage higgians title insurance pa rate. emphysema final stages of life monona 2008 school calendar vacation cold fusion web hosting server ...

JAVA ARTICLES
ColdFusion for JSP Developers by Kola Oyedeji — ColdFusion has been around long enough, and in different forms, that it’s easy to not see it for what it is. In this article, Kola Oyedeji looks at how this long-lived scripting language ...


Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional