Hi Paul,

Thanks for the tips. Unfortunately still no luck.
I have investigated and messed around some more and I just can't figure this 
one out. If there are any web services experts out there please show yourself!!!

Just to prove that the problem doesn't lie with the producer of the web service 
I've tried consuming a simple web service here's the code:
-----------------------
<cfscript>
ws = 
CreateObject("webservice","http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php?wsdl";);
NDFDgenResponse = 
ws.NDFDgen(JavaCast('double',38.99),JavaCast('double',-77.99),JavaCast('string','time-series'),DateFormat('2004-01-01','mm/dd/yyyy
 hh:ss'),DateFormat('2010-06-26','mm/dd/yyyy hh:ss'));
</cfscript>
<cfdump var="#NDFDgenResponse#">
-----------------------
ANd here's the error:
-------------------
Web service operation "NDFDgen" with parameters 
{38.99,-77.99,time-series,01/01/2004 12:00,06/26/2010 12:00} could not be found.
-------------------

I'm certain that the problem here is how I'm passing in parameters. Weather it 
be a complex type or a date or whatever, I'm doing something wrong!

Any ideas... anyone??!?!?!?
Matthew

>Matthew Chambers wrote:
>> String[] countriesCovered = null;
>> Attribute[] attributes = null;
>
>it wants arrays of string & Attribute.
>
>> countriesCovered.France = JavaCast("string","FR"); 
>
>try making countriesCovered an array.
>
>countriesCovered=listToArray("FR");
>
>and maybe for good measure a java array:
>
>countriesCovered=countriesCovered.toArray();

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244772
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to