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

ClassCastException from org.apache.axis2.saaj.SOAPElementImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.2
    • 1.7.8
    • saaj
    • Windows 7

    Description

      We have have which worked fine with Axis 1.6.2 , Axis 1.6.2 . The moment I try to upgrade to the Axis 1.7.1 or to Axis 1.7.2 the following exception is thrown from SOAPElementImpl

      java.lang.ClassCastException: org.apache.axis2.saaj.SOAPElementImpl cannot be cast to org.apache.axiom.om.OMElement
      at org.apache.axis2.saaj.SOAPElementImpl.addChildElement(SOAPElementImpl.java:169)
      at vish.SOAPTest.addCallNode(SOAPTest.java:35)
      at vish.SOAPTest.main(SOAPTest.java:50)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

      Attachments

        1. SOAPTest.java
          2 kB
          Vishwanath Washimkar

        Activity

          People

            Unassigned Unassigned
            vwashimkar Vishwanath Washimkar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: