Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by Shishir Srivastava, 1 year ago
javax.xml.soap.SOAPException: java.lang.RuntimeException: javax.xml.soap.SOAPException: Cannot add element of type 'env:Header' to SOAP Envelope
via Oracle Community by 972017, 2 years ago
javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Too many open files
via Oracle Community by 2656160, 1 year ago
javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused
via Oracle Community by 859327, 1 year ago
javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Unable to read response: org.xml.sax.SAXParseException: Content is not allowed in prolog.
via Oracle Community by 918074, 1 year ago
java.lang.RuntimeException: javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Unexpected character 'x' (code 120) expected '=' at [row,col {unknown-source}]: [1,1258]
javax.xml.ws.WebServiceException: javax.xml.soap.SOAPException: java.lang.RuntimeException: javax.xml.soap.SOAPException:Cannot add element of type 'env:Header' to SOAP Envelope at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:1450) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:237) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:108) at oracle.integration.platform.blocks.soap.AbstractWebServiceBindingComponent.dispatchRequest(AbstractWebServiceBindingComponent.java:645) at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.processOutboundMessage(WebServiceExternalBindingComponent.java:370) at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.sendSOAPMessage(WebServiceExternalBindingComponent.java:1565) at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.request(WebServiceExternalBindingComponent.java:1020) at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:151) at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:215) at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:283) at sun.reflect.GeneratedMethodAccessor1615.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:507) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:69) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy392.request(Unknown Source) at oracle.fabric.CubeServiceEngine.requestToMesh(CubeServiceEngine.java:1143) at com.collaxa.cube.ws.WSInvocationManager.invoke0(WSInvocationManager.java:262) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:332) at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1460) at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalWSDLInvoke(InvokeHandler.java:806) at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:497) at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:158) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:78) at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:197) at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:195) at com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper$1.call(SWSComponentProcessActivityWrapper.java:74) at com.collaxa.bpel.sws.SWSCallableActivityWrapper.execute(SWSCallableActivityWrapper.java:89) at com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper.execute(SWSComponentProcessActivityWrapper.java:82) at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:205) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2909) at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1276) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1165) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:92) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:300) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:379) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4935) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4859) at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:763) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:600) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:732) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:467) at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source) at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33) at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(Unknown Source) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:43) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:154) at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:150) at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:90) at com.collaxa.cube.engine.dispatch.WMExecutor$W.run(WMExecutor.java:236) at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:209) at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348) at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333) at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54) at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41) at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:406) at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)Caused by: javax.xml.soap.SOAPException: java.lang.RuntimeException: javax.xml.soap.SOAPException: Cannot add element of type 'env:Header' to SOAP Envelope at oracle.j2ee.ws.common.async.MessageSender.processResponse(MessageSender.java:77) at oracle.j2ee.ws.common.async.MessageSender.call(MessageSender.java:55) at oracle.j2ee.ws.common.async.Transmitter.transmitSync(Transmitter.java:105) at oracle.j2ee.ws.common.async.Transmitter.transmit(Transmitter.java:60) at oracle.j2ee.ws.common.async.RequestorImpl.transmit(RequestorImpl.java:259) at oracle.j2ee.ws.common.async.RequestorImpl.invoke(RequestorImpl.java:93) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:1383) ... 61 moreCaused by: java.lang.RuntimeException: javax.xml.soap.SOAPException: Cannot add element of type 'env:Header' to SOAP Envelope at oracle.j2ee.ws.saaj.soap.ElementImpl.realizeCompletely(ElementImpl.java:1618) at oracle.j2ee.ws.saaj.soap.ElementImpl.getNextSibling(ElementImpl.java:1653) at oracle.j2ee.ws.saaj.soap.EnvelopeImpl.getExistingBody(EnvelopeImpl.java:235) at oracle.j2ee.ws.saaj.soap.EnvelopeImpl.getBody(EnvelopeImpl.java:226) at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1846) at oracle.j2ee.ws.common.async.MessageSender.processResponse(MessageSender.java:71) ... 67 moreCaused by: javax.xml.soap.SOAPException: Cannot add element of type 'env:Header' to SOAP Envelope at oracle.j2ee.ws.saaj.soap.EnvelopeImpl.createChildElement(EnvelopeImpl.java:324) at oracle.j2ee.ws.saaj.soap.SOAPDoc.createNodeFromType(SOAPDoc.java:277) at oracle.j2ee.ws.saaj.soap.SOAPDoc.createNodeFromType(SOAPDoc.java:246) at oracle.xml.parser.v2.XMLDocument.createElement(XMLDocument.java:3087) at oracle.xml.parser.v2.XMLDocument.createElementNS(XMLDocument.java:3037) at oracle.j2ee.ws.saaj.soap.SOAPDoc.createElementNSWithParent(SOAPDoc.java:930) at oracle.j2ee.ws.saaj.soap.ElementImpl.createAndAppendChildElement(ElementImpl.java:941) at oracle.j2ee.ws.saaj.soap.StaxHandler.addElement(StaxHandler.java:360) at oracle.j2ee.ws.saaj.soap.StaxHandler.startElement(StaxHandler.java:289) at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:130) at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:105) at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParseAllChildren(StaxHandler.java:226) at oracle.j2ee.ws.saaj.soap.ElementImpl.realizeCompletely(ElementImpl.java:1612) ... 72 more