axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1154) OMException when calling web-service
Date Thu, 14 Sep 2006 08:27:27 GMT
OMException when calling web-service
------------------------------------

                 Key: AXIS2-1154
                 URL: http://issues.apache.org/jira/browse/AXIS2-1154
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: deployment
    Affects Versions: 1.0
         Environment: WinXP, JDK 1.5.0_06, Tomcat 5.5.17
            Reporter: Felix


Hi,

 

I successfully deployed the .aar file after generating the classes with the command

"WSDL2Java -uri baggis.wsdl -pn PortalSoap -ss -sd -d xmlbeans  -o .. -g". However, I get
the following error message when calling my web-service (found in stdout.log of Tomcat):
 

 

Servlet.service() for servlet AxisServlet threw exception

org.apache.axiom.om.OMException

            at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)

            at org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java:75)

            at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:222)

            at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeader(SOAPEnvelopeImpl.java:76)

            at org.apache.axis2.engine.AxisEngine.createFaultMessageContext(AxisEngine.java:183)

            at org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:168)

            at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:153)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

            at java.lang.Thread.run(Thread.java:595)

- 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(Response.java:599)

            at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)

            at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124)

            at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117)

            at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:191)

            at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)

            at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)

            at org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(error500_jsp.java:97)

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)

            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)

            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)

            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)

            at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363)

            at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284)

            at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:228)

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)

            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)

            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)

            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

            at java.lang.Thread.run(Thread.java:595)

 

 

This is the soap call I  sent to the server:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 

xmlns:int="http://www.stockholm.se/xml/namespace/portal/interface" 

xmlns:mes="http://www.stockholm.se/xml/namespace/sgis/messageTag.xsd">

   <soapenv:Body>

      <int:GetByggnader>

         <int:Byggnader>

            <mes:MessageTag TransactionId="1" ObjectType="1" SystemName="1" Version="1"
Action="1">

               <!--Zero or more repetitions:-->

               <mes:IdTag Id="1" Operation="1"/>

            </mes:MessageTag>

            <!--Zero or more repetitions:-->

            <Byggnad>

               <mes:IdTag Id="1" Operation="1"/>

               <ByggnadData>

                  <RNPREGBY>1</RNPREGBY>

                  <RIDREGBY>1</RIDREGBY>

                  <KOKOD>1</KOKOD>

                  <BYGGTYP>1</BYGGTYP>

                  <TYPBEBYGG>1</TYPBEBYGG>

                  <TOTBOAREA>1</TOTBOAREA>

                  <TOTLOKAREA>1</TOTLOKAREA>

               </ByggnadData>

            </Byggnad>

         </int:Byggnader>

      </int:GetByggnader>

   </soapenv:Body>

</soapenv:Envelope>

 
Thanks a lot, your help is highly appreciated!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message