Can anyone tell me what would cause an error with this code?

<cfscript>
        timeService = CreateObject("webservice", 
"http://www.nanonull.com/TimeService/TimeService.asmx?WSDL";);
        cityTime = timeService.getCityTime("London");
</cfscript>

<cfdump var="#timeService#">
<cfdump var="#cityTime#">

The error I get is:

"Could not perform web service invocation "getCityTime"."

"AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode: 
 faultString: Unable to handle request without a valid action parameter. Please 
supply a valid soap action."


I've found reference on the web that the SOAP request is incorrecctly 
structured. Am I missing something? I don't want to build the SOAP package 
myself.

Thanks.

Adrian

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224329
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to