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

codegur.online | 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

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

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

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

    codegur.online | 7 months ago
    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