axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Ferron" <johnfer...@alliantenergy.com>
Subject Re: [Axis2] Exception when sending with ServiceClient
Date Mon, 10 Jul 2006 18:24:35 GMT
Martin,
 
When I tried adding the engageMode() method that you were inquiring about, the following exception
was thrown: - John
 
 Module not found org.apache.axis2.description.AxisService.engageModule(AxisService.java:395)
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:279) com.alliantenergy.soap.SoapClient.sendRecieve(SoapClient.java:105)
com.alliantenergy.soap.SoapClient.sendSoapMsg(SoapClient.java:80) com.alliantenergy.soap.SoapClient.postSoapMessage(SoapClient.java:37)
org.apache.jsp.ProcessSOAPMessage_jsp._jspService(ProcessSOAPMessage_jsp.java:148) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577) org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
java.lang.Thread.run(Thread.java:536)


>>> johnferron@alliantenergy.com 07/10/06 10:02 AM >>>

Martin,
 
Could you give an example of what you mean?  I'm a little unsure of what the parameter should
be for the engageModule() method?  
 
John

>>> mgainty@hotmail.com 07/10/06 9:35 AM >>>

Good Morning John-

Sounds like perhaps a double submit
http://ws.apache.org/axis2/1_0/api/index.html
Did you try to limit execution scope engageModule
perform sendAndReceive
and then disengageModule ??

Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
 

 
----- Original Message ----- 
From: John Ferron 
To: axis-user@ws.apache.org 
Sent: Monday, July 10, 2006 10:14 AM
Subject: [Axis2] Exception when sending with ServiceClient


Good Morning,
 
Has anyone seen this exception when trying to perform a sendRecieve() on the ServiceClient
object??  It would be greatly appreciated if I could get this resolved.
 
John
 

06 Jul 2006 15:54:40 [ProcessSOAPMessage$jsp] ERROR soap  - Can not output XML declaration,
after other output has already been done.; nested exception is: 
 javax.xml.stream.XMLStreamException: Can not output XML declaration, after other output has
already been done.; nested exception is: 
 org.apache.axis2.AxisFault: Can not output XML declaration, after other output has already
been done.; nested exception is: 
 javax.xml.stream.XMLStreamException: Can not output XML declaration, after other output has
already been done.; nested exception is: 
 org.apache.axis2.AxisFault: Can not output XML declaration, after other output has already
been done.; nested exception is: 
 javax.xml.stream.XMLStreamException: Can not output XML declaration, after other output has
already been done.; nested exception is: 
 org.apache.axis2.AxisFault: Can not output XML declaration, after other output has already
been done.; nested exception is: 
 javax.xml.stream.XMLStreamException: Can not output XML declaration, after other output has
already been done.; nested exception is: 
 org.apache.axis2.AxisFault: Can not output XML declaration, after other output has already
been done.; nested exception is: 
 javax.xml.stream.XMLStreamException: Can not output XML declaration, after other output has
already been done.; nested exception is: 
 org.apache.axis2.AxisFault: Can not output XML declaration, after other output has already
been done.; nested exception is: 
 javax.xml.stream.XMLStreamException: Can not output XML declaration, after other output has
already been done.; nested exception is: 
 org.apache.axis2.AxisFault: Can not output XML declaration, after other output has already
been done.; nested exception is: 
 javax.xml.stream.XMLStreamException: Can not output XML declaration, after other output has
already been done.; nested exception is: 
 org.apache.axis2.AxisFault: Can not output XML declaration, after other output has already
been done.; nested exception is: 
 javax.xml.stream.XMLStreamException: Can not output XML declaration, after other output has
already been done.




Mime
View raw message