org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have children other than SOAP Header and Body

codegur.online | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.NoClassDefFoundError: org/apache/cxf/jaxrs/impl/UriBuilderImpl

    codegur.online | 9 months ago
    org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have children other than SOAP Header and Body
  2. 0

    Spring WebServiceTemplate : SOAP Envelope can not have children other than SOAP Header and Body

    Stack Overflow | 2 years ago | Sandheep
    org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have children other than SOAP Header and Body

    Root Cause Analysis

    1. org.apache.axiom.soap.SOAPProcessingException

      SOAP Envelope can not have children other than SOAP Header and Body

      at org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild()
    2. Axiom DOM
      SOAPEnvelopeImpl.insertBefore
      1. org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild(SOAPEnvelopeImpl.java:109)
      2. org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.insertBefore(SOAPEnvelopeImpl.java:163)
      2 frames
    3. Apache WSS4J
      WSHandler.doSenderAction
      1. org.apache.ws.security.util.WSSecurityUtil.prependChildElement(WSSecurityUtil.java:690)
      2. org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:736)
      3. org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:138)
      4. org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:115)
      4 frames
    4. org.springframework.ws
      AbstractWsSecurityInterceptor.handleRequest
      1. org.springframework.ws.soap.security.wss4j.Wss4jHandler.doSenderAction(Wss4jHandler.java:120)
      2. org.springframework.ws.soap.security.wss4j.Wss4jSecurityInterceptor.secureMessage(Wss4jSecurityInterceptor.java:558)
      3. org.springframework.ws.soap.security.AbstractWsSecurityInterceptor.handleRequest(AbstractWsSecurityInterceptor.java:210)
      3 frames
    5. Spring WS Core
      WebServiceTemplate.marshalSendAndReceive
      1. org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:537)
      2. org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:496)
      3. org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:343)
      4. org.springframework.ws.client.core.WebServiceTemplate.marshalSendAndReceive(WebServiceTemplate.java:337)
      4 frames