cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neela <Neelambal.Shankaralin...@Aspect.com>
Subject DynamicClientFactory createClient fails for SimpleRpc Service
Date Tue, 03 Jun 2014 10:13:11 GMT
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.

Mime
View raw message