axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Sprick" <felix.spr...@netlight.se>
Subject OMException when calling web-service
Date Wed, 13 Sep 2006 14:57:27 GMT
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".
But, I get an error message when calling my web-service. I couldn't find
anything about this issue at google, has anybody seen that message before?

 

 

Servlet.service() for servlet AxisServlet threw exception

org.apache.axiom.om.OMException

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

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

            at
org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementI
mpl.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(Application
FilterChain.java:252)

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

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

            at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va: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.processC
onnection(Http11BaseProtocol.java:664)

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

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

            at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a: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:1
95)

            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(JspFacto
ryImpl.java:115)

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

            at
org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(error500_jsp.jav
a: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:3
32)

            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(Application
FilterChain.java:252)

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

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

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

            at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.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.processC
onnection(Http11BaseProtocol.java:664)

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

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

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

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

 

 

This is the soap call:

 

<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>

 

I appreciate you help!

 


Mime
View raw message