You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "MacKenzie, Christopher C" <ch...@pfizer.com> on 2005/08/09 14:55:59 UTC

MTOM support for latest source

I have run into a problem when using the latest axis2 source implementing
the mtomSample service. I was previously able to run the MTOM sample when
using the 0.9 release tree. The error I encounter is:

org.apache.axis2.AxisFault: HTTPOutTransportInfo does not set; nested
exception is: 
  org.apache.axis2.AxisFault: HTTPOutTransportInfo does not set
  at
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
PTransportSender.java:136)
  at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:167)
  at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:202)
  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:856)
  at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
  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)

As an aside, is there any idea of when 0.95 will be released?

Thanks.

Chris


LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.


Re: MTOM support for latest source

Posted by Davanum Srinivas <da...@gmail.com>.
Please try setting the soap version to 1.2. (please get latest SVN)

call.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);

this is a red herring masking the actual problem (which i also fixed)

thanks,
dims

On 8/9/05, MacKenzie, Christopher C <ch...@pfizer.com> wrote:
> I have run into a problem when using the latest axis2 source implementing
> the mtomSample service. I was previously able to run the MTOM sample when
> using the 0.9 release tree. The error I encounter is:
> 
> org.apache.axis2.AxisFault: HTTPOutTransportInfo does not set; nested
> exception is:
>   org.apache.axis2.AxisFault: HTTPOutTransportInfo does not set
>   at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
> PTransportSender.java:136)
>   at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:167)
>   at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:202)
>   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:856)
>   at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
>   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)
> 
> As an aside, is there any idea of when 0.95 will be released?
> 
> Thanks.
> 
> Chris
> 
> 
> LEGAL NOTICE
> Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
> 
> 


-- 
Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform

Re: MTOM support for latest source

Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi Chris,
Fixed the issue.......Pls check out the latest svn and try it..

Thanks & Regards,
~Thilina

On 8/9/05, MacKenzie, Christopher C <ch...@pfizer.com> 
wrote:
> 
> I have run into a problem when using the latest axis2 source implementing
> the mtomSample service. I was previously able to run the MTOM sample when
> using the 0.9 release tree. The error I encounter is:
> 
> org.apache.axis2.AxisFault: HTTPOutTransportInfo does not set; nested
> exception is:
> org.apache.axis2.AxisFault: HTTPOutTransportInfo does not set
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke
> (CommonsHTT
> PTransportSender.java:136)
> at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:167)
> at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:202)
> 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:856)
> at
> 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
> 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)
> 
> As an aside, is there any idea of when 0.95 will be released?
> 
> Thanks.
> 
> Chris
> 
> 
> LEGAL NOTICE
> Unless expressly stated otherwise, this message is confidential and may be 
> privileged. It is intended for the addressee(s) only. Access to this E-mail 
> by anyone else is unauthorized. If you are not an addressee, any disclosure 
> or copying of the contents of this E-mail or any action taken (or not taken) 
> in reliance on it is unauthorized and may be unlawful. If you are not an 
> addressee, please inform the sender immediately.
> 
> 


-- 
"May the SourcE be with u" 
http://www.bloglines.com/blog/thilina