> I have all of my API calls running through one file, api.cfc, 
> which resides in the webroot of a hostname created specifically 
> for the API. I can talk to the CFC using the URL and it will 
> do pretty much what I want..  BUT.
> 
> Whenever I try to use a SOAP client, or call the url directly, 
> to generate the WSDL document, I get the following error...
> 
> AXIS error
> Sorry, something seems to have gone wrong... here are the
> details:[java.lang.ClassNotFoundException : api][
> 
> I have a couple of other CFC's in the same directory created 
> directly from the documentation that spit out the same error.  
> I've checked CF mappings and everything else I can think of.  

Is that all the error message you get? That is, does it give you a stack
trace link, or tell you what class isn't found?

The only thing I've seen like this with CFCs is that if you use numbers for
directory names, Axis can't deal with that. For example, for our CFUG, I
typically organize presentation files in my web root like this:

/cfug/2002/05/

When I did that with my CFC, that CFC couldn't be used as a web service, as
I'd get an Axis error, because it converts the directory names into part of
the class name.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
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
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to