Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5713

Error when displaying web service WSDL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.5, 1.6.3
    • None
    • kernel
    • None
    • Windows 2008, 2012, WebLogic Server 12c

    Description

      Web service deployed to WebLogic Server 12 runs fine however when trying to display the WSDL results in the error below. We use utilities to create client code to consume the web services which requires the WSDL. This error is preventing us from doing that. Note this did not occur in version 1.3 but with the new wsdl utility classes as the one referenced in the error.

      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:1016)
      at org.apache.axis2.description.AxisService.printUserWSDL(AxisService.java:1030)
      at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1306)
      at org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:270)
      at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:249)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3432)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3402)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

      Attachments

        Activity

          People

            Unassigned Unassigned
            mark.brewer@sungardps.com Mark Brewer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: