Question
CFC Pathing Issue, Please Help
All,
I have created a webservice on my local box which is made up of two directories which have several CFC's in them. I am able to unit test and generate the WSDL on my local box.
My local box is CF7 installed in the default directory c:\cfusionmx7
My web services directory is a child of the root at c:\cfusionmx7\webservices. This contains the two corresponding directories for the services. E.G c:\cfusionmx7\webservices\service1\ and service2.
I have a test.cfm within c:\cfusionmx7\webservices which references "service1.servicename" when creating the object. This works.
Enter the nightmare.
I moved all this code to a new development environment which is CF6.1 (shouldn't matter as far as I can tell)
I'm now getting an error that the component "service1.servicename" could not be found.
This server is windows 2000 using IIS. It does NOT have a default website but instead 2 seperate websites using the same IP with host headers defined. Thus being staging and development living in different directories.
The physical directory that the http://development/ points to is e:\inetpub\development\intranet. coldfusion 6.1 is located within e:\inetpub\wwwroot. The application I moved from my local box I moved into e:\inetpub\development\intranet\webservices\
CF doesn't seem to have a problem parsing things within the development\intranet directory but for some reason the CFC's are not cooperating. No matter how I try and map them, I am getting component not found. I have tried "development.intranet.webservices.service1.servicename" and everything in between.
I'm at a loss as to what to do here. I want to think that the configuration of the server (no default website and host headers) might have some influence on this. Either that or I am missing something very simple.
I appreciate any help!
I have created a webservice on my local box which is made up of two directories which have several CFC's in them. I am able to unit test and generate the WSDL on my local box.
My local box is CF7 installed in the default directory c:\cfusionmx7
My web services directory is a child of the root at c:\cfusionmx7\webservices. This contains the two corresponding directories for the services. E.G c:\cfusionmx7\webservices\service1\ and service2.
I have a test.cfm within c:\cfusionmx7\webservices which references "service1.servicename" when creating the object. This works.
Enter the nightmare.
I moved all this code to a new development environment which is CF6.1 (shouldn't matter as far as I can tell)
I'm now getting an error that the component "service1.servicename" could not be found.
This server is windows 2000 using IIS. It does NOT have a default website but instead 2 seperate websites using the same IP with host headers defined. Thus being staging and development living in different directories.
The physical directory that the http://development/ points to is e:\inetpub\development\intranet. coldfusion 6.1 is located within e:\inetpub\wwwroot. The application I moved from my local box I moved into e:\inetpub\development\intranet\webservices\
CF doesn't seem to have a problem parsing things within the development\intranet directory but for some reason the CFC's are not cooperating. No matter how I try and map them, I am getting component not found. I have tried "development.intranet.webservices.service1.servicename" and everything in between.
I'm at a loss as to what to do here. I want to think that the configuration of the server (no default website and host headers) might have some influence on this. Either that or I am missing something very simple.
I appreciate any help!