axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Sutter <Michael.Sut...@ipe.fzk.de>
Subject Re: Is AXIS2/C what I need?
Date Wed, 22 Aug 2007 09:02:49 GMT
Hello,

I tested axis2 with c++ and was not able to get it running. But I 
communicated with some one and he told me, that it is working.
If anybody knows how it goes it would be very nice to tell it me.
What I tried is to compile a axis2c service with g++. With some tricks 
the compiling and linkings works. But the call of the service always 
ends in a segmentation fault.

Regards Michael

Carlos Escobar wrote:
> Samisa:
>
> By your reply i can say over safe ground that i can use axis and/or axis2 (both for c/c++)
in a production environment without surprises, am i right?
>
> Well, another reason for stopping our trying axis was due to the difficulties we had
installing it, hope you or any of the mailing list members can help... i'll be posting my
experience tomorrow at work (i'm at home now), but what i recall is always having trouble
with the AxisXMLParser.Dll thing. I haven't fully tried Axis 2 for C/C++, but I'd like to
hear comments/recommendations on which one would be better to use.
>
> Thanks
>
> Carlos
> ---------- Original Message ----------------------------------
> From: Samisa Abeysinghe <samisa@wso2.com>
> Reply-To: "Apache AXIS C User List" <axis-c-user@ws.apache.org>
> Date:  Wed, 22 Aug 2007 06:53:47 +0600
>
>   
>> Carlos Escobar Zarzar wrote:
>>     
>>> Hi Frank,
>>>
>>> It has to.. at our company we ceased researching axis due to it's 
>>> development status, but have been using gSOAP for most of our C/C++ 
>>> webservices, and of course, they all pack a wsdl with them ;) now 
>>> where that parser is being used I don't know, but I can tell for sure 
>>> it does parse them.
>>>       
>> Axis2/C also have the contract first model of development.
>>     
>>> We had success communicating a webservice written in a z/OS server 
>>> with a Windows XP C++ client which was built using gSOAP.
>>>       
>> Axis2/C has proved to interop with .NET and J2EE with basic SOAP as well 
>> as WS-* level.
>>
>> Samisa...
>>     
>>> Hope that helps
>>>
>>> Carlos
>>>
>>> Frank Zhou escribió:
>>>       
>>>> Thanks much for your replies. I had quite a bit of
>>>> experience with AXIS-J but not gSOAP or AXIS-c. Does
>>>> gSOAP come with a WSDL parser with APIs to allow me
>>>> traverse the various parts of a WSDL? In my
>>>> application, I do not intend to deploy just one web
>>>> services (so no code generation), I need to be able to
>>>> parse any standard WSDLs.
>>>>
>>>> Thanks much.
>>>> Frank
>>>> --- cara <pinkgranite@gmail.com> wrote:
>>>>
>>>>   
>>>>         
>>>>> Frank,
>>>>>
>>>>> Hi again. Just to cover our reasons for using gsoap:
>>>>>
>>>>> 1. It is older software ... fewer bugs. Lower risk
>>>>> for a production project.
>>>>> 2. We used it for an rpc wsdl, so nothing too fancy
>>>>> as far as wsdls go.
>>>>> 3. Our legacy C++ software developers and
>>>>> integration team knows almost
>>>>> nothing about building C++ code with ant (they
>>>>> dislike all things java).
>>>>> 4. Axis2 for java was not ready for production so
>>>>> (at the time) we did not
>>>>> consider Axis2/c.
>>>>>
>>>>> On 8/20/07, Samisa Abeysinghe <samisa@wso2.com>
>>>>> wrote:
>>>>>     
>>>>>           
>>>>>> Frank Zhou wrote:
>>>>>>       
>>>>>>             
>>>>>>> Hi All,
>>>>>>>
>>>>>>> I am trying to build a web service application
>>>>>>>         
>>>>>>>               
>>>>> in c++,
>>>>>     
>>>>>           
>>>>>>> and now investigate to see if AXIS2/c can
>>>>>>>         
>>>>>>>               
>>>>> satisfy my
>>>>>     
>>>>>           
>>>>>>> needs. Specifically, I have the following
>>>>>>> requirements:
>>>>>>>
>>>>>>> (1) The library supports common web services
>>>>>>>         
>>>>>>>               
>>>>> standards
>>>>>     
>>>>>           
>>>>>>>  like SOAP/HTTP/WSDL et cetera. I will use it to
>>>>>>>         
>>>>>>>               
>>>>> build
>>>>>     
>>>>>           
>>>>>>>  a web service client application (web service
>>>>>>>  consumer).
>>>>>>>
>>>>>>>         
>>>>>>>               
>>>>>> Axis2/C can handle SOAP over HTTP. But there are
>>>>>>       
>>>>>>             
>>>>> some TODOs pending in
>>>>>     
>>>>>           
>>>>>> WSDL space.
>>>>>>       
>>>>>>             
>>>>>>> (2) It should provides a rich set of APIs for me
>>>>>>>         
>>>>>>>               
>>>>> to
>>>>>     
>>>>>           
>>>>>>>  traverse through a WSDL and make SOAP/HTTP
>>>>>>>         
>>>>>>>               
>>>>> calls. In
>>>>>     
>>>>>           
>>>>>>>  particular, I need a WSDL parser so that I can
>>>>>>>         
>>>>>>>               
>>>>> parse
>>>>>     
>>>>>           
>>>>>>> a
>>>>>>>  WSDL (given the WSDL file or the URL)to get the
>>>>>>>  definitions. I DO NOT NEED TO CONVERT THE WSDL
>>>>>>>         
>>>>>>>               
>>>>> TO
>>>>>     
>>>>>           
>>>>>>>  C++ code, just need to parse a WSDL to get the
>>>>>>>  definitions, later on I will traverse the
>>>>>>>         
>>>>>>>               
>>>>> parsed
>>>>>     
>>>>>           
>>>>>>>  objects to get the services, operations,
>>>>>>>         
>>>>>>>               
>>>>> messages
>>>>>     
>>>>>           
>>>>>>>  and types (XML schemas) et cetera to build my
>>>>>>>         
>>>>>>>               
>>>>> only
>>>>>     
>>>>>           
>>>>>>>  datastore for a given WSDL. This way I can
>>>>>>>  dynamically handle different WSDLs in my
>>>>>>>         
>>>>>>>               
>>>>> application
>>>>>     
>>>>>           
>>>>>>>  without generating the c++ code stubs every
>>>>>>>         
>>>>>>>               
>>>>> time.
>>>>>     
>>>>>           
>>>>>> As mentioned earlier, there is a piece of code
>>>>>>       
>>>>>>             
>>>>> written in Axis2/C called
>>>>>     
>>>>>           
>>>>>> woden, that can deal with the WSDL functionality
>>>>>>       
>>>>>>             
>>>>> that you are looking for.
>>>>>     
>>>>>           
>>>>>> Unfortunately that is not in the main source tree,
>>>>>>       
>>>>>>             
>>>>> because we could not
>>>>>     
>>>>>           
>>>>>> maintain it -  due to lack of contributors in that
>>>>>>       
>>>>>>             
>>>>> space.
>>>>>     
>>>>>           
>>>>>> At some point, however, someone will again start
>>>>>>       
>>>>>>             
>>>>> looking into that, at
>>>>>     
>>>>>           
>>>>>> which point you would have WSDL handling features.
>>>>>>       
>>>>>>             
>>>>>>> (3) The library is in c++ and available for
>>>>>>> multi-platforms, like windows, linux and unix et
>>>>>>> cetera.
>>>>>>>
>>>>>>>         
>>>>>>>               
>>>>>> Axis2/C is a C library, that works on Windows,
>>>>>>       
>>>>>>             
>>>>> Solaris, MacOS and Linux.
>>>>>     
>>>>>           
>>>>>>> Please let me know if AXIS2/c is a good choice
>>>>>>>         
>>>>>>>               
>>>>> to me.
>>>>>     
>>>>>           
>>>>>>> and how it is compared to gSOAP?
>>>>>>>
>>>>>>>         
>>>>>>>               
>>>>>> I am not in a position to do a formal comparison
>>>>>>       
>>>>>>             
>>>>> on Axis2/C vs. gSOAP.
>>>>>     
>>>>>           
>>>>>> However, here is an overview:
>>>>>>     - Axis2/C comes with Apache license, and gSOAP
>>>>>>       
>>>>>>             
>>>>> comes with GNU license
>>>>>     
>>>>>           
>>>>>>     - Axis2/C is just two years old, gSOAP has
>>>>>>       
>>>>>>             
>>>>> been around for much longer
>>>>>     
>>>>>           
>>>>>>     - Axis2/C is based on Axis2 architecture, an
>>>>>>       
>>>>>>             
>>>>> architecture designed
>>>>>     
>>>>>           
>>>>>> to cope with extensions and addition of new WS-*
>>>>>>       
>>>>>>             
>>>>> spec implementations.
>>>>>     
>>>>>           
>>>>>> You would have to refer to gSOAP site on their
>>>>>>       
>>>>>>             
>>>>> architecture
>>>>>     
>>>>>           
>>>>>>     - Axis2/C already have full WS-Security and
>>>>>>       
>>>>>>             
>>>>> WS-RM implementations,
>>>>>     
>>>>>           
>>>>>> to my knowledge, gSOAP do not have those specs
>>>>>>       
>>>>>>             
>>>>> implemented fully.
>>>>>     
>>>>>           
>>>>>> (http://www.bloglines.com/blog/samisa?id=57)
>>>>>>     - Axis2/C has a comparatively simple
>>>>>>       
>>>>>>             
>>>>> deployment model. You get
>>>>>     
>>>>>           
>>>>>> Apache2 and IIS modules with Axis2/C. If you are
>>>>>>       
>>>>>>             
>>>>> using apache module to
>>>>>     
>>>>>           
>>>>>> deploy, it is one off configuration. But if gSOAP,
>>>>>>       
>>>>>>             
>>>>> you have to configure
>>>>>     
>>>>>           
>>>>>> Apache server for each and every service that you
>>>>>>       
>>>>>>             
>>>>> cant to deploy.
>>>>>     
>>>>>           
>>>>>>    - Axis2/C has the ability to support many other
>>>>>>       
>>>>>>             
>>>>> transports. It
>>>>>     
>>>>>           
>>>>>> already support HTTP and TCP. WSO2 WSF/C has
>>>>>>       
>>>>>>             
>>>>> implemented an XMPP
>>>>>     
>>>>>           
>>>>>> transport and one of the GSOC students is
>>>>>>       
>>>>>>             
>>>>> implementing and SMTP
>>>>>     
>>>>>           
>>>>>> transport. To my knowledge, gSOAP only support
>>>>>>       
>>>>>>             
>>>>> HTTP transport
>>>>>     
>>>>>           
>>>>>> HTH
>>>>>>
>>>>>> Regards,
>>>>>> Samisa...
>>>>>>
>>>>>>
>>>>>>       
>>>>>>             
>>>>>>> Thanks very much.
>>>>>>> Frank
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>         
>>>>>>>               
>>>> ____________________________________________________________________________________
>>>>   
>>>>         
>>>>>>> Need a vacation? Get great deals
>>>>>>> to amazing places on Yahoo! Travel.
>>>>>>> http://travel.yahoo.com/
>>>>>>>
>>>>>>>
>>>>>>>         
>>>>>>>               
>>>> ---------------------------------------------------------------------
>>>>   
>>>>         
>>>>>>> To unsubscribe, e-mail:
>>>>>>>         
>>>>>>>               
>>>>> axis-c-dev-unsubscribe@ws.apache.org
>>>>>     
>>>>>           
>>>>>>> For additional commands, e-mail:
>>>>>>>         
>>>>>>>               
>>>>> axis-c-dev-help@ws.apache.org
>>>>>     
>>>>>           
>>>>>>>         
>>>>>>>               
>>>>>> --
>>>>>> Samisa Abeysinghe : WSO2 WSF/C
>>>>>> "
>>>>>>
>>>>>>       
>>>>>>             
>>>> http://wso2.org/projects/wsf/c?WSO2 Web Services Framework/C - Open source
C library for providing and consuming Web services
>>>>   
>>>>         
>>>>>> "
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>       
>>>>>>             
>>>> ---------------------------------------------------------------------
>>>>   
>>>>         
>>>>>> To unsubscribe, e-mail:
>>>>>>       
>>>>>>             
>>>>> axis-c-user-unsubscribe@ws.apache.org
>>>>>     
>>>>>           
>>>>>> For additional commands, e-mail:
>>>>>>       
>>>>>>             
>>>>> axis-c-user-help@ws.apache.org
>>>>>     
>>>>>           
>>>>>>       
>>>>>>             
>>>>
>>>>       ____________________________________________________________________________________
>>>> Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>   
>>>>         
>> -- 
>> Samisa Abeysinghe : WSO2 WSF/C
>> "http://wso2.org/projects/wsf/c?WSO2 Web Services Framework/C - Open source C library
for providing and consuming Web services"
>>
>>
>> ---------------------------------------------------------------------
>> 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


Mime
View raw message