Hi Gupta,
Custom message receivers are loaded into the Axis2/C dynamically. What you need to do is build your receiver as a dynamically loadable module. You can refer to echo service's Makefile.am to see how to do that. If your dll name is libcustom_receiver.so. Then the class in the following code section is "custom_receiver" Once you have your receiver library ready you can put an entry into your service.xml as

<operation name="your_op">
    <messageReceiver class="custom_receiver">
</operation>

Also put your receiver dll into the Axis2/C repository's lib folder.

Now when requests for your_op endup hitting custom_receiver.
Hope this will help, If you still have problems send me your message receiver's Makefile.am

thanks,
Damitha


Gupta, Shivam wrote:
Hello,
I am working with the AXIS2/C Makefile project. I have developed a custom message receiver and am trying to add it to the existing AXIS2/C Makefile project. But I have been unsuccessful till now. Could someone guide me as to how I may do this. Regards,
Shivam.


--
__________________________________________________________________

Damitha Kumarage
http://people.apache.org/
__________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to