[IronPython] Calling WCF service
sheetal_gophane at persistent.co.in
Tue Feb 17 17:23:02 CET 2009
We are using channel Factory for calling WCF service in ironpython. But when
we give call to a method in that service, the method is not called and it
shows CPU usage almost 100%.
This method takes the request object and returns response.
I am giving the code snippet here.
This is in config file
from System.ServiceModel import *
from OnlineAVL.Services.Messaging.Interface import *
_factory = ChannelFactory[IOnlineAVLMessagingService]("MessagingServiceEP")
service = _factory.CreateChannel();
# request object is populated here
req = Request();
#call to method
When we execute this, on console it prints "calling" and after that CPU
usage goes up to 100%, and the machine becomes extremely slow and then gives
OutOfMemory Exception. It does not call the service method also.
Any solution to this problem?
Thanks in advance.
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users