Hi,
I have now added a test case to do exactly your use case. You can
have a look at it at modules/integration/test/org/apache/axis2/
transport/DualChannelRequestResponseRawXMLTest.java on the latest svn
checkout. Please note you will have to use the jdk versions of the
mail and activation jars.
Best Regards,
Chamil Thanthrimudalige
On Jun 23, 2006, at 10:22 AM, Dharmendra Dubey wrote:
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:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 9:45 PM
To: [email protected]
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.writeMessa
geWith
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.processHTTPPostReq
uest(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: [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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]