Hi Deepal,
    Thanks for your reply. If any module is engage in service.xml. It get
execute only when some other class invokes that service. But if the service
(whose service.xml has module engage) invokes another service then its
engaged module does not get execute. For that we need to explictly write the
code serviceClient.engageModue(). But i dont want to write this code in my
program. 

Thanks,
Swapna Soni.





Deepal Jayasinghe-2 wrote:
> 
> So thats mean when you engage the module from services.xml that does not
> work?
> 
> I can not understand who breaks the working codes, anyway please create
> a JIAR and attach whatever necessary to re-create the issue.
> 
> Thanks,
> Deepal
>> Hi Team,
>>
>>     I have two webservices. One is server service and one is client
>> service.
>> >From the server service, i am calling the client service. I have one
>> custom
>> module engaged in both the service's service.xml. But when i call the
>> client
>> service from the server service, its custom module dont get execute. If i
>> explicitly write the code "sender.engageModule("mesha")" then server's
>> side
>> custom module is executing. 
>>    I dont want to hardcode the engageModule funtion in my server service
>> class. Is there any way to execute server' service custom module when i
>> cal
>> the client service from it?
>>
>> Thanks,
>> Swapna Soni.
>>   
> 
> 
> -- 
> Thank you!
> 
> 
> http://blogs.deepal.org
> http://deepal.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-engage-module-in-the-code-from-where-we-invoke-the-webservice---tp23997418p24049559.html
Sent from the Axis - Dev mailing list archive at Nabble.com.

Reply via email to