Author |
|
Anilkumar B T
Joined: 13 Feb 2012 Posts: 5 Location: INDIA Bangalore
|
Posted: Mon 13 Feb '12 9:11 Post subject: Apache configuration with Axis Cpp client side |
|
|
I am very new to both Web Services and Axis. I installed Axis 1.6 (the
build from Aug-06), along with Apache 2.2. I have followed all the
instructions to create and deploy my web service. However, when I try to
start the HTTP server, the first error I kept getting was
"httpd: Syntax error on line 487 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
Software Foundation/Apache2.2/modules/mod_axis2.dll into server: The
specified module could not be found."
So at this point I am sure I am doing many things wrong, could somebody tell
me what they are? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 13 Feb '12 12:55 Post subject: |
|
|
Where did you downloads that module? Seems is not compatible with that apache version. |
|
Back to top |
|
Anilkumar B T
Joined: 13 Feb 2012 Posts: 5 Location: INDIA Bangalore
|
Posted: Tue 14 Feb '12 16:24 Post subject: Apache configuration with Axis Cpp client side |
|
|
http://www.apache.org/dist/ws/axis-c/binaries/
i had downloaded that module using this link.
what should i do next? my requirement is to create client side stubs |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
Anilkumar B T
Joined: 13 Feb 2012 Posts: 5 Location: INDIA Bangalore
|
Posted: Wed 15 Feb '12 16:06 Post subject: Apache configuration with Axis Cpp client side |
|
|
hi
thank you for your valuable suggestion
it worked when run it manually like using command httpd.exe -e debug but it doesnt start when i run it using apache monitor. |
|
Back to top |
|
Anilkumar B T
Joined: 13 Feb 2012 Posts: 5 Location: INDIA Bangalore
|
Posted: Thu 16 Feb '12 12:55 Post subject: Apache configuration with Axis Cpp client side |
|
|
hi james,
after doing that i am trying to use WSDL2C tool to generate i used this command
WSDL2C.bat -uri example.wsdl -d adb -u
but its not working can u help me with this?
what should i do? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 16 Feb '12 15:45 Post subject: |
|
|
I never used axis(2) before. How ever. "it is not working" is a bit insufficient. Error message? Something? Did you RTFM? |
|
Back to top |
|
Anilkumar B T
Joined: 13 Feb 2012 Posts: 5 Location: INDIA Bangalore
|
Posted: Fri 17 Feb '12 7:17 Post subject: |
|
|
hi james,
i have read the manual many times!
i am following first contract approach were in i have a wsdl file using which i am trying to generate client stubs these are the error which i found on logs
[Fri Feb 17 12:24:44 2012] [info] Starting Axis2 HTTP server....
[Fri Feb 17 12:24:44 2012] [info] Apache Axis2/C version in use : 1.6.0
[Fri Feb 17 12:24:44 2012] [info] Server port : 9090
[Fri Feb 17 12:24:44 2012] [info] Repo location : ../
[Fri Feb 17 12:24:44 2012] [info] Read Timeout : 60000 ms
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *rest_dispatcher added to the index 0 of the phase Dispatch
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_message_body_based_dispatcher added to the index 1 of the phase Dispatch
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *soap_action_based_dispatcher added to the index 2 of the phase Dispatch
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *dispatch_post_conditions_evaluator added to the index 0 of the phase PostDispatch
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\engine\phase.c(121) axis2_handler_t *context_handler added to the index 1 of the phase PostDispatch
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\deployment\conf_builder.c(234) No custom dispatching order found. Continue with the default dispatching order
[Fri Feb 17 12:24:44 2012] [debug] ..\..\src\core\deployment\conf_builder.c(379) Module addressing found in axis2.xml
[Fri Feb 17 12:24:44 2012] [error] ..\..\util\src\class_loader.c(167) Loading shared library ..//lib/axis2_http_sender.dll Failed. DLERROR IS DLL Load Error 126: The specified module could not be found.
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\deployment\conf_builder.c(903) Transport sender is NULL for transport http, unable to continue
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\deployment\conf_builder.c(262) Processing transport senders failed, unable to continue
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\deployment\dep_engine.c(752) Populating Axis2 Configuration failed
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\deployment\conf_init.c(64) Loading deployment engine failed for repository ../.
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\transport\http\receiver\http_receiver.c(126) unable to create private configuration contextfor repo path ../
[Fri Feb 17 12:24:44 2012] [error] ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(215) Server creation failed: Error code: 103 :: Failed in creating DLL
please help with this... |
|
Back to top |
|