You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Baxi, Rinilkumar (TCS)" <ri...@hp.com> on 2008/03/17 12:11:40 UTC

Regarding Axis2C architecture

Hi All,

Currently I am working on the Axis2c 1.2 to make it communicate with a legacy system. I have gone through the architecture given in the manual on the website. But from that I am not able to get the exact idea of the flow of the request.
Kindly let me know the architecture of the Axis2 C and how the request flows from the client to the server and the response coming beck from the server to the client.

Thanks in advance.

Regards,
Rinil Baxi



RE: Regarding Axis2C architecture

Posted by Senaka Fernando <se...@wso2.com>.
Hi Rinil,

Apache Axis2/C comes with two built in modules.

1. WS-Addressing
2. Logging

These may help you in achieving what you want.

Also, we have three other modules that are separate apache projects which
are written to be used with apache Axis2/C. They are

1. Rampart/C (http://ws.apache.org/rampart/c)
2. Sandesha2/C (http://ws.apache.org/sandesha/sandesha2/c/)
3. Savan/C (http://ws.apache.org/savan/c/)

I think they are good examples to get started with. They do have
associated documentation, discussion lists, etc.

Regards,
Senaka

> Hi Kau,
>
> Thanks, the links are really useful.
>
> We plan to develop some custom handlers / modules to meet our requirement
> within the legacy system. Do we have any document or link which provides a
> detailed description of each phase (for example, pre-dispatch,
> postdispatch, and so on). Apart this it would be helpful if we get details
> about the format in which information is passed between phases.
>
> This information will be really helpful in deciding design for the
> handlers / modules we plan to develop.
>
> Thanking you in advance.
>
> Regards,
> Rinil Baxi
>
> -----Original Message-----
> From: Kaushalye Kapuruge [mailto:kaushalye@wso2.com]
> Sent: Monday, March 17, 2008 5:34 PM
> To: Apache AXIS C User List
> Subject: Re: Regarding Axis2C architecture
>
> Hi,
>
> This might be useful...
> http://wso2.org/library/777
>
> And this too...
> http://wso2.org/library/2406
>
> Cheers,
> Kau
>
> Baxi, Rinilkumar (TCS) wrote:
>>
>> Hi All,
>>
>> Currently I am working on the Axis2c 1.2 to make it communicate with a
>> legacy system. I have gone through the architecture given in the
>> manual on the website. But from that I am not able to get the exact
>> idea of the flow of the request.
>> Kindly let me know the architecture of the Axis2 C and how the request
>> flows from the client to the server and the response coming beck from
>> the server to the client.
>>
>> Thanks in advance.
>>
>> Regards,
>> Rinil Baxi
>>
>>
>
>
> --
> http://blog.kaushalye.org/
> http://wso2.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>


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


Re: Regarding Axis2C architecture

Posted by Kaushalye Kapuruge <ka...@wso2.com>.
Hi Baxi,
The most common methods that worth looking at are
axis2_msg_ctx_get/set_property_value()
axis2_msg_ctx_get_soap_envelope()

You can pass information between phases using the message context and 
get/set using the former. If you need to add certain headers to the SOAP 
message the latter will be useful.

Have a look at Apache Rampart/C handlers[1] how this is done.
Should you need more information other than above, please drop an email 
to the list, with specific requirement and I'm sure you'll get the help 
you need.
Cheers,
kaushalye

[1]http://svn.apache.org/repos/asf/webservices/rampart/trunk/c/src/handlers/


Baxi, Rinilkumar (TCS) wrote:
> Hi Kau,
>
> Thanks, the links are really useful.
>
> We plan to develop some custom handlers / modules to meet our requirement within the legacy system. Do we have any document or link which provides a detailed description of each phase (for example, pre-dispatch, postdispatch, and so on). Apart this it would be helpful if we get details about the format in which information is passed between phases.
>
> This information will be really helpful in deciding design for the handlers / modules we plan to develop.
>
> Thanking you in advance.
>
> Regards,
> Rinil Baxi
>
> -----Original Message-----
> From: Kaushalye Kapuruge [mailto:kaushalye@wso2.com]
> Sent: Monday, March 17, 2008 5:34 PM
> To: Apache AXIS C User List
> Subject: Re: Regarding Axis2C architecture
>
> Hi,
>
> This might be useful...
> http://wso2.org/library/777
>
> And this too...
> http://wso2.org/library/2406
>
> Cheers,
> Kau
>
> Baxi, Rinilkumar (TCS) wrote:
>   
>> Hi All,
>>
>> Currently I am working on the Axis2c 1.2 to make it communicate with a
>> legacy system. I have gone through the architecture given in the
>> manual on the website. But from that I am not able to get the exact
>> idea of the flow of the request.
>> Kindly let me know the architecture of the Axis2 C and how the request
>> flows from the client to the server and the response coming beck from
>> the server to the client.
>>
>> Thanks in advance.
>>
>> Regards,
>> Rinil Baxi
>>
>>
>>     
>
>
> --
> http://blog.kaushalye.org/
> http://wso2.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>   


-- 
http://blog.kaushalye.org/
http://wso2.org/


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


Re: Regarding Axis2C architecture

Posted by Samisa Abeysinghe <sa...@wso2.com>.
Baxi, Rinilkumar (TCS) wrote:
> Hi Kau,
>
> Thanks, the links are really useful.
>
> We plan to develop some custom handlers / modules to meet our requirement within the legacy system. Do we have any document or link which provides a detailed description of each phase (for example, pre-dispatch, postdispatch, and so on). 

These are not documented in formal documents. But you can find loads of 
information if you refer to both Axis2/Java and Axis2/C mail archives.

> Apart this it would be helpful if we get details about the format in which information is passed between phases.
>   

All information goes into message context. You can set parameters in 
message context and also capture SOAP message in AXIOM format.

> This information will be really helpful in deciding design for the handlers / modules we plan to develop.
>   

The best is to start with the logging module to understand the basics, 
then look at the addressing module and later look into something like 
the security modules in Rampart/C.

Samisa...


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


RE: Regarding Axis2C architecture

Posted by "Baxi, Rinilkumar (TCS)" <ri...@hp.com>.
Hi Kau,

Thanks, the links are really useful.

We plan to develop some custom handlers / modules to meet our requirement within the legacy system. Do we have any document or link which provides a detailed description of each phase (for example, pre-dispatch, postdispatch, and so on). Apart this it would be helpful if we get details about the format in which information is passed between phases.

This information will be really helpful in deciding design for the handlers / modules we plan to develop.

Thanking you in advance.

Regards,
Rinil Baxi

-----Original Message-----
From: Kaushalye Kapuruge [mailto:kaushalye@wso2.com]
Sent: Monday, March 17, 2008 5:34 PM
To: Apache AXIS C User List
Subject: Re: Regarding Axis2C architecture

Hi,

This might be useful...
http://wso2.org/library/777

And this too...
http://wso2.org/library/2406

Cheers,
Kau

Baxi, Rinilkumar (TCS) wrote:
>
> Hi All,
>
> Currently I am working on the Axis2c 1.2 to make it communicate with a
> legacy system. I have gone through the architecture given in the
> manual on the website. But from that I am not able to get the exact
> idea of the flow of the request.
> Kindly let me know the architecture of the Axis2 C and how the request
> flows from the client to the server and the response coming beck from
> the server to the client.
>
> Thanks in advance.
>
> Regards,
> Rinil Baxi
>
>


--
http://blog.kaushalye.org/
http://wso2.org/


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


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


Re: Regarding Axis2C architecture

Posted by Kaushalye Kapuruge <ka...@wso2.com>.
Hi,

This might be useful...
http://wso2.org/library/777

And this too...
http://wso2.org/library/2406

Cheers,
Kau

Baxi, Rinilkumar (TCS) wrote:
>  
> Hi All,
>  
> Currently I am working on the Axis2c 1.2 to make it communicate with a 
> legacy system. I have gone through the architecture given in the 
> manual on the website. But from that I am not able to get the exact 
> idea of the flow of the request.
> Kindly let me know the architecture of the Axis2 C and how the request 
> flows from the client to the server and the response coming beck from 
> the server to the client.
>  
> Thanks in advance.
>  
> Regards,
> Rinil Baxi
>  
>  


-- 
http://blog.kaushalye.org/
http://wso2.org/


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


Re: Regarding Axis2C architecture

Posted by Damitha Kumarage <da...@gmail.com>.
Hi Baxi,
In addition to the documentation for Axis2/C following articles and 
tutorials could be helpful
Flows, Phases, Handlers and modules <http://wso2.org/library/777>
Introducing Apache Aixs2/C <http://wso2.org/library/252>
Apache Axis2/C - Web services engine <http://wso2.org/library/2406>
Web Services Endpoints with Apache Axis2/C <http://wso2.org/library/2663>
WS-Addressing in Action <http://wso2.org/library/2605>
Sine Axis2/C and Axis2/java are based on same architecture these could 
also be helpful to read
How Apache Axis2 Finds the Operation and Service a Message is Destined 
To <http://wso2.org/library/176>
Web services and Axis2 architecture 
<http://www-128.ibm.com/developerworks/webservices/library/ws-apacheaxis2/>

thanks
Damitha

Baxi, Rinilkumar (TCS) wrote:

>  
> Hi All,
>  
> Currently I am working on the Axis2c 1.2 to make it communicate with a 
> legacy system. I have gone through the architecture given in the 
> manual on the website. But from that I am not able to get the exact 
> idea of the flow of the request.
> Kindly let me know the architecture of the Axis2 C and how the request 
> flows from the client to the server and the response coming beck from 
> the server to the client.
>  
> Thanks in advance.
>  
> Regards,
> Rinil Baxi
>  
>  



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