Have you tried using webservice attributes like this

<cfinvoke webservice="cfctest.testServices.test.cfc?wsdl" method="getStatus"
returnvariable="foo">
</cfinvoke>

HTH

On 1/31/06, Kay Smoljak <[EMAIL PROTECTED]> wrote:
>
> Thanks James - we're having some issues here, between our heads (which
> seemingly aren't working at all) and our server which is working
> intermittently. As well as calling the CFC with the wrong path like
> you pointed out, sometimes the server throws an error when there's
> ?wsdl on the invoke call and sometimes it doesn't.
>
> Time to go home for the day I think!
>
> On 1/31/06, James Holmes <[EMAIL PROTECTED]> wrote:
> > Have you tried with "test" instead of "testServices" (since that's the
> > name of the cfc)?
> >
> > On 1/30/06, Kay Smoljak <[EMAIL PROTECTED]> wrote:
> > > I have a cfc in the following setup:
> > >
> > > http://www.example.com/cfctest/test.cfc
> > > http://www.example.com/cfctest/index.cfm
> > >
> > > The cfc looks like this:
> > >
> > > <cfcomponent displayname="testServices">
> > >         <cffunction access="remote" name="getStatus"
> returntype="string"
> > > output="false">
> > >                 <cfset returnStatus = "available">
> > >                 <cfreturn returnStatus/>
> > >         </cffunction>
> > > </cfcomponent>
> > >
> > > Invocation in index.cfm looks like this:
> > >
> > > <cfinvoke component="cfctest.testServices?wsdl" method="getStatus"
> > > returnvariable="foo">
> > > </cfinvoke>
> > > <cfdump var="#foo#">
> > >
> > > ----------------
> > >
> > > The above setup worked fine last night and hasn't been changed. Now
> > > this morning
> > > I get the following error when invoking with 'cfctest.testServices
> ?wsdl':
> > >
> > >         'The system cannot find the file specified'
> > >
> > > If I change the invocation to 'cfctest.testServices' I get :
> > >
> > >         'Could not find the ColdFusion Component cfctest.testServices'
> > >
> > > The weird thing about all this is that when I go directly to:
> > >
> > > http://www.somedomain.com/cfctest/test.cfc?wsdl
> > >
> > > I get the WSDL printout fine.
> > >
> > > Anyone have any ideas what might have made it stop working over night?
> > > As far as I know the server hasn't been updated, rebooted or anything.
> > > Any server settings to check in particular?
> > > Any caching issues that I might have overlooked?
> >
> > --
> > CFAJAX docs and other useful articles:
> > http://jr-holmes.coldfusionjournal.com/
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230856
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