Let me start by saying that I am a beginner with programming in general.

 

I am trying to configure consume a weather web service but am unsure
what is going wrong.  I have spent about 8 hours trying to get figure
this out and have thus far failed.  The problem I believe is that the
webservice has struct's and I am not dealing with them appropriately.  I
have reviewed what information there is (I believe) on consuming complex
web services and not found an example complete enough that I can
understand how different methods of consumption might apply to my
situation.

 

The web service I am attempting to use is:

 

http://www.xmethods.net/ve2/ViewListing.po;jsessionid=6kLVZKkGRqLBTCjYjr
Mspppz(QhxieSRM)?serviceid=147576

 

The WSDL is:

 

http://www.ejseinc.com/WeatherService/Service.asmx?WSDL

 

The code I am using is:

 

<html>

<head>

<title>Untitled Document</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

 

<body>

 

<cfinvoke 

 webservice="http://www.ejseinc.com/WeatherService/Service.asmx?WSDL";

 method="getWeatherInfo"

 returnvariable="aWeatherInfo">

            <cfinvokeargument name="zipCode" value="98102"/>

</cfinvoke>

<cfdump var = "#aWeatherInfo#">

</body>

</html>

 

The page itself can be viewed at.  It takes a couple seconds to load.  

 

http://www.attrition.ws/win1.cfm

 

I would appreciate any pointers about how to make this work, either
conceptual or practical.  Like I said I am new to Coldfusion and
programming in general and specifically am unsure what the implication
of consuming a web service  providing a (stuct (I think)is).  I am by no
means averse to reading information about how to get this working so if
you have the time to point me to any resources which might assist me
directly or indirectly I would value that very much.

 

Sincerely,

 

John 

 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to