Hello.

(Sorry for 2 empty previous mail. My web mail works strange. Or
because attachments?)

I use xfire+aegis 1.2.3 (1.2.4 has critical a bug for me:
http://jira.codehaus.org/browse/XFIRE-831) without aegis configs.

I want to transfer Objects of unknown (at compile time) type:

public static class TestRpc implements ITestRpc {
public Object call1() { return new myclass(); } // fail
public myclass call0() { return new myclass(); } // ok
public Object[] call2() { return new Object[]{new myclass()}; } // fail
public Object[] call3() { return new Object[]{"123"}; } // ok
}
//myclass is a normal pojo class.
got:
[INFO] DefaultFaultHandler - Fault occurred!
<org.codehaus.xfire.fault.XFireFault: Unable to write
'[EMAIL PROTECTED]' [test.WSTest$myclass]. Type is
unknown.>org.codehaus.xfire.fault.XFireFault: Unable to write
'[EMAIL PROTECTED]' [test.WSTest$myclass]. Type is unknown.
        at
org.codehaus.xfire.aegis.type.basic.ObjectType.handleNullType(ObjectType.java:255)

How can I get around this?
(How can I transfer Objects of unknown (at compile time) type)

--
Artem Melentyev, UralSU, CS401

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to