Hi, I have installed Apache 2.2 and Axi2C binaries version 1.6. Have copied the axis2_mod.dll into Apache folder and am able to view the services of Aixs2 under http://localhost/axis2/services. Also the sample provided with Axis2C like echo work with Apache. I now want to test the Hello program, mentioned at http://axis.apache.org/axis2/c/core/docs/axis2c_manual.html#mod_axis2 with Apache. Following is what I did.
1. Created the server hello.dll (tried both ways, visual studio 2010 express edition and also using the command line cl.exe...). Copied the hello.dll and the services .xml file under axis2/services 2. Able to view the new hello service under http:///localhost/axis2/services 3. Created the hello.exe client , whiose end point address is http://localhost/axis2/services/hello. When I run the client executable, I get the following error [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\req_uri_disp.c(100) Checking for service using target endpoint address : http://127.0.0.1:8090/axis2/services/hello [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\req_uri_disp.c(121) Service found using target endpoint address [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke the handler AddressingInHandler within the phase Transport [Sat Mar 26 22:48:55 2011] [info] Starting addressing in handler [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke the handler addressing_based_dispatcher within the phase Transport [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke the handler rest_dispatcher within the phase Dispatch [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\soap_body_disp.c(231) Checking for operation using SOAP messagebody's first child's local name : greet [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\soap_body_disp.c(240) Operation found using SOAP message body's first child's local name [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke the handler soap_action_based_dispatcher within the phase Dispatch [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke the handler context_handler within the phase PostDispatch [Sat Mar 26 22:48:55 2011] [error] ..\..\src\core\receivers\raw_xml_in_out_msg_recv.c(115) Impl object for service 'hello' not set in message receiver. 107 :: DLL description has invalid state of not having valid DLL create function, of valid delete function or valid dll_handler [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke the handler AddressingOutHandler within the phase MessageOut [Sat Mar 26 22:48:55 2011] [info] Starting addressing out handler [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\modules\mod_addr\addr_out_handler. Searching for help on this error, gave me an idea of what could be the issue, but still that does not help me, as I have the hello_svn.c file from the apache axis2c site. Can anybody give me pointers to what that problem could be? Also I noticed the difference is the dll size generated using the VS 2010 express version. and using the command line as mentioned on the site. Regards Pallavi
