The fact that the Soap12FaultInInterceptor is catching this says the fault is coming in on the wire, so the issue is on the server side. You would need to check the logs and such on the server side.
Dan On Wednesday 06 October 2010 9:45:56 am Victor Rodriguez wrote: > Hi all! > > First of all my name is Victor, and I am from Barcelona and I am new in the > list. > > I have a problem with the webservice I have developed. I have used the > wsdl2java tool because I had the wsdl first. > > Now, I have developed the client and when I try to connect with the service > I have this exception as result: > > javax.xml.ws.soap.SOAPFaultException: object is not an instance of > declaring > > > class while invoking public abstract > > com.httpcomunicacio.integrador.ws.model.to.trust.generated.ReservationDow > > nloadConfirmation > > com.httpcomunicacio.integrador.ws.producer.trust.VoyagerServicePortType. > > sendReservations(com.httpcomunicacio.integrador.ws.model.to.trust.generat > > ed.Reservations) with params > > [com.httpcomunicacio.integrador.ws.model.to.trust.generated.Reservations@ > > 2e14f5bf ]. > > > > at > > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146) > > > > at $Proxy38.sendReservations(Unknown Source) > > > > at com.trustinternational.xml.reservation._2009._11.VoyagerService.main( > > VoyagerService.java:116) > > > > Caused by: org.apache.cxf.binding.soap.SoapFault: object is not an > > instance of declaring class while invoking public abstract > > com.httpcomunicacio.integrador.ws.model.to.trust.generated.ReservationDow > > nloadConfirmation > > com.httpcomunicacio.integrador.ws.producer.trust.VoyagerServicePortType. > > sendReservations(com.httpcomunicacio.integrador.ws.model.to.trust.generat > > ed.Reservations) with params > > [com.httpcomunicacio.integrador.ws.model.to.trust.generated.Reservations@ > > 2e14f5bf ]. > > > > at > > org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor.unmarsha > > lFault( Soap12FaultInInterceptor.java:114) > > > > at > > org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor.handleMe > > ssage( Soap12FaultInInterceptor.java:59) > > > > at > > org.apache.cxf.binding.soap.interceptor.Soap12FaultInInterceptor.handleMe > > ssage( Soap12FaultInInterceptor.java:46) > > > > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept( > > PhaseInterceptorChain.java:244) > > > > at > > org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage( > > AbstractFaultChainInitiatorObserver.java:99) > > > > at > > org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessa > > ge( CheckFaultInterceptor.java:69) > > > > at > > org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessa > > ge( CheckFaultInterceptor.java:34) > > > > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept( > > PhaseInterceptorChain.java:244) > > > > at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:729) > > > > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRespo > > nseInternal( HTTPConduit.java:2261) > > > > at > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleRespo > > nse( HTTPConduit.java:2134) > > > > at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close( > > HTTPConduit.java:1988) > > > > at > > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) > > > > at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:639) > > > > at > > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingIn > > terceptor.handleMessage( MessageSenderInterceptor.java:62) > > > > at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept( > > PhaseInterceptorChain.java:244) > > > > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516) > > > > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313) > > > > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265) > > > > at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) > > > > at > > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) > > > > ... 2 more > > Any thought about what does it mean? I create the Reservations object with > the ObjectFactory class to be sure it is well created... > > Thanks in advance, > > Víctor Rodríguez > www.v-code.org -- Daniel Kulp [email protected] http://dankulp.com/blog
