Hi Falk;
Is there any possibility of creating one service client and use that for
all the service invocations.

Thanks
Deepal

Falk Bauer wrote:

>>>>Well you can have this behavior in the client side , ...
>>>>        
>>>>
>
>
>That was it. My code produces new ServiceClients at server-side and so the 
>deployment happens in every new call of the client.
>
>Some more explanations:
>
>The Round-Trip-Time Tests send a message the following way:
>Client->ServiceManager->LocalMonitor->ServiceManager->Client
>
>So in the ServiceManagerSkeleton-class there is an instantiation of a stub for 
>the LocalMonitor. Here were two issues responsible for the repeated deployment:
>
>1. The stub was instantiated in a method-local object. So the deployment 
>happens each time of the instantiation of the stub.
>Refactoring this method-local object to a class-field corrects this point.
>
>2. I have forgotten the attribute scope="application" for some services.xml.
>
>
>So the SimpleHTTPServer works absolutely right. It was solely my fault.
>
>Many many thanks to both of you. Your mails were greatly helpfull!
>By the way, the round-trip-times alleviates from 700ms to 20ms ;-)
>
>
>
>Deepal Jayasinghe wrote:
>  
>
>>Hi Fal;
>>
>>I tested this with both SimpleHTTPServer and Axis2 war distribution and
>>I was unable to find such a behavior. Well you can have this behavior in
>>the client side , if you are trying to create new service client for
>>each request.
>>Any way please create JIRA attaching both client and server side code.
>>
>>  
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 



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

Reply via email to