Hi Dubey;

There was a problem in Axis2 and we have fixed it now , any possibility
of using Axis2 nightly builds  ?

Dharmendra Dubey wrote:

>Hi,
>
>I am trying to build a request-response soap service that will take a
>request on HTTP but would respond on SMTP (Using WS-Addressing). I am using
>the mail server provided by axis. Please find attached the client side
>program which invokes a "echo" service which simple returns the incoming
>message as the response.
>But when i execute the client i get the following error. It seems on return
>it is still using the HTTP transport and as the epr now is "mailto" so its
>giving the error.
>
>Can you please help me out or else please send me an example for the same
>scenario.
>
>java.lang.IllegalStateException: unsupported protocol: 'mailto'
>    at
>org.apache.commons.httpclient.protocol.Protocol.lazyRegisterProtocol(Protoco
>l.java:148)
>    at org.apache.commons.httpclient.protocol.Protocol.getProtocol
>(Protocol.java:116)
>    at org.apache.commons.httpclient.HttpHost.<init>(HttpHost.java:106)
>    at
>org.apache.commons.httpclient.HttpMethodBase.setURI(HttpMethodBase.java:276)
>    at org.apache.commons.httpclient.HttpMethodBase
>.<init>(HttpMethodBase.java:217)
>    at
>org.apache.commons.httpclient.methods.ExpectContinueMethod.<init>(ExpectCont
>inueMethod.java:92)
>    at org.apache.commons.httpclient.methods.EntityEnclosingMethod.<init>(
>EntityEnclosingMethod.java:118)
>    at
>org.apache.commons.httpclient.methods.PostMethod.<init>(PostMethod.java:105)
>    at
>org.apache.axis2.transport.http.SOAPOverHTTPSender.send(SOAPOverHTTPSender.j
>ava:37)
>    at
>org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithC
>ommons(CommonsHTTPTransportSender.java:299)
>    at
>org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTT
>PTransportSender.java :207)
>    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
>    at
>org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abstract
>InOutSyncMessageReceiver.java:43)
>    at org.apache.axis2.engine.AxisEngine.receive (AxisEngine.java:454)
>    at
>org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
>TPTransportUtils.java:284)
>    at
>org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
>    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.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: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)
>    at java.lang.Thread.run(Unknown Source)
>
>
>Thanking in anticipation,
>Dharmendra
>  
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to