Forums Register Login

Expected 'envelope' but found html

+Pie Number of slices to send: Send
Has anyone come accross this? I am running a simple web services in WebSphere that returns a String.
faultCode: {http://websphere.ibm.com/webservices/}Server.generalException
faultString: org.xml.sax.SAXException: WSWS3066E: Error: Expected 'envelope' but found html
faultActor: null
faultDetail:
stackTrace: org.xml.sax.SAXException: WSWS3066E: Error: Expected 'envelope' but found html
at com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPEnvelopeBuilder.startElement(SOAPEnvelopeBuilder.java:134)
at com.ibm.ws.webservices.engine.events.P2DConverter.flush(P2DConverter.java:771)
at com.ibm.ws.webservices.engine.events.P2DConverter.startElement(P2DConverter.java:266)
at sax.SAX2DocumentEntityParserBase.startElement(Unknown Source)
at sax.latin.LatinWFCSAX2DocumentEntityParser.startElement(Unknown Source)
at sax.SAX2DocumentEntityParserBase.startElementAction(Unknown Source)
at util.DocumentEntityParserBase.startElementEvent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanStartElement(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
at util.DocumentEntityParserBase.parse(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at com.ibm.ws.webservices.engine.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:256)
at com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:698)
at com.ibm.ws.webservices.engine.Message.getSOAPEnvelope(Message.java:440)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:700)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:604)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:434)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:666)
at com.anico.mdrt.service.MdrtWebServiceSoapBindingStub.getMdrtStatus(MdrtWebServiceSoapBindingStub.java:83)
at org.apache.jsp._Result._jspService(_Result.java:275)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java(Compiled Code))
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java(Compiled Code))
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java(Compiled Code))
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java(Compiled Code))
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java(Compiled Code))
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java(Compiled Code))
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java(Compiled Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
+Pie Number of slices to send: Send
Do you have a HTTP trace of the SOAP message you've sent before receiving this error ?
Enjoy the full beauty of the english language. Embedded in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 4886 times.
Similar Threads
WebServicesFault - java.net.ConnectException
Occaisonal org.xml.sax.SAXException
Hiding stacktrace for java net SocketTimeoutException Read timed out
WSDL Exception
Unable to locate classes at runtime ???
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:47:39.