Re: Regarding web services through AXIC c++
You can compile and link a sample on windows by issuing the following commands in a DOS prompt: change the directory to the folder where your sample code is exist. vcvars32.bat cl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "AXIS2_DECLARE_EXPORT" /D "_MBCS" *.C /I\include /link /nologo *.obj /LIBPATH:\lib axiom.lib axutil.lib axis2_engine.lib axis2_parser.lib /OUT:hello.exe in the above command replace with your axis2c home directory. Or, you can simply create a VC project for your client. Here you have to set your projects include path to axis2c include folder and add axiom.lib, axutil.lib, axis2_engine.lib and axis2_parser.lib into your lib path. regards, Dushshantha On 4/27/07, Sushmita Sahu <[EMAIL PROTECTED]> wrote: Hi For the hello.c file , in the document they have asked to compile as: On Windows to compile, cl.exe /D "WIN32" /D "_WINDOWS" /D "_MBCS"/D"AXIS2_DECLARE_EXPORT" /D "AXIS2_SVR_MULTI_THREADED" /w /nologo $(AXIS2_INCLUDE_PATH) $(APACHE_INCLUDE_PATH) /I hello.c I am unable to understand what the command means. How can I actually compile the hello.c file in windows. Thanks and regards Sushmita Sahu Architecture Team | Finacle Infosys Technologies Limited Plot No.44|Electronics City,Hosur Road|Bangalore-560100|India Call me : 9880927586 "Smile,it is the key that fits the lock of everybody's heart" -Original Message- From: Yogender Singh01 [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 6:42 PM To: Apache AXIS C User List Subject: RE: Regarding web services through AXIC c++ Hi all, The error is resolved now for Axis2C[axis2c-bin-0.96-win32.zip] and apache2.2[apache_2.2.4-win32-x86-no_ssl.msi]. The server is able to load the mod_axis2.so. Thanks for all replies. -Original Message- From: Yogender Singh01 [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 5:32 PM To: Apache AXIS C User List Subject: RE: Regarding web services through AXIC c++ Hi, Even I am facing the same problem. Can you try running the http.conf file and try if the entries are correct or not? In modules I even tried changing mod_axis2.dll to mod_axis2.so but still getting the same problem -Original Message- From: Sushmita Sahu [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 5:25 PM To: Apache AXIS C User List Subject: RE: Regarding web services through AXIC c++ The mod_axis2.dllis in the specified path , ie in modules directory , still I am getting this error. I am attaching the httpd.conf file. Please check whther I have added the right code. Thanks and regards Sushmita Sahu Architecture Team | Finacle Infosys Technologies Limited Plot No.44|Electronics City,Hosur Road|Bangalore-560100|India Call me : 9880927586 "Smile,it is the key that fits the lock of everybody's heart" -Original Message- From: Dumindu Pallewela [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 4:12 PM To: Apache AXIS C User List Subject: Re: Regarding web services through AXIC c++ Sushmita Sahu wrote: > > /Hi,/ > > / I am a novice in web services./ > > /I have installed Axis -c as per the document given in Axis site. I > have copied all the respective files in the relevant paths./ > > /I have set the path as well. But when I give httpd -k start it gives > me the error that mod_axis2.dll can not be loaded./ > > */C:\Apache Software Foundation\Apache2.2\bin>httpd -k start/* > > */httpd: Syntax error on line 487 of C:/Apache Software > Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Apache Software > Foundation/Apache2.2/modules/mod_axis2.dll into server: The specified > module could not be found./* > > */ /* > > /I have added / > > */LoadModule axis_module modules/mod_axis2.dll/* > > *//* > > */SetHandler axis/* > > *//* > > / / > > /To httpd.conf/ > > / / > Also note that the configuration should be changed as follows: LoadModule axis2_module modules/mod_axis2.dll SetHandler axis2_module NB: Module name in the above must be "axis2_module". Not "axis_module" nor "axis". additionally, you should have the following parameters in your httpd.conf. replace "path-to-your-axis2-repo" with the path you have installed axis2c. Axis2RepoPath path-to-your-axis2-repo Axis2LogFile /tmp/axis2.log Axis2LogLevel info However, according to the error message that you have posted, it seems that the error occurs not due to these mistakes, but due to mod_axis2.dll is not found in the apache2 modules directory as Samisa mentioned. Dumindu. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such
RE: Regarding web services through AXIC c++
Hi For the hello.c file , in the document they have asked to compile as: On Windows to compile, cl.exe /D "WIN32" /D "_WINDOWS" /D "_MBCS"/D"AXIS2_DECLARE_EXPORT" /D "AXIS2_SVR_MULTI_THREADED" /w /nologo $(AXIS2_INCLUDE_PATH) $(APACHE_INCLUDE_PATH) /I hello.c I am unable to understand what the command means. How can I actually compile the hello.c file in windows. Thanks and regards Sushmita Sahu Architecture Team | Finacle Infosys Technologies Limited Plot No.44|Electronics City,Hosur Road|Bangalore-560100|India Call me : 9880927586 "Smile,it is the key that fits the lock of everybody's heart" -Original Message- From: Yogender Singh01 [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 6:42 PM To: Apache AXIS C User List Subject: RE: Regarding web services through AXIC c++ Hi all, The error is resolved now for Axis2C[axis2c-bin-0.96-win32.zip] and apache2.2[apache_2.2.4-win32-x86-no_ssl.msi]. The server is able to load the mod_axis2.so. Thanks for all replies. -Original Message- From: Yogender Singh01 [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 5:32 PM To: Apache AXIS C User List Subject: RE: Regarding web services through AXIC c++ Hi, Even I am facing the same problem. Can you try running the http.conf file and try if the entries are correct or not? In modules I even tried changing mod_axis2.dll to mod_axis2.so but still getting the same problem -Original Message- From: Sushmita Sahu [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 5:25 PM To: Apache AXIS C User List Subject: RE: Regarding web services through AXIC c++ The mod_axis2.dllis in the specified path , ie in modules directory , still I am getting this error. I am attaching the httpd.conf file. Please check whther I have added the right code. Thanks and regards Sushmita Sahu Architecture Team | Finacle Infosys Technologies Limited Plot No.44|Electronics City,Hosur Road|Bangalore-560100|India Call me : 9880927586 "Smile,it is the key that fits the lock of everybody's heart" -Original Message- From: Dumindu Pallewela [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 4:12 PM To: Apache AXIS C User List Subject: Re: Regarding web services through AXIC c++ Sushmita Sahu wrote: > > /Hi,/ > > / I am a novice in web services./ > > /I have installed Axis -c as per the document given in Axis site. I > have copied all the respective files in the relevant paths./ > > /I have set the path as well. But when I give httpd -k start it gives > me the error that mod_axis2.dll can not be loaded./ > > */C:\Apache Software Foundation\Apache2.2\bin>httpd -k start/* > > */httpd: Syntax error on line 487 of C:/Apache Software > Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Apache Software > Foundation/Apache2.2/modules/mod_axis2.dll into server: The specified > module could not be found./* > > */ /* > > /I have added / > > */LoadModule axis_module modules/mod_axis2.dll/* > > *//* > > */SetHandler axis/* > > *//* > > / / > > /To httpd.conf/ > > / / > Also note that the configuration should be changed as follows: LoadModule axis2_module modules/mod_axis2.dll SetHandler axis2_module NB: Module name in the above must be "axis2_module". Not "axis_module" nor "axis". additionally, you should have the following parameters in your httpd.conf. replace "path-to-your-axis2-repo" with the path you have installed axis2c. Axis2RepoPath path-to-your-axis2-repo Axis2LogFile /tmp/axis2.log Axis2LogLevel info However, according to the error message that you have posted, it seems that the error occurs not due to these mistakes, but due to mod_axis2.dll is not found in the apache2 modules directory as Samisa mentioned. Dumindu. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ---
Re: [Axis2] SSL and certificate support
Hi Greg, Sorry if this is in some documentation somewhere (I’ve tried and not found if). A cursory glance at the rampart code shows a lot of references to ssl and certificates. Some specific questions: Is SSL supported on server side? Client? Yes, Axis2/C supports both ssl server authentication and client authentication. Please refer to the axis2c manual [1]. I would suggest you use axis2 1.0.0 RC3 [2] or the latest svn head, since ssl transport has been updated since 0.96 release. In this case you will have to refer to the documentation from the trunk [3]. Note that ssl transport is not a feature of rampart, but of Axis2/C itself. Regards, Dumindu. [1] http://ws.apache.org/axis2/c/docs/axis2c_manual.html#ssl_client [2] http://people.apache.org/~samisa/release/1.0.0/RC3/ [3] http://svn.apache.org/viewvc/webservices/axis2/trunk/c/xdocs/docs/ axis2c_manual.html?view=co#ssl_client - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] SSL and certificate support
Please use the correct prefix... Dumindu. Greg Denton wrote: Sorry if this is in some documentation somewhere (I’ve tried and not found if). A cursory glance at the rampart code shows a lot of references to ssl and certificates. Some specific questions: Is SSL supported on server side? Client? Are client side certificates (i.e. server-requested client authentication via certificates) supported on the server side? Client? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
about echo samples problems
In the echo sample, it will send the request twice with the same option. But now I want to send the second request with another option, so before I send the second request , I invoke “axis2_svc_client_set_options(svc_client, env, options)” again.After compile, I execute the program , it coredumped when it try to send the second request. The axis2c version I used is 0.96, have this situation tested in the 1.0 RC3? At the same time , I found that the windows version the request http head which is send by echo sample Is different from Linux version.In the windows version the head use “Content-Length” to indicate the length of the body, while linux version use MIME boundary to indicate the length of the body, But the source of the echo sample is same! So my question is how to control these through the apis according my will? Thanks and Reguards! Kixiong
SSL and certificate support
Sorry if this is in some documentation somewhere (I've tried and not found if). A cursory glance at the rampart code shows a lot of references to ssl and certificates. Some specific questions: Is SSL supported on server side? Client? Are client side certificates (i.e. server-requested client authentication via certificates) supported on the server side? Client? Thanks.
Re: [Axis2C] Regarding WSDL2C tool for Axis2C
Hi, To use the WSDL2C tool you have to include all the jars in the Axis2 lib directory if you download to your class path. Following shell script will do the all the tasks required. --- #!/bin/sh export AXIS2_HOME=/home/axis2java for f in $AXIS2_HOME/lib/*.jar do AXIS2_CLASSPATH=$AXIS2_CLASSPATH:$f done export AXIS2_CLASSPATH echo the classpath $AXIS2_CLASSPATH java -classpath $AXIS2_CLASSPATH org.apache.axis2.wsdl.WSDL2C $* --- You can use this script with required options to generate code. If your script is saved as WSDL2C.sh you can use following command to generate server side skeletons: sh WSDL2C.sh -ss -sd -d adb -u -f -o server You have to change the AXIS2_HOME variable to point your axis2 directory. If you build from the source point it to target directory. For the Windows platform use the attached batch script. Thanks Milinda On 4/26/07, Yogender Singh01 <[EMAIL PROTECTED]> wrote: Hi all, Which jar file is to be included in CLASSPATH for this tool? TIA yogender CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** -- [EMAIL PROTECTED] WSO2, Inc: http://www.wso2.com "Oxygenating the Web Service Platform" http://www.milindalakmal.wordpress.com WSDL2C Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]