Re: Creating ws client within ws server
Hi Ian, Ian Harder [EMAIL PROTECTED] wrote on 04/05/2005 10:47:25: I've been working on a project where a web service is used to perform a number of tasks, including the calling of another web service to verify a user id. When I attempt to create the web service client within the server method, the server method dies, and control jumps right to the fini method. I've tried a number of things including creating the client both statically and dynamically, etc, but no matter what, whenever the client is created the server method it dies. I don't believe this is possible today. Axis C++ can't operate in both client and server mode, or behave as multiple clients or behave have multiple servers. I have previously opened requirements AXISCPP-427 and AXISCPP-426 to help address this (see: http://issues.apache.org/jira/browse/AXISCPP-427 and http://issues.apache.org/jira/browse/AXISCPP-426). The only way I could think of to workaround this today would be to have two (or more) separate instances of Axis (different shared library names, different C++ namespace) and set one up as the server and the other as the client. This would be very painful. Regards, Tim
Re: Multi-byte locale limitations?
Thanks, If I ensure that everything I pass in or out of Axis is UTF-8 will I still encounter problems if the process itself is running in a non-UTF-8 (or subset) locale? Why does the process locale even matter? Tim -- IBM Tivoli Access Manager Development Gold Coast Development Lab, Australia +61-7-5552-4001 phone +61-7-5571-0420 fax Nadir Amra [EMAIL PROTECTED] 28/02/2005 13:18 Please respond to Apache AXIS C User List To Apache AXIS C User List axis-c-user@ws.apache.org cc Subject Re: Multi-byte locale limitations? The AXIS code currently assumes that everything coming in and everything going out is UTF-8. Thus, if you are running in a locale that is a subset of UTF-8 (e.g. ISO-8859-1 character set), then you should be OK. However, if you are running in a locale such as japanese or chinese, then you are out of luck. This is something that will hopefully be fixed in the near future. Tim Bartley [EMAIL PROTECTED] wrote on 02/27/2005 08:11:19 PM: Hi, A little while ago a thread was on the list alluding to issues with running Axis in processes running in non-UTF8 or single-byte locales. Can some one please elaborate on what limitations Axis has running in such locales - particularly on the client side. Maybe I have misinterpreted the issue - perhaps it was more about serializing/deserializing string data encoded in non-UTF-8 character sets - this would be no issue for me - it's easy enough for me to ensure everything going in or out is encoded in UTF8. Thanks and regards, Tim -- IBM Tivoli Access Manager Development Gold Coast Development Lab, Australia +61-7-5552-4001 phone +61-7-5571-0420 fax
Client configuration without axiscpp.conf?
Hi, Another newbie question Is it possible to specify the configuration parameters to the Axis C++ client without using axiscpp.conf. I am concerned that multiple clients on the same machine are forced to share the same /etc/axiscpp.conf file. Also I am concerned that multiple clients within the same application are forced to share the same configuration file. My application is likely to have 3rd party Web service clients pluged in to it - I do not want them to interfere with my configuration and vice versa. While I appreciate the flexibility provided by the configuration file I'd prefer to specify the client configuration parameters programatically. Is this possible? Thanks, Tim -- IBM Tivoli Access Manager Development Gold Coast Development Lab, Australia +61-7-5552-4001 phone +61-7-5571-0420 fax