How to generate my own transport

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to generate my own transport

Thierry Luo

Hi all,

 

I’m new to Axis2/C. I don’t know how to generate my own transport implementation. I google on this, and get some answers, but all of which is about Axis/Java. If any of you have some tutorial on how to do this, please kindly forward to me. Thanks.

 

 

Best Regards.

 

Thierry Luo

Reply | Threaded
Open this post in threaded view
|

Re: How to generate my own transport

Thomas Gentsch

Hi Thierry Luo,

I'm not aware of any documentation (never searched for) and cannot tell
exactly, how this is supposed to work, but what possibly might help:

I've seen that besides the default HTTP there are also implementations
using plain TCP and AMQP, so looking at those you might find something
like a common API interface that you'd have to implement.
Also these examples hopefully give you some clues about structuring
(probably one or more shared libs come out of that) and how to actually
use it.

Seems not to be too much stuff ...:

$ find ./src/core/transport/amqp -name '*.[hc]'
./src/core/transport/amqp/receiver/axis2_amqp_receiver.c
./src/core/transport/amqp/receiver/qpid_receiver/axis2_qpid_receiver.h
./src/core/transport/amqp/receiver/qpid_receiver/axis2_qpid_receiver_interface.h
./src/core/transport/amqp/receiver/qpid_receiver/request_processor/axis2_amqp_request_processor.h
./src/core/transport/amqp/receiver/qpid_receiver/request_processor/axis2_amqp_request_processor.c
./src/core/transport/amqp/receiver/axis2_amqp_receiver.h
./src/core/transport/amqp/util/axis2_amqp_util.h
./src/core/transport/amqp/util/axis2_amqp_util.c
./src/core/transport/amqp/util/axis2_amqp_defines.h
./src/core/transport/amqp/server/axis2_amqp_server/axis2_amqp_server.c
./src/core/transport/amqp/server/axis2_amqp_server/axis2_amqp_server.h
./src/core/transport/amqp/sender/axis2_amqp_sender.h
./src/core/transport/amqp/sender/qpid_sender/axis2_qpid_sender_interface.h
./src/core/transport/amqp/sender/qpid_sender/axis2_qpid_sender.h
./src/core/transport/amqp/sender/axis2_amqp_sender.c

HTH tge

On Di, 2015-03-10 at 00:09 +0800, Thierry Luo wrote:

> Hi all,
>
>  
>
> I’m new to Axis2/C. I don’t know how to generate my own transport
> implementation. I google on this, and get some answers, but all of
> which is about Axis/Java. If any of you have some tutorial on how to
> do this, please kindly forward to me. Thanks.
>
>  
>
>  
>
> Best Regards.
>
>  
>
> Thierry Luo
>
>


signature.asc (188 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: How to generate my own transport

Thierry Luo
Thanks a lot.

Thierry Luo

-----Original Message-----
From: e-tge [mailto:[hidden email]]
Sent: Tuesday, March 10, 2015 4:29 AM
To: Apache AXIS C User List
Subject: Re: How to generate my own transport


Hi Thierry Luo,

I'm not aware of any documentation (never searched for) and cannot tell exactly, how this is supposed to work, but what possibly might help:

I've seen that besides the default HTTP there are also implementations using plain TCP and AMQP, so looking at those you might find something like a common API interface that you'd have to implement.
Also these examples hopefully give you some clues about structuring (probably one or more shared libs come out of that) and how to actually use it.

Seems not to be too much stuff ...:

$ find ./src/core/transport/amqp -name '*.[hc]'
./src/core/transport/amqp/receiver/axis2_amqp_receiver.c
./src/core/transport/amqp/receiver/qpid_receiver/axis2_qpid_receiver.h
./src/core/transport/amqp/receiver/qpid_receiver/axis2_qpid_receiver_interface.h
./src/core/transport/amqp/receiver/qpid_receiver/request_processor/axis2_amqp_request_processor.h
./src/core/transport/amqp/receiver/qpid_receiver/request_processor/axis2_amqp_request_processor.c
./src/core/transport/amqp/receiver/axis2_amqp_receiver.h
./src/core/transport/amqp/util/axis2_amqp_util.h
./src/core/transport/amqp/util/axis2_amqp_util.c
./src/core/transport/amqp/util/axis2_amqp_defines.h
./src/core/transport/amqp/server/axis2_amqp_server/axis2_amqp_server.c
./src/core/transport/amqp/server/axis2_amqp_server/axis2_amqp_server.h
./src/core/transport/amqp/sender/axis2_amqp_sender.h
./src/core/transport/amqp/sender/qpid_sender/axis2_qpid_sender_interface.h
./src/core/transport/amqp/sender/qpid_sender/axis2_qpid_sender.h
./src/core/transport/amqp/sender/axis2_amqp_sender.c

HTH tge

On Di, 2015-03-10 at 00:09 +0800, Thierry Luo wrote:

> Hi all,
>
>  
>
> I’m new to Axis2/C. I don’t know how to generate my own transport
> implementation. I google on this, and get some answers, but all of
> which is about Axis/Java. If any of you have some tutorial on how to
> do this, please kindly forward to me. Thanks.
>
>  
>
>  
>
> Best Regards.
>
>  
>
> Thierry Luo
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]