Web service example in CF7 Maual works?

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Web service example in CF7 Maual works?

    I'm starting trying to learn about web services. The CF7 Developer's Guide, on
    P. 892, Chapter 36 has example code that I'm trying in a CFM page. The code
    is: <cfinvoke
    webservice='http://www.xmethods.net/sd/2001/TemperatureService.wsdl'
    method='getTemp' returnvariable='aTemp'> <cfinvokeargument name='zipcode'
    value='55987'/> </cfinvoke> <cfoutput>The temperature at zip code 55987 is
    #aTemp#</cfoutput> I get this error: 'Could not perform web service invocation
    'getTemp'. ' This seems like an example that is very basic, so I'd like to see
    it working. Does anyone have an idea on how to fix it (or is the problem with
    the service?). If not, does someome have a simple example? Thanks Howard
    Perlman US Geological Survey

    Howard Perlman Guest

  2. Similar Questions and Discussions

    1. #39370 [NEW]: $_GET no longer works under FastCGI but works under CGI.
      From: trustpunk at gmail dot com Operating system: Windows PHP version: 6CVS-2006-11-04 (snap) PHP Bug Type: CGI related Bug...
    2. Web Service works in VS.NET 1.1, but not VS.NET 2.0
      Hi, I'm not very versed in the use of web services, so please bear with me! :) I'm trying to consume a web service using Visual Studio 2005...
    3. Web service that works in CF 6 doesn't not in CF 7
      I am using web services to connect to SQL Reporting Services on our production CF 6.1 box. After upgrading to CF 7, I cannot connect via web...
    4. win32::eventlog DNS Server, Directory Service, File Replication Service
      hello, does anyone know how to scan the special eventlogs on a dc like DNS Server log Directory Service File Replicatoin Service i tried it...
    5. Works 2000 / XP Service pack 1A
      I recently installed the Home version of WinXP, however it won't let me install my works 2000 or the Service pac 1A. With the installation of works...
  3. #2

    Default Re: Web service example in CF7 Maual works?

    It looks like it's a problem with the service. You can try this one:

    <cfinvoke
    webservice="http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl"
    method="getRate" returnvariable="aRate">
    <cfinvokeargument name="country1" value="usa"/>
    <cfinvokeargument name="country2" value="mexico"/>
    </cfinvoke>
    <cfoutput>The exchange rate from usa to mexico is #aRate#</cfoutput>

    Kronin555 Guest

  4. #3

    Default Re: Web service example in CF7 Maual works?

    Hello Kronin, Well, as a woman here says ... 'cool beans'. That is really
    neat. I even changed it to Canada and got a new rate. I'm going to build a
    front end to it, as we're trying to show how CF can work with web services
    (which I've never done yet). Thanks

    Howard Perlman Guest

  5. #4

    Default Re: Web service example in CF7 Maual works?

    Where do I get a list of the webservices available? Do I have to register
    with IBM to get the UDDI register? Thanks

    "Howard Perlman" <webforumsuser@macromedia.com> escribió en el mensaje
    news:d17iuk$he0$1@forums.macromedia.com...
    > Hello Kronin, Well, as a woman here says ... 'cool beans'. That is really
    > neat. I even changed it to Canada and got a new rate. I'm going to build a
    > front end to it, as we're trying to show how CF can work with web services
    > (which I've never done yet). Thanks
    >

    Ed Guest

  6. #5

    Default Re: Web service example in CF7 Maual works?

    There is a good list of publicly accessible services at [url]www.xmethods.org[/url].

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139