Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CFC error

    Hi, I have tried to move a cf site from one server to my new server, but I
    have seen the following error when invoking the web service definition file of
    a cfc component: ======================== AXIS error Sorry, something seems to
    have gone wrong... here are the details: Fault -
    [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
    not resolve CFC datatype: /cfc/fashioncorner.cfc][; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException:
    [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
    not resolve CFC datatype: /cfc/fashioncorner.cfc][ AxisFault faultCode:
    {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString:
    [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
    not resolve CFC datatype: /cfc/fashioncorner.cfc][; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException:
    [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
    not resolve CFC datatype: /cfc/fashioncorner.cfc][ faultActor: faultNode:
    faultDetail: ==================== This error is seen at the following URL:
    [url]http://fashioncorner.porta80.com.br/cfc/fashioncorner.cfc?wsdl[/url] But in the old
    server the problem does not happen:
    [url]http://www.fashioncorner.com.br/cfc/fashioncorner.cfc?wsdl[/url] Any ideas? Of
    course there is a configuration problem in the server, but I don't know what it
    is. Thanks in advance!

    CFMagic Guest

  2. Similar Questions and Discussions

    1. Error Message "A drawing error ocurrred which is probably due to an out-of-memory condition. Try qu
      I am running Acrobat Reader 5.0 on a Mac Powerbook running OS 9.2 and keep getting "A drawing error occurred which is probably due to an out of...
    2. Error 403 Failed to read heders Error for long-runningCFMAIL and CFINDEX command
      I have two different pages with long-running scripts on which I am recieving the following error: Error - 403 Failed to read headers to server:...
    3. Error Creating Control: Parser Error DocHeader does not have a property named 'cc3:MyItems'
      I am having problems getting this webcontrol working properly. Everything else works fine except having items. So here is the low-down on the...
    4. Unexpected error. A trappable error (C0000005) occurred in an external object.
      Hi Elvin, After doing some reseaarch on this problem, I found there is a lot of issues which may cause the problem, for example, incorrect access...
    5. An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)
      Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources...
  3. #2

    Default Re: CFC error

    Did you by any chance upgrade to CF 7 on your new server? I am getting this same error on a server that I am testing CF 7 on. I have not seen this type of error before CF 7.

    Danny
    wvufan Guest

  4. #3

    Default Re: CFC error

    i an also having the same error on CF7 after upgrading from CF6.1 does anyone has an answer for it?
    EluSiOn Guest

  5. #4

    Default Re: CFC error

    Do you have a mapping for the /cfc directory?

    For those of you who are getting the "same" error, do you have mappings for
    the CFC data types used in the web service? Does it work when you don't
    depend on a CF mapping?

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  6. #5

    Default Re: CFC error

    Hi,
    Getting the same error. Today i updated the CF updater for CFMX 6.1. As soon as i installed the updater i am getting this error.

    Please help.

    Thanks
    -Raaga
    Raaga Guest

  7. #6

    Default Re: CFC error

    Well, I believe we fixed some problems with web services and mappings in the
    updater.

    It sure would help this thread if someone would post some code.

    "me too" doesn't help us debug it. :-{

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  8. #7

    Default Re: CFC error

    Hi Tom, Thanks for the reply. This is the simple CFC i am testing.
    <cfcomponent> <cffunction name='echoString' returnType='string' output='no'>
    <cfreturn 'Testing the WSDL'> </cffunction> </cfcomponent> the error
    generated AXIS error Sorry, something seems to have gone wrong... here are
    the details: Fault -
    [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
    not resolve CFC datatype: /api/test.cfc][; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException:
    [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
    not resolve CFC datatype: /api/test.cfc][ AxisFault faultCode:
    {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString:
    [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
    not resolve CFC datatype: /api/test.cfc][; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException:
    [coldfusion.xml.rpc.SkeletonClassLoader$UnresolvedC FCDataTypeException : Could
    not resolve CFC datatype: /api/test.cfc][ faultActor: faultNode:
    faultDetail: This CFC works fine before installing the updater. Please
    suggest how to fix the solution. Is there any way to uninstall the installer
    which was installed. Thanks -Raaga

    Raaga Guest

  9. #8

    Default Re: CFC error

    Do you have a ColdFusion mapping for /api ? That simple CFC works fine for
    me.

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  10. #9

    Default Re: CFC error

    Adding the cfmapping in the administrator will eliminate the error but ... In
    this example, creating an /api mapping will only help that one site. If the
    same cfserver is serving other cf sites that provides webservices and using the
    same folder convention /api, this method won't work. I.e. on the same cfserver
    site1.com/api/test.cfc site2.com/api/test.cfc this solution will only solve
    the problem on one site, not the other. Is there anything else that can be
    done, Tom? Thanks, Tom S.

    Thomas P. Sychay Guest

  11. #10

    Default Re: CFC error

    Tom,
    I guess I don't understand your question. Since CF mappings are used for
    all sites, all the sites will use the same mapping for /api to point to the
    same file. This is a good thing.

    The updater fixed a problem that mappings were not respected when a
    component was being used as a web service. Now they are respected - exactly
    as if you were accessing them as a component.

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  12. #11

    Default Re: CFC error

    Thanks for the quick reply... For some, using the same mapping that in turn
    maps to a name of an http folder off a webroot is disadvantegeous, esp. on a
    server hosting multiple sites and whose directory and naming conventions put
    all cfc's in the '/client/webroot/com' folder. So let's say that there is a
    webservice called subscribe.cfc for the site [url]www.mysite1.com[/url]. The physical
    path is d:\mysite1.com\webroot\com\subscribe.cfc. The call to the cfc via
    webservice would be [url]http://www.mysite1.com/com/subscribe.cfc?wsdl[/url] The invoke as
    component would be /mysite1/com/subscribe. mysite1 is cf mapping to the mysite1
    webroot. And then let's say there's another site called [url]www.mysite2.com[/url] which
    is a totally different site with totally different subscribe rules. Following
    our company's convention of setting up sites, we would also set it up as
    follows: The physical path is d:\mysite2.com\webroot\com\subscribe.cfc. The
    call to the cfc via webservice would be
    [url]http://www.mysite2.com/com/subscribe.cfc?wsdl[/url] The invoke as component would be
    /mysite2/com/subscribe. mysite2 is cf mapping to the mysite2 webroot. So the
    '/com' mapping would only work for one site. It would make sense that calling
    the webservice 'http://www.mysite1.com/com/subscribe.cfc?wsdl' and
    'http://www.mysite2.com/com/subscribe.cfc?wsdl' would call two different cfc's.
    Let me know if this makes sense!, Thanks, Tom

    Thomas P. Sychay Guest

  13. #12

    Default Re: CFC error

    Yes, I see. This is a limitation of the CF mappings when used with multiple
    sites.

    What I would do would be to not use mappings at all, and make sure my web
    roots all had the CFCs in the actual path, i.e.. there was a 'com' directory
    in both web roots.
    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139