关于weblogic中调用webservice报找不到AddressingExtensionRegistry类(纠正)

错误如下:

weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
警告: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
2013-6-24 15:33:46 weblogic.wsee.jaxws.spi.WLSProvider createServiceDelegate
警告: Could not read WSDL Definition from URL wsdlDocumentLocation: 2 counts of InaccessibleWSDLException.

2013-6-24 15:33:55 weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
警告: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.ClassNotFoundException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry
2013-6-24 15:33:55 weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
严重: Failed to create WsdlDefinitionFeature for wsdl location: http://192.168.80.94:8080/service?wsdl, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.



问题原因是新版的weblogic(我这里用的是10.36)本身已经支持webservice了,所以部署的时候工程目录里就不需要在有cxf的相关jar包,删除相关jar包后调用正常。

你可能感兴趣的:(web,service)