Neela,
yes.
could you open a ticket?
i think we just have to skip the compiling part when the source list is empty.
thanks.
regards, aki

2014-06-04 15:48 GMT+02:00 Aki Yoshida <[email protected]>:
> Umm. it sounds like this should go to jira but let me take a quick
> look. will get back to  you.
>
>
> 2014-06-03 12:13 GMT+02:00 neela <[email protected]>:
>> Hi,
>>
>> For SimpleRpc Service, which doesnot have any complex input or output. There
>> is no schema declaration in the WSDL. In that case there is no source file
>> gets created, and its errors out as below.
>>
>> 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)
>>
>>
>> Attached sample java client project and soapUI project - mock service for
>> the service.
>> SimpleRpcTest-WebServiceClientCxf.zip
>> <http://cxf.547215.n5.nabble.com/file/n5744628/SimpleRpcTest-WebServiceClientCxf.zip>
>>
>> Can this be validated for a qualified JIRA issue?
>>
>> Regards,
>> Neela
>>
>>
>>
>>
>> --
>> View this message in context: 
>> http://cxf.547215.n5.nabble.com/DynamicClientFactory-createClient-fails-for-SimpleRpc-Service-tp5744628.html
>> Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to