无法访问WebLogic 12C中的WSDL

时间:2017-07-10 04:57:55

标签: java wsdl weblogic axis2 weblogic12c

在weblogic 12c上访问我们的某个webapps的WSDL时,我们面临以下异常。

<Error> <HTTP> <BEA-101020> <[ServletContext@1959382202[app:mywebapp module:mywebapp path:null spec-version:3.0]] Servlet failed with an Exception
java.lang.ClassCastException: org.apache.axis2.wsdl.util.WSDLDefinitionWrapper cannot be cast to oracle.j2ee.ws.wsdl.DefinitionImpl
        at oracle.j2ee.ws.wsdl.xml.WSDLWriterImpl.writeWSDL(WSDLWriterImpl.java:87)
        at org.apache.axis2.description.AxisService.printDefinitionObject(AxisService.java:1085)
        at org.apache.axis2.description.AxisService.printUserWSDL(AxisService.java:1112)
        at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1386)
        at org.apache.axis2.transport.http.ListingAgent.handleWSDLRequest(ListingAgent.java:327)
        Truncated. see log file for complete stacktrace
>

当我们尝试点击网址时,我们会在屏幕上看到错误(与管理员联系)以及日志中的上述异常。

0 个答案:

没有答案