Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Web Service IP address issue

New Here ,
Dec 19, 2008 Dec 19, 2008
Hi,

I have a server with ColdFusion8 and Windows 2003. This has IIS 6.0 installed and hosts multiple sites with differeny internal IP's. I created an IIS record entry which refers to a directory containing some .cfm files and a web service (.cfc) in a subdirectory. When I type in the url of one of the .cfm files (e.g. http://IPAddress/test.cfm), the file displays properly. However when I type in the url of one of the .cfc files (e.g. http://IPAddress/cfc/CustomerRequest.cfc?wsdl) it gives me the following error:

Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is:
coldfusion.xml.rpc.CFCInvocationException: [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : Cannot resolve CFC datatype: /cfc/CustomerRequest.cfc.]

One thing I found is that if I type in http://IPAddress/cfc/CustomerRequest.cfc?wsdl, it seems to go to another website hosted on the same machine, even though the IP's don't match. I copied the same .cfc file to the directory pointed by the second IP address and this url would work. I was wondering if anyone has encountered this problem before?

Sincerely,

Jason

957
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 20, 2008 Dec 20, 2008
Jason, do you realize that your 2 sample URLs calling the CFC are the same? It reads as if you intended them to be different URLs (since the second got a different result, the redirection).

Also, what happens if you just try to browse the URL without the ?wsdl (which would normally launch the CFC browser, which requires knowing the CF Admin password). If that fails, then perhaps there's some issue that has nothing to do with web services per se. Let us know what you find.

/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 22, 2008 Dec 22, 2008
LATEST
Hi carehart,

What happens if I type http://IPAddress/cfc/CustomerRequest.cfc?wsdl, it seems to go to http://IPAddress2/cfc/CustomerRequest.cfc?wsdl. It doesn't redirect, but it seems to try to access the code from a different website altogether. I figured this out by copying the CustomerRequest.cfc file to the second website and it worked, but when I deleted it, it no longer worked.

If I type the URL without the ?wsdl, it promots me for the CF password. Once I type this in, I get the message:

Component not found
The component definition file for component 'cpaffinion.cfc.CustomerRequest' cannot be found on this server.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources