Error with external wsdl file for a cfcomponent (webservice)
Related to the post in this forum:
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:
This is the error I get:
Sorry, something seems to have gone wrong... here are the details:
Fault - Error attempting to create Java skeleton for CFC web service.; nested
[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