+ Prerequisite: deploy a service to WebLogic Server.
- Call the service via Hessian C# as the following code.
CHessianProxyFactory factory = new CHessianProxyFactory(userName, password);
RemotePublisher service = (RemotePublisher)factory.Create(typeof(RemotePublisher), serviceUrl);
- We will receive an exception in attachment
+ Reason:
- The client doesn't receive response from the service in the timeout default value of Hessian Connection.
+ Solution:
- Hessian C# should allow client to set TimeOut period in creating Hessian Connection to avoid this issue.
TimeOut Exception