Ok.. figured it out

So it seems, you cannot create a CFC outside the web root defined in setup
and call it as a web service, even if you have the directory setup in IIS
and try using mapping in CF administrator, e.g.:

Dir of my CF application = e:\webfiles\svc002
CFC called as {e:\webfiles\svc002}/myCFC.cfc?wsdl = ERROR

Dir defined in CF setup  = e:\webfiles\svc001
CFC called as {e:\webfiles\svc001}/myCFC.cfc?wsdl = OK

It seems to go against our hosting provider's "best practices"

Found this URL.. It's something to do with the mappings but unfortunately
everyone talks this guy down instead of admitting that it may be an issue

(wrapped URL)
http://www.luismajano.com/blog/index.cfm?mode=entry&entry=403D4512-A732-366A
-665EE7B10AA8FD36

I'm shocked in disbelief.. Could my assumptions be true that all CFCs have
to be beneath the web root defined in setup? Should I reinstall or try to
dig up where the web root has been defined. Can anyone drop me some hints?

Joel

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of Joel Cass
Sent: Wednesday, 5 July 2006 11:38 AM
To: [email protected]
Subject: [cfaussie] AXIS error on MX7



Hi,

Had this error when invoking a known working web service on a new server
(Win2003, MX 7,0,0,91690)

Apparently, "something" has gone wrong (?) - The cfc exists in the specified
directory, which is mapped in CF administrator as "/". Typing another
filename in returns a 404 - the CFC works perfectly on another server
(Win2000, MX 7,0,1,116466).

Does anyone know what this means (google has let me down):

---------------------------------------------------------------
{{{CFCName}}} = filename of CFC (without extension) being requestered
---------------------------------------------------------------
AXIS error
Sorry, something seems to have gone wrong... here are the details:

Fault - Error attempting to create Java skeleton for CFC web service; nested
exception is:
        coldfusion.xml.rpc.CFCInvocationException: 
[java.lang.NoClassDefFoundError
: importexport (wrong name: {{{CFCName}}})]
AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode:
 faultString: Error attempting to create Java skeleton for CFC web service;
nested exception is:
        coldfusion.xml.rpc.CFCInvocationException: 
[java.lang.NoClassDefFoundError
: importexport (wrong name: {{{CFCName}}})]
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}hostname:{{{hostname}}}
---------------------------------------------------------------

And it had to be working yesterday.. What do I do?








--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to