Error Attempting To Create Java Skeleton For Cfc Web Service
Contents |
ElementsAdobe Dreamweaver Adobe MuseAdobe Animate CCAdobe Premiere ProAdobe After EffectsAdobe IllustratorAdobe InDesignView all communitiesExplore Menu beginsMeet the expertsLearn our productsConnect with your peersError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled.
Cannot Perform Web Service Invocation
Please turn JavaScript back on and reload this page. Please enter a title. cannot perform web service invocation axisfault You can not post a blank message. Please type your message and try again. More discussions in ColdFusion All the fault returned when invoking the web service operation is: CommunitiesColdFusion 11 Replies Latest reply on Feb 1, 2010 10:53 AM by BKBK CF9 AdminAPI administrator.cfc Axis Issue Owain North Dec 31, 2009 5:12 AM Not sure if anyone's come up against this one before, but searching the forums and Googling is getting me nowhere.Trying to use the AdminAPI and all work except for the main Administrator.cfc, which annoyingly I need to login. Any of the other cfc's I can introspect, such as:http://127.0.0.1/CFIDE/adminapi/security.cfc?WSDL - not an issueHowever this one doesn't work:http://127.0.0.1/CFIDE/adminapi/administrator.cfc?WSDLAnd I get the following error:AXIS errorSorry, 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: [coldfusion.xml.rpc.CFCInvocationException : returnType must be defined for remote CFC functions.]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: [coldfusion.xml.rpc.CFCInvocationException : returnType must be defined for remote CFC functions.] faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostnameHas anyone seen this before? Can anyone help? This is causing me real issues!Cheers muchlyO. I have the same question Show 0 Likes(0) 2515Views Tags: none (add) This content has been marked as final. Show 11 replies 1. Re: CF9 AdminAPI administrator.cfc Axis Issue AdamPresley Dec 31, 2009 7:03 AM (in response to Owain North) Hmmm. I can honestly say I've not tried using the AdminAPI's as a web service directly before, but instead have written wrappers around them, making the wrapper a webservice, and implementing some type of security around that. Let us know if you discover anything else. Like Show 0 Likes(0) Actions 2. Re: CF9 AdminAPI administrator.cfc Axis Issue leechristie Jan 2, 2010 4:58 AM (in response to AdamPresley) Cheers for the reply Adam.I'd thought of doing that but
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a https://forums.adobe.com/thread/547575 minute: Sign up Serious, intermittent problem with CF Web Service up vote 12 down vote favorite 2 Howdy, CFers! We've got an incredibly frustrating situation with a CF Web Services-based API that we wrote and maintain. We had an API in place for years that was stable and working happily with Ruby, PHP, and ColdFusion clients. Then this year a .NET client http://stackoverflow.com/questions/2300776/serious-intermittent-problem-with-cf-web-service came along, and we found that our web service was not interoperable with statically-typed languages due to our extensive use of structs. We eventually realized we had to re-write the API without structs, and we've done so. It now uses scaler values, arrays, and CFCs (which get translated to SOAP complexTypes). The .NET client is happy, and we wrote proof-of-concept clients in about 6 different languages to ensure that we'd be interoperable this time around. To our great dismay, it appears that our ColdFusion 7 servers can't serve the new API reliably. It works for about a day or so after restarting, then the clients start getting errors like: Error: coldfusion.xml.rpc.CFCInvocationException [java.lang.ClassNotFoundException : tafkan.remote_api.pfapi.v.trunk.rsp_pf_survey_status_array] and java.lang.NoClassDefFoundError: tafkan/remote_api/pfapi/v/trunk/pf_unit Restarting the CF instances is the only way to make the problem go away. A lot of time and money was put into rebuilding the API, so everyone is really at wit's end about this. We've noticed that the WEB-INF/cfc-skeletons directories of our CF instances eventually seem to have two copies of the classes for each of the CFCs used by the API. For example: -
services and our favorite buddies, Coldfusion Mappings. 100% reproducible and I https://www.luismajano.com/blog/Could-not-resolve-CFC-datatype-Error-when-viewing-a-cfcwsdl think Macromedia had a fix for 6.1, but not for 7, https://www.experts-exchange.com/questions/26721282/Inherited-CFC-gives-Java-Skeleton-Error.html at least I don't know about it.
Here is what it comes down to. Let's say you have a CFC on your server on the following physical location:/data/cfcs/remotes/giftshop/products.cfcAnd the apache or IIS web root points to "remotes", thus, to call this webservice wsdl you web service would usehttp://myurl/giftshop/products.cfc?wsdlNow let's say that you have a CFMX mapping to any directory, it actually doesn't matter, but with the name "giftshop".When you go now to the wsdl URL you get this nasty error:AXIS errorSorry, something seems to have gone wrong... here are the details:Fault - Error attempting to create Java skeleton for CFC web cannot perform web service; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : Could not resolve CFC datatype: /giftshop/webProducts.cfc]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: [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedCFCDataTypeException : Could not resolve CFC datatype: /giftshop/webProducts.cfc] faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}hostname:ibm-1.sandals.comThe problem lies that CFMX confuses the webroot path with the coldfusion mapping, it can't distinguish between them and actually follows the mapping. Once you remove or rename the CFMX mapping, the error disappears and you have a wsdl compilation.Does anybody now if a fix is on the way? or already out? Please let me know. Tags: ColdFusion 7 Comments Add Comment (7) Name: (required) Email: (required) Website: Comment: Notify me of follow-up comments by email. Enter the security code shown above: Sean Corfield Having a mapping with the same name as a real directory in your webroot is just plain ol' a bad idea! It's like "Doctor, doctor! It hurts when I do this!" - just dofor Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Inherited CFC gives Java Skeleton Error Want to Advertise Here? Solved Inherited CFC gives Java Skeleton Error Posted on 2011-01-06 ColdFusion Language 1 Verified Solution 10 Comments 593 Views Last Modified: 2012-05-10 I have a CFC that extends another in the same directory. Everything works perfectly when called from web pages. When called as webservices, it works for a day or two (cached?) and then it throws the error: Error attempting to create Java skeleton for CFC web service; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NoClassDefFoundError : ws/selfticket/magic] All I have to do is touch the file and it will work again for a day or two. I have tried using default "/" mapping and defining one explicitly, the behavior seems identical. (Again, they are in the same directory), but it seems to lose where / is. 0 Question by:berkeleysquare Facebook Twitter LinkedIn Google LVL 11 Active 2 days ago Best Solution byBrijesh Chauhan Make sure that you have applied all the hotfixes to the server which are available for CFMX, here is a post on Adobe Forums which talks about it http://forums.adobe.com/thread/546668 Go to Solution 10 Comments LVL 11 Overall: Level 11 ColdFusion Language 11 Message Active 2 days ago Expert Comment by:Brijesh Chauhan2011-01-06 Which version of CF are you using ? Also, can you post the complete error message and the code it refers to ? 0 Message Author Comment by:berkeleysquare2011-01-07 Thanks. MX7.02 on Windows Server 2003, IIS6 web server. That's all that is returned to the calling program. I am trying to remember if it is more verbose in the browser. It is working now, but I will try to hit the WSDL if it fails, that returns a similar message. keyMagic.cfc extends magic