for reciver look at org.apache.axis2.transport.tcp.TCPServer
for sender You should implement TransportSender interface modules/kernel/src/org/apache/axis2/transport/TransportSender.java See http/mail ... transports in modules/kernel/src/org/apache/axis2/transport/* for examples. You might able to extend on of them! It is in the conf/axis2.xml of Axis2 repository. See http://ws.apache.org/axis2/faq.html#c5 (But axis2.xml location is wrong on the image !!) See http://ws.apache.org/axis2/1_0/tcp-transport.html#start how to start it .. You should add/edit a entries like <transportReceiver name="tcp" class="org.apache.axis2.transport.tcp.TCPServer"> <parameter name="port" locked="false">6060</parameter> <!--If you want to give your own host address for EPR generation--> <!--uncommet following paramter , and set as you required.--> <!--<parameter name="hostname" locked="false">tcp://myApp.com/ws</parameter>--> </transportReceiver> <!-- ================================================= --> <!-- Transport Outs --> <!-- ================================================= --> <transportSender name="tcp" class="org.apache.axis2.transport.tcp.TCPTransportSender"/> also see https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/kernel/conf/axis2.xml Best Srinath On 10/5/06, Yadav, Yogendra (IT) <[EMAIL PROTECTED]> wrote:
Please can someone provide me instructions on how to hook up a custom transport layer into AXIS2. I went thru the article below, I understood the concept of Senders, receivers, message receivers and phases. What I did not understand is the following... 1. What classes, methods, interfaces I need to implement for a custom transport. 2. Where does the axis2.xml file reside; I intend to use standalone AXIS2 engine with custom TCPIP transport. Appreciate any help in advance. -yogen -----Original Message----- From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED] Sent: Monday, October 02, 2006 10:14 PM To: [email protected] Subject: Re: Adding custom transport to AXIS2 On Mon, 2006-10-02 at 18:09 -0400, Yadav, Yogendra (IT) wrote: > Please tell me how do I add a custom proprietary transport to AXIS2 ? See also: http://www.wso2.net/search/node/transport, in particular the first article. Sanjiva. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- ============================ Srinath Perera: http://www.cs.indiana.edu/~hperera/ http://www.bloglines.com/blog/hemapani --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
