> I'm a cfc beginner, and I'm having difficulties getting a test cfc to run. I'm 
> trying to test the "remote" access features, as we need to create a web service that 
> will be consumed by a VB.NET application.
> 
> I see on several forums that there are many others having the same issue that I am 
> (Could not generate stub objects for web service invocation.). Can anyone please 
> point me in the right direction or recommend a site to submit this question to?
> Thanks in advance,
> -Nick H.
> ------------------------
> I'm just starting to tinker with CF components, and I have one of the CFMX book 
> samples set up on our CFMX development server. If I understand correctly, you have 
> to "publish" the files (see timeDisplay.cfm below) to make them accessible as a web 
> service, but it keeps crashing.
> 
> The wsdl file seems okay when you hit it directly 
> (http://delta.dev.gsi-kc.com/tellTime.cfc?wsdl). I read some posts about proxy 
> server settings, but that doesn't seem to be the case as I tried running the pages 
> directly on the development box, and they failed there as well.
> 
> The cfc: (which works if you hit 
> http://delta.dev.gsi-kc.com/tellTime.cfc?method=getLocalTime)
> tellTime.cfc
> <cfcomponent>
>       <cffunction name="getLocalTime" access="remote" returntype="string" 
> output="No">
>               <cfscript>
>                       serverTime = now();
>                       localStr = structNew();
>                       locStr.Hour=DatePart("h",serverTime);
>                       locStr.Minute=DatePart("n",serverTime);
>               </cfscript>
>               <cfset locTime = "#locStr.Hour#:#locStr.Minute#">
>               <cfreturn locTime>
>       </cffunction>
> </cfcomponent>
> 
> The cfm: http://delta.dev.gsi-kc.com/timedisplay.cfm
> timeDisplay.cfm
> <b>Time Display</b><br>
> <cfinvoke webservice="http://delta.dev.gsi-kc.com/tellTime.cfc?wsdl"; 
> method="getLocalTime" returnvariable="locReturn" /> 
> 
> The result:
> Could not generate stub objects for web service invocation.  
> Name: http://delta.dev.gsi-kc.com/tellTime.cfc?wsdl. WSDL: 
> http://delta.dev.gsi-kc.com/tellTime.cfc?wsdl. java.lang.NullPointerException It is 
> recommended that you use a web browser to retrieve and examine the requested WSDL 
> document for correctness. If the requested WSDL document can't be retrieved or it is 
> dynamically generated, it is likely that the target web service has programming 
> errors. 
> 
> What am I missing??? Do I need to do anything in CF Admin? I couldn't seem to 
> register the cfc directly either as CF Admin did not care for the wsdl URL. 
> Any help would be appreciated!!!!
        ------------------------ 

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to