Hello and Thanks in advance,
I have been unable to find an answer on google. I'm trying to get the 
BasicClient and BasicService code to run. BasicClient is failing with a 
BasicDeserializer exception. Does this exception look familiar to anyone? The 
BasicClient and BasicService code is from this page:

http://www.caucho.com/resin-3.0/protocols/hessian.xtp

I'm using the latest Jetty and jdk. When I run BasicClient it returns this 
output:

C:\java>java example.BasicClient
Exception in thread "main" java.lang.UnsupportedOperationException: [EMAIL 
PROTECTED]
        at 
com.caucho.hessian.io.AbstractDeserializer.readMap(AbstractDeserializer.java:83)
        at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java:1010)

        at com.caucho.hessian.io.HessianInput.readReply(HessianInput.java:290)
        at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:181)
        at $Proxy0.hello(Unknown Source)
        at example.BasicClient.main(BasicClient.java:14)

Here is the BasicClient code with line 14 marked:


package example;

import com.caucho.hessian.client.HessianProxyFactory;

public class BasicClient {
  public static void main(String []args)
    throws Exception
  {
    String url = "http://www.caucho.com/hessian/test/basic";;

    HessianProxyFactory factory = new HessianProxyFactory();
    Basic basic = (Basic) factory.create(Basic.class, url);

--line 14-->    System.out.println("Hello: " + basic.hello());
  }


}
Thanks,
Joe


_______________________________________________
hessian-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to