axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dharmendra Dubey" <dharmend...@yash.com>
Subject RE: [AXIS2] WS-Addressing HTTP-SMTP problem!
Date Fri, 23 Jun 2006 04:22:37 GMT
Hi Deepal

Have you made any changes in the WS-Addressing module.
Can we have example for the same.

Thanks
Dharmendra

-----Original Message-----
From: Deepal Jayasinghe [mailto:deepal@opensource.lk]
Sent: Wednesday, June 21, 2006 9:45 PM
To: axis-user@ws.apache.org
Subject: Re: [AXIS2] WS-Addressing HTTP-SMTP problem!


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(Protoc
o
>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>(ExpectCon
t
>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.writeMessageWith
C
>ommons(CommonsHTTPTransportSender.java:299)
>    at
>org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHT
T
>PTransportSender.java :207)
>    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
>    at
>org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abstrac
t
>InOutSyncMessageReceiver.java:43)
>    at org.apache.axis2.engine.AxisEngine.receive (AxisEngine.java:454)
>    at
>org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(H
T
>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(Applicatio
n
>FilterChain.java :252)
>    at
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
h
>ain.java:173)
>    at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
>va:213)
>    at org.apache.catalina.core.StandardContextValve.invoke
>(StandardContextValve.java:178)
>    at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
6
>)
>    at
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
5
>)
>    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.processConn
e
>ction (Http11Protocol.java:744)
>    at
>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.ja
v
>a:527)
>    at
>org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerW
o
>rkerThread.java:80)
>    at
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
>a:684)
>    at java.lang.Thread.run(Unknown Source)
>
>
>Thanking in anticipation,
>Dharmendra
>
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>

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




---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message