Perhaps my sample: http://www.jroller.com/gmazza/entry/updating_databases_with_jaxws might show you what you might be doing differently architecturally which might be causing the error? Offhand, it looks like your client is lacking the JAXB configuration information (ObjectFactory class perhaps)?

Glen

On 09/25/2012 03:32 PM, applebee wrote:
I have created webservices using CXF with one save(insert/create) operation.
when I tested in SOAPUI, it is working fine(created the new record in
database).
With this WSDL I generated client class, which invokes the webservice
insert/create operation.
when I'm doing this, I'm getting exception

WARN  PhaseInterceptorChain - Interceptor for {webServiceEndpoint}# save has
thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Unmarshalling Error: Unable to create an
instance of com.packagename.Response
        at
org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:823)

Please help me to resolve this issue. Thank you



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Unmarshalling-Error-CXF-tp5714722.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to