cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aki Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-5794) DynamicClientFactory createClient fails for Simple Rpc Service (java.lang.IllegalStateException: no source files )
Date Tue, 10 Jun 2014 10:37:02 GMT
Aki Yoshida created CXF-5794:
--------------------------------

             Summary: DynamicClientFactory createClient fails for Simple Rpc Service (java.lang.IllegalStateException:
no source files )
                 Key: CXF-5794
                 URL: https://issues.apache.org/jira/browse/CXF-5794
             Project: CXF
          Issue Type: Bug
          Components: Simple Frontend
    Affects Versions: 3.0.0, 2.7.11, 2.6.13
            Reporter: Aki Yoshida
            Assignee: Aki Yoshida


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)


Reported in
http://cxf.547215.n5.nabble.com/DynamicClientFactory-createClient-fails-for-SimpleRpc-Service-tt5744628.html#a5744697



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message