Consume NOAA Web Service

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

  1. #1

    Default Consume NOAA Web Service

    I'm using the code below to attempt to consume the NOAA weather service and am
    getting the following error:

    Web service operation "NDFDgen" with parameters
    {latitude={42.3485},longitude={-71.0733},endTime={{ts '2005-04-22
    16:00:02'}},startTime={{ts '2005-04-21 16:00:02'}},product={glance},} could not
    be found.

    Here is the documentation: [url]http://weather.gov/forecasts/xml/[/url]

    Am I missing something obvious?

    Thanks!




    <cfinvoke
    webservice="http://weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl"
    method="NDFDgen"
    returnvariable="dwmlOut">

    <cfinvokeargument NAME="latitude" VALUE="42.3485">
    <cfinvokeargument NAME="longitude" VALUE="-71.0733">
    <cfinvokeargument NAME="product" VALUE="glance">
    <cfinvokeargument NAME="startTime" VALUE="#now()#">
    <cfinvokeargument NAME="endTime" VALUE="#dateAdd("d", 1, now())#">

    </cfinvoke>

    <CFDUMP VAR="#dwmlOut#">

    kaypro4 Guest

  2. Similar Questions and Discussions

    1. Web Service Call to consume SAP Web Service
      Greetings, I have been stuck trying to get CF 8 to talk to SAP serviced Web Service. Here is code I am using: <cfscript> ws =...
    2. NOAA Weather Web Service in Flash
      Hi, i am really new to Flash and am enjoying the learning process but i have a question which i cant figure out. I live in Colorado Springs and...
    3. Consume 3rd party web service
      Hi: The web service provider required a client certificate for authentication. What this client certificate is ? Is it a certificate use for...
    4. NOAA Weather Web Service
      I'm having a tough time getting the NDFDgen method to work for the NOAA web serivice. Here is the documentation on the service itself: ...
    5. Consume web service(s)
      Folks: I was successfully able to consume the first web service(WS). Created another WS and added a reference on the client project, it added...
  3. #2

    Default Re: Consume NOAA Web Service

    i think that service is looking for something along the lines of
    2005-04-21T00:00:00.5 for start/end times. i vaguely recall somebody (i'd like
    to say it was ian skinner but my memory's not that good) getting this to work.
    in any case, you can search the cftalk archives for this:

    [url]http://www.houseoffusion.com/cf_lists/threads.cfm/4[/url]



    PaulH 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