Hi all. I’m trying to consume an axis2 web service. In the AS, when I go to the trying, it gives me the error
<soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <faultcode>soapenv:Server</faultcode> <faultstring>org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to akademosws.ObtenerEstudianteDadoIdExpedienteDocument</faultstring> <detail/> </soapenv:Fault> I develop a Java client to test the service, and give me the same error: org.apache.axis2.AxisFault: org.apache.xmlbeans.impl.values.XmlComplexContentImpl cannot be cast to akademosws.ObtenerEstudianteDadoIdExpedienteDocument at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.example.www.akademosservice.AkademosServiceStub.obtenerEstudianteDadoIdExpedienteWS(AkademosServiceStub.java:860) at org.example.www.akademosservice.cliente.main(cliente.java:24) -- The only easy day was yesterday. 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS... CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION http://www.uci.cu http://www.facebook.com/universidad.uci http://www.flickr.com/photos/universidad_uci _______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev