Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 9197 invoked from network); 10 Jul 2006 18:25:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Jul 2006 18:25:40 -0000 Received: (qmail 7317 invoked by uid 500); 10 Jul 2006 18:25:28 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 7291 invoked by uid 500); 10 Jul 2006 18:25:28 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 7280 invoked by uid 99); 10 Jul 2006 18:25:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 11:25:28 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_10_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [198.7.45.131] (HELO mail1.wpl.com) (198.7.45.131) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 11:25:27 -0700 Received: from smtp2.wpl.com (smtp2.wpl.com [10.10.50.202]) by mail1.wpl.com (ESMTP MTA) with ESMTP id E769F17F5A for ; Mon, 10 Jul 2006 13:25:01 -0500 (CDT) Received: from mcprelay2.wpl.com (mcprelay2.wpl.com [10.10.180.12]) by smtp2.wpl.com (ESMTP MTA) with ESMTP id A3DC13B1FA for ; Mon, 10 Jul 2006 13:25:01 -0500 (CDT) Received: from MSNWINGWG3.ALI.PRI (msnwingwg3.wpl.com [10.10.50.27]) by mcprelay2.wpl.com (8.13.3/8.13.3) with ESMTP id k6AINfBu002516 for ; Mon, 10 Jul 2006 13:23:45 -0500 Received: from alliantenergy.com (unverified [10.10.50.63]) by MSNWINGWG3.ALI.PRI (Vircom SMTPRS 4.0.346.0) with ESMTP id for ; Mon, 10 Jul 2006 13:24:55 -0500 Received: from GWSERV-MTA by alliantenergy.com with Novell_GroupWise; Mon, 10 Jul 2006 13:24:55 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.4 Date: Mon, 10 Jul 2006 13:24:35 -0500 From: "John Ferron" To: , Subject: Re: [Axis2] Exception when sending with ServiceClient Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__Part76538D73.1__=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=__Part76538D73.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Martin, =20 When I tried adding the engageMode() method that you were inquiring about, = the following exception was thrown: - John =20 Module not found org.apache.axis2.description.AxisService.engageModule(Axi= sService.java:395) org.apache.axis2.client.ServiceClient.engageModule(Servi= ceClient.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.ja= va:148) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)= javax.servlet.http.HttpServlet.service(HttpServlet.java:853) org.apache.ja= sper.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.cat= alina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j= ava:247) org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati= onFilterChain.java:193) org.apache.catalina.core.StandardWrapperValve.invok= e(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.j= ava:191) org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon= text.invokeNext(StandardPipeline.java:643) org.apache.catalina.core.Standar= dPipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.Contai= nerBase.invoke(ContainerBase.java:995) org.apache.catalina.core.StandardCon= text.invoke(StandardContext.java:2417) org.apache.catalina.core.StandardHos= tValve.invoke(StandardHostValve.java:180) org.apache.catalina.core.Standard= Pipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)= org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv= e.java:171) org.apache.catalina.core.StandardPipeline$StandardPipelineValve= Context.invokeNext(StandardPipeline.java:641) org.apache.catalina.valves.Er= rorReportValve.invoke(ErrorReportValve.java:172) org.apache.catalina.core.S= tandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.ja= va:641) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.jav= a:577) org.apache.catalina.core.StandardPipeline$StandardPipelineValveConte= xt.invokeNext(StandardPipeline.java:641) org.apache.catalina.core.StandardP= ipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.Containe= rBase.invoke(ContainerBase.java:995) org.apache.catalina.core.StandardEngin= eValve.invoke(StandardEngineValve.java:174) org.apache.catalina.core.Standa= rdPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:64= 3) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4= 80) 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.processConn= ection(Http11Protocol.java:549) org.apache.tomcat.util.net.TcpWorkerThread.= runIt(PoolTcpEndpoint.java:589) org.apache.tomcat.util.threads.ThreadPool$C= ontrolRunnable.run(ThreadPool.java:666) java.lang.Thread.run(Thread.java:53= 6) >>> johnferron@alliantenergy.com 07/10/06 10:02 AM >>> Martin, =20 Could you give an example of what you mean? I'm a little unsure of what = the parameter should be for the engageModule() method? =20 =20 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. =20 =20 ----- Original Message -----=20 From: John Ferron=20 To: axis-user@ws.apache.org=20 Sent: Monday, July 10, 2006 10:14 AM Subject: [Axis2] Exception when sending with ServiceClient Good Morning, =20 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. =20 John =20 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:=20 javax.xml.stream.XMLStreamException: Can not output XML declaration, = after other output has already been done.; nested exception is:=20 org.apache.axis2.AxisFault: Can not output XML declaration, after other = output has already been done.; nested exception is:=20 javax.xml.stream.XMLStreamException: Can not output XML declaration, = after other output has already been done.; nested exception is:=20 org.apache.axis2.AxisFault: Can not output XML declaration, after other = output has already been done.; nested exception is:=20 javax.xml.stream.XMLStreamException: Can not output XML declaration, = after other output has already been done.; nested exception is:=20 org.apache.axis2.AxisFault: Can not output XML declaration, after other = output has already been done.; nested exception is:=20 javax.xml.stream.XMLStreamException: Can not output XML declaration, = after other output has already been done.; nested exception is:=20 org.apache.axis2.AxisFault: Can not output XML declaration, after other = output has already been done.; nested exception is:=20 javax.xml.stream.XMLStreamException: Can not output XML declaration, = after other output has already been done.; nested exception is:=20 org.apache.axis2.AxisFault: Can not output XML declaration, after other = output has already been done.; nested exception is:=20 javax.xml.stream.XMLStreamException: Can not output XML declaration, = after other output has already been done.; nested exception is:=20 org.apache.axis2.AxisFault: Can not output XML declaration, after other = output has already been done.; nested exception is:=20 javax.xml.stream.XMLStreamException: Can not output XML declaration, = after other output has already been done.; nested exception is:=20 org.apache.axis2.AxisFault: Can not output XML declaration, after other = output has already been done.; nested exception is:=20 javax.xml.stream.XMLStreamException: Can not output XML declaration, = after other output has already been done. --=__Part76538D73.1__= Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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.engage= Module(AxisService.java:395) org.apache.axis2.client.ServiceClient.engageMo= dule(ServiceClient.java:279) com.alliantenergy.soap.SoapClient.sendRecieve(= SoapClient.java:105) com.alliantenergy.soap.SoapClient.sendSoapMsg(SoapClie= nt.java:80) com.alliantenergy.soap.SoapClient.postSoapMessage(SoapClient.ja= va:37) org.apache.jsp.ProcessSOAPMessage_jsp._jspService(ProcessSOAPMessage= _jsp.java:148) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja= va: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:29= 5) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) = javax.servlet.http.HttpServlet.service(HttpServlet.java:853) org.apache.cat= alina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j= ava:247) org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati= onFilterChain.java:193) org.apache.catalina.core.StandardWrapperValve.invok= e(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.j= ava:191) org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon= text.invokeNext(StandardPipeline.java:643) org.apache.catalina.core.Standar= dPipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.Contai= nerBase.invoke(ContainerBase.java:995) org.apache.catalina.core.StandardCon= text.invoke(StandardContext.java:2417) org.apache.catalina.core.StandardHos= tValve.invoke(StandardHostValve.java:180) org.apache.catalina.core.Standard= Pipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)= org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv= e.java:171) org.apache.catalina.core.StandardPipeline$StandardPipelineValve= Context.invokeNext(StandardPipeline.java:641) org.apache.catalina.valves.Er= rorReportValve.invoke(ErrorReportValve.java:172) org.apache.catalina.core.S= tandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.ja= va:641) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.jav= a:577) org.apache.catalina.core.StandardPipeline$StandardPipelineValveConte= xt.invokeNext(StandardPipeline.java:641) org.apache.catalina.core.StandardP= ipeline.invoke(StandardPipeline.java:480) org.apache.catalina.core.Containe= rBase.invoke(ContainerBase.java:995) org.apache.catalina.core.StandardEngin= eValve.invoke(StandardEngineValve.java:174) org.apache.catalina.core.Standa= rdPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:64= 3) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4= 80) 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.processConn= ection(Http11Protocol.java:549) org.apache.tomcat.util.net.TcpWorkerThread.= runIt(PoolTcpEndpoint.java:589) org.apache.tomcat.util.threads.ThreadPool$C= ontrolRunnable.run(ThreadPool.java:666) java.lang.Thread.run(Thread.java:53= 6)


>>> 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
Did you try to limit execution scope engageModule
perform = sendAndReceive
and then disengageModule ??

Martin --
*********************************************************************<= BR>This email message and any files transmitted with it contain confidentia= l
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
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:
 j= avax.xml.stream.XMLStreamException: Can not output XML declaration, after = other output has already been done.; nested exception is:
 org.apa= che.axis2.AxisFault: Can not output XML declaration, after other output = has already been done.; nested exception is:
 javax.xml.stream.XML= StreamException: Can not output XML declaration, after other output has = already been done.; nested exception is:
 org.apache.axis2.AxisFau= lt: 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.
--=__Part76538D73.1__=--