santiagozky/harmony.common.serviceinterface — Issue #2: Fail to generate topology webservice client
Author: santiagozky
Created: 2012-03-05 14:56:25+00:00
State: open
Labels: bug

when running the wsdl2java script to generate the topology client, I get this:

java.lang.ClassCastException: org.apache.muse.tools.generator.util.Capability cannot be cast to java.lang.String
at eu.ist_phosphorus.harmony.common.serviceinterface.synthesizer.ProxyInterfaceSynthesizer.generateCode(ProxyInterfaceSynthesizer.java:213)
at eu.ist_phosphorus.harmony.common.serviceinterface.synthesizer.ProxyInterfaceSynthesizer.synthesize(ProxyInterfaceSynthesizer.java:534)
at eu.ist_phosphorus.harmony.common.serviceinterface.synthesizer.ProxySynthesizer.synthesize(ProxySynthesizer.java:78)
at org.apache.muse.tools.generator.Wsdl2Java.run(Wsdl2Java.java:178)
at org.apache.muse.tools.generator.Wsdl2Java.main(Wsdl2Java.java:270)

SEVERE: [ID = 'CodeGenFailed'] Code generation failed, see the exception information below.

An exception was caught: org.apache.muse.tools.generator.util.Capability cannot be cast to java.lang.String

Cannot chdir to /home/santiago/projects/harmony/ist-phosphours-wp1.harmony.src/harmony.common.serviceinterface/temp/wsdl2java/src/eu/ist_phosphorus/nsp/webservice/topology (No such file or directory) at resources/scripts/wsdl2java.pl line 253.