Re: axis-c and apache modules...
Hi Sam, As I added before to this discussion, I believe that you could use either of the two options, 1. Adding mod_axis2 2. Adding mod_existing (+ mod_axis2 features) The manual caters for 1, which actually targets users, developers like you seeking for option 2, will rather have to browse through the header files, to understand the inner workings of Axis2/C. However, as I said before, I believe that if you could add the functionality in mod_axis2.c (just this single file), into your module, and add to it the other files in src/core/transport/http/server/apache2, which are support methods and API extensions, you can improve your module to include Axis2/C support. Thus, you will require just only your module being deployed in your apache server instance, instead of having two. Regards, Senaka > > On Sun, 2008-02-24 at 23:48 -0500, Sam Carleton wrote: >> On Sun, Feb 24, 2008 at 11:32 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> >> wrote: >> > >> > Ok, let me present my perspective. You can use Axis2/C's httpd module >> > and implement a service, that will wrap your current C/C++ business >> > logic and the .NET application can communicate with the service >> hosted >> > with Axis2/C's httpd module. >> >> So do you have any tips on exactly how I might go about doing this? > Please follow [1]. > >> First off, it is the nature of Axis2/C such that the service is linked >> into the same module as Axis2/C or is the service normally a library >> that Axis2/C loads up via configuration? > Yes service is a library Axis2/C loads up through the configuration. > Follow [2] on how to deploy a service in Axis2/C. > > > [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2 > > [2] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#quick_start > > >> I get the impression it is >> the former, if that is the case, how might I go about blending the >> Axis2/C module with my existing module? >> >> Sam >> >> - >> 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]
Re: axis-c and apache modules...
On Sun, 2008-02-24 at 23:48 -0500, Sam Carleton wrote: > On Sun, Feb 24, 2008 at 11:32 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote: > > > > Ok, let me present my perspective. You can use Axis2/C's httpd module > > and implement a service, that will wrap your current C/C++ business > > logic and the .NET application can communicate with the service hosted > > with Axis2/C's httpd module. > > So do you have any tips on exactly how I might go about doing this? Please follow [1]. > First off, it is the nature of Axis2/C such that the service is linked > into the same module as Axis2/C or is the service normally a library > that Axis2/C loads up via configuration? Yes service is a library Axis2/C loads up through the configuration. Follow [2] on how to deploy a service in Axis2/C. [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#mod_axis2 [2] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#quick_start > I get the impression it is > the former, if that is the case, how might I go about blending the > Axis2/C module with my existing module? > > Sam > > - > 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]
Re: axis-c and apache modules...
On Sun, Feb 24, 2008 at 11:32 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote: > > Ok, let me present my perspective. You can use Axis2/C's httpd module > and implement a service, that will wrap your current C/C++ business > logic and the .NET application can communicate with the service hosted > with Axis2/C's httpd module. So do you have any tips on exactly how I might go about doing this? First off, it is the nature of Axis2/C such that the service is linked into the same module as Axis2/C or is the service normally a library that Axis2/C loads up via configuration? I get the impression it is the former, if that is the case, how might I go about blending the Axis2/C module with my existing module? Sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Sam Carleton wrote: On Sun, Feb 24, 2008 at 9:41 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote: You can do that by using our Axis2/C httpd module. However, if I understood your earlier mail correctly, you want to expose your own httpd module. Or do you want to expose an existing C++ library as a Web service? The application that I am developing is a hybrid. The current master program is the .Net Windows application. It starts up the Apache web server that is accessed by kiosks. The web application is both PHP and Apache C/C++Module. Currently all the communications between the .Net Windows app and apache is by the .Net Windows program modifying text files that are consumed by the web application. It is now time for some the web application to respond to queries from the .Net application. What I have done is added another handler to the existing Apache Module to take standard query strings and reply with XML. I would like to upgrade this to use SOAP and WSDL, ie using Web Services. The long term goal is to move the whole application to be a web based application, thus there should be a lot of Web Services being used. Ok, let me present my perspective. You can use Axis2/C's httpd module and implement a service, that will wrap your current C/C++ business logic and the .NET application can communicate with the service hosted with Axis2/C's httpd module. Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
On Sun, Feb 24, 2008 at 9:41 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote: > You can do that by using our Axis2/C httpd module. However, if I > understood your earlier mail correctly, you want to expose your own > httpd module. Or do you want to expose an existing C++ library as a Web > service? The application that I am developing is a hybrid. The current master program is the .Net Windows application. It starts up the Apache web server that is accessed by kiosks. The web application is both PHP and Apache C/C++Module. Currently all the communications between the .Net Windows app and apache is by the .Net Windows program modifying text files that are consumed by the web application. It is now time for some the web application to respond to queries from the .Net application. What I have done is added another handler to the existing Apache Module to take standard query strings and reply with XML. I would like to upgrade this to use SOAP and WSDL, ie using Web Services. The long term goal is to move the whole application to be a web based application, thus there should be a lot of Web Services being used. Sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Sam Carleton wrote: On Sun, Feb 24, 2008 at 8:21 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote: Axis2/C is the new implementation with many WS-* level support. I would rather use Axis2/C :) Cool What kind of a service do you want to consume from your module? It is an RPC style or a document style Web service? No, I don't want to consume a server, I want to provide a service to a .Net Windows application I am developing. You can do that by using our Axis2/C httpd module. However, if I understood your earlier mail correctly, you want to expose your own httpd module. Or do you want to expose an existing C++ library as a Web service? Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
On Sun, Feb 24, 2008 at 8:21 PM, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote: > > Axis2/C is the new implementation with many WS-* level support. I would > rather use Axis2/C :) Cool > What kind of a service do you want to consume from your module? It is an > RPC style or a document style Web service? No, I don't want to consume a server, I want to provide a service to a .Net Windows application I am developing. Sam - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Sam Carleton wrote: Senaka, Ok, I am just getting into Web Services and my Apache Module is actually C++. Well a lot of it is simply C+ . So from looking at the http://ws.apache.org/soap/ site, I had gotten the impression that Axis2 has replaced Axis. From what you are saying Axis is C++ and Axis2 is either Java or C, correct? I can go either way, C or C++. What would you recommend? Axis2/C is the new implementation with many WS-* level support. I would rather use Axis2/C :) What kind of a service do you want to consume from your module? It is an RPC style or a document style Web service? Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Sam Carleton wrote: I am working on a project that currently has an Apache C module in it. Now I need this C code to talk to some applications via SOAP. Is axis-C what I am looking for or is that a stand alone SOAP/Web Service implementation using the Apache engine? So your module will act like a SOAP client to an external Web service? If so, yes, you can use the client interface of Axis2/C and do that. Samisa... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Senaka, Ok, I am just getting into Web Services and my Apache Module is actually C++. Well a lot of it is simply C+ . So from looking at the http://ws.apache.org/soap/ site, I had gotten the impression that Axis2 has replaced Axis. From what you are saying Axis is C++ and Axis2 is either Java or C, correct? I can go either way, C or C++. What would you recommend? Sam On Sun, Feb 24, 2008 at 5:36 PM, Senaka Fernando <[EMAIL PROTECTED]> wrote: > Hi Sam, > > I believe you are referring to Axis2/C. Axis doesn't have a C > implementation, but, a C++ implementation rather. > > You can of course use your own module instead of the existing one. You > will have to implement the mod_axis2.c file to suit your environment. If > you want any further customization, you are free to modify the entire > source within src/core/transport/http/server/apache2, as long as it does > comply to the headers. > > Regards, > Senaka > > > > > I am working on a project that currently has an Apache C module in it. > > Now I need this C code to talk to some applications via SOAP. Is > > axis-C what I am looking for or is that a stand alone SOAP/Web Service > > implementation using the Apache engine? > > > > Ideally I would like to simply add to the one existing Apache Module I > > have written. > > > > Sam > > > > - > > 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] > > -- The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis-c and apache modules...
Hi Sam, I believe you are referring to Axis2/C. Axis doesn't have a C implementation, but, a C++ implementation rather. You can of course use your own module instead of the existing one. You will have to implement the mod_axis2.c file to suit your environment. If you want any further customization, you are free to modify the entire source within src/core/transport/http/server/apache2, as long as it does comply to the headers. Regards, Senaka > I am working on a project that currently has an Apache C module in it. > Now I need this C code to talk to some applications via SOAP. Is > axis-C what I am looking for or is that a stand alone SOAP/Web Service > implementation using the Apache engine? > > Ideally I would like to simply add to the one existing Apache Module I > have written. > > Sam > > - > 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]