| I've added this as a bug report at http://bugs.caucho.com/view.php?id=2160
-- Scott On Nov 9, 2007, at 5:14 AM, Daniel Rossi wrote: Hi any work around for my problem i can only send string arguments right now.On 06/11/2007, at 1:57 PM, Daniel Rossi wrote: Here is the spring code dont see any debug option here
try { // Try Hessian 3.x (with service interface argument). Constructor ctor = HessianSkeleton.class.getConstructor(new Class[] {Object.class, Class.class}); checkService(); checkServiceInterface(); skeleton = (HessianSkeleton) ctor.newInstance(new Object[] {getProxyForService(), getServiceInterface()}); } catch (NoSuchMethodException ex) { // Fall back to Hessian 2.x (without service interface argument). Constructor ctor = HessianSkeleton.class.getConstructor(new Class[] {Object.class}); skeleton = (HessianSkeleton) ctor.newInstance(new Object[] {getProxyForService()}); }
On 06/11/2007, at 1:43 PM, Daniel Rossi wrote: Hi its 3.13, where do I put the debug property on the server or client ? Its exported via the hessian exporter in spring ill have to take a look at the api and see if it has that.On 06/11/2007, at 4:03 AM, Scott Ferguson wrote:
On Nov 5, 2007, at 2:38 AM, Daniel Rossi wrote: Hi ive only managed to call a method with one string param as an argument, trying ArrayLists of Objects String[] arrays of strings or objects gives me this
org.springframework. web.util.NestedServletException: Hessian skeleton invocation failed; nested exception is java.lang.UnsupportedOperationException: com.caucho.hessian.io.BasicDeserializer@1cea92: java.lang.UnsupportedOperationException: com.caucho.hessian.io.BasicDeserializer@1cea92 at com.caucho.hessian.io.BasicDeserializer.readList(BasicDeserializer.java:516)
Which version of Hessian is this with? There have been fixes in the most recent version (3.1.3).
Also, if you're using the 3.1.3 version, you may want to set debug="true" so we can look at the Hessian data.
-- Scott
When just simply sending strings as arguments i get this
com.caucho.hessian.io.HessianProtocolException: add: expected end of call ('z') at 'S'. Check method arguments and ensure method overloading is enabled if necessary
The C# code is like
List<ServerConfig> list = new List<ServerConfig>(); ServerConfig config = new ServerConfig(); config.name = "test"; list.add(config); service.add(list);
on the java side
There is an interface and impl of
public void add(List<ServerConfig> config) { }
This is getting quite annoying because every kind of remoting impl ive tried that isnt soap doesnt work from C# to java and this was the easiest to setup in spring similar to rmi.
Let me know.
_______________________________________________ hessian-interest mailing list
_______________________________________________ hessian-interest mailing list
_______________________________________________ hessian-interest mailing list _______________________________________________ hessian-interest mailing list _______________________________________________ hessian-interest mailing list hessian-interest-p4ZHcaHNc0TQT0dZR+AlfA@xxxxxxxxxxxxxxxx http://maillist.caucho.com/mailman/listinfo/hessian-interest |
_______________________________________________
hessian-interest mailing list
hessian-interest-p4ZHcaHNc0TQT0dZR+AlfA@xxxxxxxxxxxxxxxx
http://maillist.caucho.com/mailman/listinfo/hessian-interest
|
|