axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew B <>
Subject [Axis2] OMException on calling service
Date Wed, 14 Jun 2006 22:28:49 GMT
Firstly, thanks to everyone for answering my previous questions.
Now, I am trying to call an Axis2 service, which presently just contains the generated classes
(by WSDL2Java) with no business logic. 

The exception is:

17:20:32,890 ERROR [[AxisServlet]] Servlet.service() for servlet AxisServlet threw exception
    at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeader(
    at org.apache.axis2.engine.AxisEngine.createFaultMessageContext(
    at org.apache.axis2.transport.http.AxisServlet.handleFault(
    at org.apache.axis2.transport.http.AxisServlet.doPost(
    at javax.servlet.http.HttpServlet.service(
    at javax.servlet.http.HttpServlet.service(
followed by
7:20:32,906 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response
    at org.apache.catalina.connector.Response.getWriter(
    at org.apache.catalina.connector.ResponseFacade.getWriter(
    at org.apache.jasper.runtime.JspWriterImpl.initOut(
    at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(
    at org.apache.jasper.runtime.PageContextImpl.release(
    at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(

Now, from the stack trace, it looks like it is trying to read the SOAP envelope. So, I started
up tcpmon, and the SOAP request looks like this:

POST /axis2/services/TTWSServiceService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.3
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 623
Authorization: Basic V0FMTUFSVDpXQUwxMjNNQVJU

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv=""
xmlns:xsd="" xmlns:xsi=""><soapenv:Body><TTIS
xmlns:xsi="" xsi:noNamespaceSchemaLocation="VW_TrailerData_Request_Schema.xsd">

Any help is appreciated!


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
View raw message