Your service DLL is not loaded by Axis2/C becuase the functions that it looks for initializing the DLL, is not exported. Instead of using AXiS2_EXTERN use AXIS2_EXPORT for the axis2_get_instance and axis2_remove_instace functions. This should solve your problem.
Supun. On Sun, Mar 29, 2009 at 10:52 AM, Sam Carleton <scarle...@gmail.com> wrote: > I am looking more into the log file and I am finding something > interesting. I have a debug message "loading the services from > msg_recv_load_and_init_svc" for all the services EXCEPT mine. Here is what > I am getting in my log file: > > [Sun Mar 29 01:40:58 2009] [debug] ..\..\src\core\receivers\msg_recv.c(131) > loading the services from msg_recv_load_and_init_svc > [Sun Mar 29 01:40:58 2009] [info] [Axis2] Axis2 worker created > [Sun Mar 29 01:41:08 2009] [debug] > ..\..\src\core\transport\http\server\apache2\apache2_worker.c(238) > http://localhost:8042/axis2/services/NodeManager > [Sun Mar 29 01:41:08 2009] [debug] > ..\..\src\core\transport\http\server\apache2\apache2_worker.c(280) Client > HTTP version HTTP/1.1 > [Sun Mar 29 01:41:08 2009] [debug] ..\..\axiom\src\soap\soap_builder.c(930) > Identified soap version is soap11 > [Sun Mar 29 01:41:08 2009] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler request_uri_based_dispatcher within the phase Transport > [Sun Mar 29 01:41:08 2009] [debug] > ..\..\src\core\engine\req_uri_disp.c(100) Checking for service using target > endpoint address : http://localhost:8042/axis2/services/NodeManager > [Sun Mar 29 01:41:08 2009] [debug] > ..\..\src\core\engine\req_uri_disp.c(121) Service found using target > endpoint address > [Sun Mar 29 01:41:08 2009] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler AddressingInHandler within the phase Transport > [Sun Mar 29 01:41:08 2009] [info] Starting addressing in handler > [Sun Mar 29 01:41:08 2009] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler addressing_based_dispatcher within the phase Transport > [Sun Mar 29 01:41:08 2009] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler rest_dispatcher within the phase Dispatch > [Sun Mar 29 01:41:08 2009] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler soap_message_body_based_dispatcher within the phase > Dispatch > [Sun Mar 29 01:41:08 2009] [debug] > ..\..\src\core\engine\soap_body_disp.c(231) Checking for operation using > SOAP messagebody's first child's local name : getChildren > [Sun Mar 29 01:41:08 2009] [debug] > ..\..\src\core\engine\soap_body_disp.c(240) Operation found using SOAP > message body's first child's local name > [Sun Mar 29 01:41:08 2009] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler soap_action_based_dispatcher within the phase Dispatch > [Sun Mar 29 01:41:08 2009] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler dispatch_post_conditions_evaluator within the phase > PostDispatch > [Sun Mar 29 01:41:08 2009] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler context_handler within the phase PostDispatch > [Sun Mar 29 01:41:08 2009] [error] > ..\..\src\core\receivers\raw_xml_in_out_msg_recv.c(115) Impl object for > service 'NodeManager' 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 > [Sun Mar 29 01:41:08 2009] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler AddressingOutHandler within the phase MessageOut > [Sun Mar 29 01:41:08 2009] [info] Starting addressing out handler > [Sun Mar 29 01:41:08 2009] [debug] > ..\..\src\modules\mod_addr\addr_out_handler.c(133) No action present. Stop > processing addressing > > ---------------------------- > My WSDL > ---------------------------- > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:tns="urn:mmpp:nodemanager" xmlns:wsdl=" > http://schemas.xmlsoap.org/wsdl/" xmlns:xsd=" > http://www.w3.org/2001/XMLSchema" name="NodeManager" > targetNamespace="urn:mmpp:nodemanager"> > <wsdl:types> > <xsd:schema targetNamespace="urn:mmpp:nodemanager"> > > <xsd:element name="getChildren"> > <xsd:complexType> > <xsd:sequence> > <xsd:element name="nodeId" type="xsd:string" /> > <xsd:element name="userId" type="xsd:string"></xsd:element> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > > <xsd:element name="getChildrenResponse"> > <xsd:complexType> > <xsd:sequence> > <xsd:element name="isImageGallery" type="xsd:boolean" /> > <xsd:element name="node" type="tns:NodeType" > maxOccurs="unbounded" minOccurs="0"></xsd:element> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > > <xsd:complexType name="NodeType"> > <xsd:attribute name="nodeId" type="xsd:string"></xsd:attribute> > <xsd:attribute name="name" type="xsd:string"></xsd:attribute> > </xsd:complexType> > </xsd:schema> > </wsdl:types> > <wsdl:message name="getChildrenRequest"> > <wsdl:part element="tns:getChildren" name="parameters"/> > </wsdl:message> > <wsdl:message name="getChildrenResponse"> > <wsdl:part element="tns:getChildrenResponse" name="parameters"/> > </wsdl:message> > <wsdl:portType name="NodeManager"> > <wsdl:operation name="getChildren"> > <wsdl:input message="tns:getChildrenRequest"/> > <wsdl:output message="tns:getChildrenResponse"/> > </wsdl:operation> > > </wsdl:portType> > > <wsdl:binding name="NodeManagerSOAP" type="tns:NodeManager"> > <soap:binding style="document" transport=" > http://schemas.xmlsoap.org/soap/http"/> > <wsdl:operation name="getChildren"> > <soap:operation soapAction="urn:mmpp:nodemanager/NewOperation"/> > <wsdl:input> > <soap:body use="literal"/> > </wsdl:input> > <wsdl:output> > <soap:body use="literal"/> > </wsdl:output> > </wsdl:operation> > </wsdl:binding> > <wsdl:service name="NodeManager"> > <wsdl:port binding="tns:NodeManagerSOAP" name="NodeManagerSOAP"> > <soap:address location="http://localhost/axis2/services/NodeManager > "/> > </wsdl:port> > </wsdl:service> > </wsdl:definitions> > > -- Software Engineer, WSO2 Inc http://wso2.org supunk.blogspot.com