Do you have a separate DOM implementation in your classpath. Looks like it
conflicts with XML beans.

Thanks,
Sameera.

On Tue, May 22, 2012 at 3:19 PM, Noel Marquez Batista <nmarq...@uci.cu>wrote:

> 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
>



-- 
Sameera Jayasoma
Technical Lead

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to