Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002160 [Hessian] minor always 11-09-07 09:16 03-05-08 20:52
Reporter ferg View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version
Summary 0002160: Hessian/C# communication
Description (rep by Daniel Rossi)

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});
                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:

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 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(); = "test";

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.

Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
11-09-07 09:16 ferg New Issue
03-05-08 20:52 ferg Project Resin => Hessian

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.
24 unique queries executed.
Powered by Mantis Bugtracker