4 Replies Latest reply on Sep 7, 2010 3:18 PM by fgwenger

    Error with external wsdl file for a cfcomponent (webservice)

    Daryath
      Related to the post in this forum: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=13 86433&highlight_key=y&keyword1=wsdl
      The problem is that ColdFusion 8.0.1 changes the case for namespaces of custom datatypes. This breaks the implementation of the webservice in other languages that are case sensitive. (like .NET). Because of this error, we cannot update the servers to fix other critical bugs in the 8.0.1 release.

      Unable to find a solution ;-(, I'm trying to find a work-around for this problem. I thought I had it; I would save the generated WSDL document generated by Coldfusion 8.0.1 and correct the case manually. Then using the corrected WSDL file as an external WSDL file. The problem is that when I would use the generated WSDL file in the component I get an AXIS error.

      It also generates this error when I don't use an external WSDL file, but use a custom namespace to the webservice url. Like: http://mydomain.com/soap/webservice.cfc?wsdl

      This is the error I get:

      AXIS error

      Sorry, 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: [java.lang.ExceptionInInitializerError : null][java.lang.ClassCastException : [Ljava.lang.Object; cannot be cast to java.lang.String]

      I've read on forums that this is a mapping problem. I currently do have a mapping, but removing this didn't fix the problem.

      Does anybody have any ideas on how to solve this?
      Maybe downgrade AXIS?, so the generated WSDL file would be the correct case as with version 8.0.0