com.sun.xml.wss.XWSSecurityException: java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl incompatible with javax.xml.soap.SOAPElement

hivmr.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    db:: 3.79::SOAP and java problem....create SOAPMessage from file. Extremely important! pc

    hivmr.com | 11 months ago
    com.sun.xml.wss.XWSSecurityException: java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl incompatible with javax.xml.soap.SOAPElement
  2. 0

    db:: 2.87::How to config PollingDuplexHttpBinding in ServiceReferences.ClientConfig ? xm

    hivmr.com | 11 months ago
    com.sun.xml.wss.XWSSecurityException: java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl incompatible with javax.xml.soap.SOAPElement
  3. 0

    db:: 3.90::ClassCastException exception while running EJB Client m9

    hivmr.com | 11 months ago
    com.sun.xml.wss.XWSSecurityException: java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl incompatible with javax.xml.soap.SOAPElement
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException while securing the SOAP message

    Oracle Community | 9 years ago | 843833
    com.sun.xml.wss.XWSSecurityException: java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl incompatible with javax.xml.soap.SOAPElement
  6. 0

    db:: 4.13::Unable to create message factory for SOAP: Provider com.sun.xml.messaging.. z7

    hivmr.com | 7 months ago
    com.sun.xml.wss.XWSSecurityException: java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl incompatible with javax.xml.soap.SOAPElement

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.apache.xerces.dom.ElementNSImpl incompatible with javax.xml.soap.SOAPElement

      at com.sun.xml.wss.impl.SecurableSoapMessage.findWsseSecurityHeaderBlock()
    2. Metro Web Services Runtime OSGi Bundle
      XWSSProcessor2_0Impl.secureOutboundMessage
      1. com.sun.xml.wss.impl.SecurableSoapMessage.findWsseSecurityHeaderBlock(SecurableSoapMessage.java:183)
      2. com.sun.xml.wss.impl.SecurableSoapMessage.findOrCreateSecurityHeader(SecurableSoapMessage.java:225)
      3. com.sun.xml.wss.impl.filter.TimestampFilter.process(TimestampFilter.java:120)
      4. com.sun.xml.wss.impl.HarnessUtil.processWSSPolicy(HarnessUtil.java:68)
      5. com.sun.xml.wss.impl.HarnessUtil.processDeep(HarnessUtil.java:218)
      6. com.sun.xml.wss.impl.SecurityAnnotator.processMessagePolicy(SecurityAnnotator.java:143)
      7. com.sun.xml.wss.impl.SecurityAnnotator.secureMessage(SecurityAnnotator.java:118)
      8. com.sun.xml.wss.impl.misc.XWSSProcessor2_0Impl.secureOutboundMessage(XWSSProcessor2_0Impl.java:77)
      8 frames
    3. com.soap.client
      SOAPTestClient.main
      1. com.soap.client.SOAPTestClient.createSoapMessage(SOAPTestClient.java:219)
      2. com.soap.client.SOAPTestClient.main(SOAPTestClient.java:84)
      2 frames