Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

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


In reply to Re: How to use Perl instead of Coldfusion. by sundialsvc4
in thread How to use Perl instead of Coldfusion. by flexvault

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (11)
    As of 2014-10-21 13:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      For retirement, I am banking on:










      Results (103 votes), past polls