Re: Mac OS X build problems - Axis 1.0.0

2007-08-21 Thread Simon Parker
Samisa - Many thanks for your response. I downloaded axis2c-src-1.1.0 and tried again. Far fewer 'multiple definitions of symbol' messages this time, but still not error free. gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress - o .libs/libaxis2_mod_addr.0.1.0.dylib .libs/a

Re: Is AXIS2/C what I need?

2007-08-21 Thread Carlos Escobar
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

Re: SOAP Fault Segmentation Fault

2007-08-21 Thread Nandika Jayawardana
Hi Edward, It is not possible to cast axiom_node_t* pointer to axiom_soap_body_t type. One thing you could do in order to process the fault is following. Use axis2_svc_client_get_last_response_has_fault check whether the received message is a fault at client side. Then you can use axis2_svc_client

Re: SOAP fault builder

2007-08-21 Thread Dinesh Premalal
Hi Subra, "Subra A Narayanan" <[EMAIL PROTECTED]> writes: > I modified the axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync > function to log the soap fault message to axis2.log file just before it > returns > and see the correct soap fault message. So something happens after this point >

[ANN] WSO2 Web Services Framework (WSF)/C v1.0.1 Released

2007-08-21 Thread Samisa Abeysinghe
WSO2 Web Services Framework (WSF)/C v1.0.1 Released === WSO2 WSF/C team is pleased to announce the release of WSO2 WSF/C v1.0.1. WSO2 Web Services Framework/C (WSO2 WSF/C) is a standards compliant, enterprise grade, open source, C library for prov

Re: Mac OS X build problems - Axis 1.0.0

2007-08-21 Thread Samisa Abeysinghe
Hopefully, this issue is resolved by now in the latest svn. This was done after 1.0.0 release. Please try the source of 1.1.0 RC1 hosted here: http://people.apache.org/~samisa/1.1.0-RC1/ Thanks, Samisa... Simon Parker wrote: Hi - I'm trying to build the axis2c-src-1.0.0 source distribution

Re: Is AXIS2/C what I need?

2007-08-21 Thread Samisa Abeysinghe
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 ca

Re: Is AXIS2/C what I need?

2007-08-21 Thread Samisa Abeysinghe
cara 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. But it does not have that many WS-* coverage that Axis2/C has 2. We used it for an rpc wsdl, so nothing too fancy as far as wsdls go. Axis2/C

Re: Is AXIS2/C what I need?

2007-08-21 Thread Carlos Escobar Zarzar
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

Re: Is AXIS2/C what I need?

2007-08-21 Thread Frank Zhou
Hi Cara, 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

Re: Is AXIS2/C what I need?

2007-08-21 Thread cara
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 bu

Re: SOAP fault builder

2007-08-21 Thread Subra A Narayanan
Hey Nandika, Thanks for your reply. Looking at the axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync function in raw_xml_in_out_msg_recv.c was very helpful. So I modified my code accordingly and I think I might have found a bug in the framework. This is what I did 1. Set error status to A

Mac OS X build problems - Axis 1.0.0

2007-08-21 Thread Simon Parker
Hi - I'm trying to build the axis2c-src-1.0.0 source distribution on a MacBook Pro. The Mac OS X release is: Darwin Simons-MacBook-Pro.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386 Having run ./configure successfully I

SOAP Fault Segmentation Fault

2007-08-21 Thread Liu_Edward
I am just to run this snippet of code that I have designed: if (axiom_soap_body_has_fault((axiom_soap_body_t*)create_resp, env)) { axiom_soap_fault_t* fault = axiom_soap_body_get_fault( (axiom_soap_body_t*)cre

Re: SOAP fault builder

2007-08-21 Thread Nandika Jayawardana
Hi Subra, To send a fault from the service you can do the following. In the invoke function of the service skeleton set an the error status to AXIS2_FALSE and return NULL. You can use the AXIS2_ERROR_SET macro to set the error status. Then implement the on_fault function in the skeleton to return