Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to use Perl instead of Coldfusion.

by sundialsvc4 (Monsignor)
on May 14, 2013 at 02:49 UTC ( #1033388=note: print w/ replies, xml ) Need Help??


in reply to How to use Perl instead of Coldfusion.

“Cold Fusion cfspoken cfhere.” CFDon’t cfpanic.

ColdFusion tends to be a bit baroque in its approaches.   If you truly know absolutely nothing about the web service that you will be contacting, and/or its public interface must be regarded as malleable and your solution must be future-proof (in the eyes of some committee somewhere), then you may have little choice but to jump in with both feet and use e.g. SOAP::WSDL.   Otherwise, and I expect far more likely, simpler modules like SOAP::Lite should be more than sufficient.

You will definitely appreciate the relative brevity of Perl’s syntax for successfully invoking a web service.   CF’s syntax is by comparison very baroque.   You can sort-of glom what call is made, what parameters are being passed-in, and where the result comes out, but cfit’s cfnot cfeasy.

Martin Kutter’s passing comment (in SOAP::WSDL::Manual’s page) that “sometimes, WSDL definitions are incomplete,” just might qualify as the world’s biggest understatement.   Sometimes, WSDLs aren’t worth the bits they’re printed on, such that clients which rely too heavily on them (such as ColdFusion ...) can be seriously tripped-up by an “impedance mismatch” between what the service promises and what it actually does.   If you can figure a stable way to make the call that doesn’t fool around with all that extra protocol-baggage ... and you almost always can ... definitely go that route.


Comment on Re: How to use Perl instead of Coldfusion.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033388]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (15)
As of 2014-04-16 13:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (427 votes), past polls