Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.13, 2.7.11, 3.0
-
None
-
Unknown
Description
When there is no source files generated for the types (e.g., the service is an RPC styled service using primitive types), the client generation code is resoling the following error:
Fails after DynamicClientFactory.java Line#369.
INFO: Created classes:
java.lang.IllegalStateException: no source files
at com.sun.tools.javac.main.Main.error(Main.java:173)
at com.sun.tools.javac.main.Main.compile(Main.java:397)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)
at org.apache.cxf.common.util.Compiler.internalJava6Compile(Compiler.java:232)
at org.apache.cxf.common.util.Compiler.useJava6Compiler(Compiler.java:194)
at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:144)
at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:139)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.compileJavaSrc(DynamicClientFactory.java:611)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:370)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:241)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:234)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:189)
at org.voxeo.eval.cxfclient.SimpleRpcLiteralClientTest.testName(SimpleRpcLiteralClientTest.java:46)