Hi,
Most likely your jaxb-api and jax-xjc version mismatch, something like
use jaxb-api 2.1 but jax-xjc 2.2.
Freeman
On 2011-8-9, at 下午11:08, srinivas thallapalli wrote:
Hi,
I am trying to invoke a service using cxf 2.3.3 version and getting
the
following exception.
can anybody please help on this.
Caused by: java.lang.IllegalStateException: Unable to write
generated Java
files for schemas: null
at
org
.apache
.cxf
.endpoint
.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:
304)
at
org
.apache
.cxf
.endpoint
.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:
198)
at
org
.apache
.cxf
.endpoint
.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:
191)
at
org
.apache
.cxf
.endpoint
.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:
146)
at
com
.savvion
.common.webservice.service.WebServiceClientImpl.createClient(Unknown
Source)
at
com
.savvion.common.webservice.service.WebServiceClientImpl.invoke(Unknown
Source)
at
com
.savvion
.sbm.bizlogic.client.BLWebServiceUtil.connect(BLWebServiceUtil.java:
33)
... 2 more
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy44.build(Unknown Source)
at
org
.apache
.cxf
.endpoint
.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:
302)
... 8 more
Caused by: java.lang.NoSuchMethodException:
com.sun.codemodel.internal.JCodeModel.build(java.lang.Object)
at java.lang.Class.getMethod(Class.java:1605)
at
org
.apache
.cxf
.common
.util
.ReflectionInvokationHandler.invoke(ReflectionInvokationHandler.java:
50)
... 10 more
--
View this message in context:
http://cxf.547215.n5.nabble.com/Need-help-on-CXF-client-tp4682440p4682440.html
Sent from the cxf-user mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com