Hello,
We are running into an interesting byte code verification error when using
CXF v2.7.2, to consume a SOAP based web service. The same code works
perfectly fine with CXF v2.5.2. We've also tried intermediate versions such
as 2.6.4, but no luck. The web service itself is pretty standard. We use CXF
2.7.2 to generate the stubs and use the stubs to send the SOAP request. We
couldn't notice any difference in the generated stubs between CXF v2.5.2 and
CXF v2.7.2. Here is a snippet of the stack trace we are seeing:

java.lang.VerifyError: (class:
org/apache/cxf/jaxws/support/JaxWsEndpointImpl, method: extractWsdlEprs
signature: (Lorg/apache/cxf/service/model/EndpointInfo;)V) Incompatible
argument to function
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createEndpoint(JaxWsServiceFactoryBean.java:238)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createEndpoints(ReflectionServiceFactoryBean.java:336)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:268)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:90)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:156)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:156)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:465)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:332)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:319)[144:org.apache.cxf.bundle-minimal:2.7.2]
at
javax.xml.ws.Service.getPort(Service.java:40)[140:org.apache.servicemix.specs.jaxws-api-2.1:1.9.0]

We've also looked at JaxWsEndPointImpl and EndPointInfo classes but couldn't
quite see any changes that might cause this issue. Any help would be greatly
appreciated.

Thanks




--
View this message in context: 
http://cxf.547215.n5.nabble.com/java-lang-VerifyError-with-CXF-version-2-7-2-Works-fine-with-CXF-v2-5-2-tp5723069.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to