Home Contact Us

n42 Designs

ColdFusion and Flex Web Development

n42 Designs

n42 Designs specializes in custom web development using the Adobe web development platform, ColdFusion and Flex. For web sites, web applications, large and small, let us know how we can help your business succeed!

Search

n42 Designs

Recent Comments

Subscribe

RSS

 

Webservices Change in CF 8.0.1

It seems with the change to 8.0.1 there is a difference in the way CF generates the stubs for a CFC called as a web service. I had a CFC called webservices.cfc and on 8.0 it was working fine calling the methods, but with the 8.0.1 it started throwing a "duplicate file name" error. This seems to be because CF creates its own stub file Webservices.java and also a [cfcname].java file. CF couldn't create both so it threw an error. The solution was to rename my CFC. The stubs can be found in C:\ColdFusion8\stubs\ on windows, and if I remember correctly /Applications/ColdFusion8/stubs/ on Mac OS X.

Comments
RyanTJ's Gravatar Did you ever find a solution other than
renaming. I have tried every refresh option from the invoke to the
factory.XmlRpcService to deleting every class and stub and skeleton.
nothing seems to work. searched the entire drive and registery.
# Posted By RyanTJ | 2/20/09 12:07 PM
Sean Coyne's Gravatar No, I didn't. Renaming it wasn't a problem
for me, so I never looked any further. Is renaming out of the question
for you?
# Posted By Sean Coyne | 2/20/09 2:11 PM