When I try to run a CXF web service client I generated from a WSDL I get the
following error.

 

Can someone help me out?  Thanks.

 

log4j:WARN No appenders could be found for logger
(org.apache.cxf.common.logging.LogUtils).

log4j:WARN Please initialize the log4j system properly.

Exception in thread "main" java.lang.NoSuchFieldError: QUALIFIED

        at
org.apache.cxf.service.model.SchemaInfo.setSchema(SchemaInfo.java:146)

        at
org.apache.cxf.wsdl11.SchemaUtil.extractSchema(SchemaUtil.java:136)

        at org.apache.cxf.wsdl11.SchemaUtil.getSchemas(SchemaUtil.java:81)

        at org.apache.cxf.wsdl11.SchemaUtil.getSchemas(SchemaUtil.java:65)

        at org.apache.cxf.wsdl11.SchemaUtil.getSchemas(SchemaUtil.java:60)

        at
org.apache.cxf.wsdl11.WSDLServiceBuilder.getSchemas(WSDLServiceBuilder.java:
357)

        at
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.ja
va:324)

        at
org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.ja
va:188)

        at
org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:134)

        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFrom
WSDL(ReflectionServiceFactoryBean.java:382)

        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServic
eModel(ReflectionServiceFactoryBean.java:499)

        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Reflectio
nServiceFactoryBean.java:241)

        at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFact
oryBean.java:202)

        at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(Abst
ractWSDLBasedEndpointFactory.java:101)

        at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:90)

        at
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean
.java:152)

        at
org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java
:142)

        at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:464)

        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:331)

        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:318)

        at javax.xml.ws.Service.getPort(Unknown Source)

        at
gov.faa.swim.nsrr.rd.soaphttp.SoapHttpWeatherImpl.getSoapHttpWeatherImplPort
(SoapHttpWeatherImpl.java:63)

        at
gov.faa.swim.nsrr.rd.soaphttp.SoapHttpWeatherImplPortType_SoapHttpWeatherImp
lPort_Client.main(SoapHttpWeatherImplPortType_SoapHttpWeatherImplPort_Client
.java:55)

Reply via email to