[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] OT: xml-rpc question
- Subject: [ale] OT: xml-rpc question
- From: jb at sourceillustrated.com (John Wells)
- Date: Tue, 3 Dec 2002 13:07:28 -0500 (EST)
Anyone work much with xml-rpc? I'm implementing a Java web service and
attempting to pass a custom type to the service.
The jax-rpc docs state that it only supports a subset of types (vector
included), but I was wondering, can you wrap an custom type in a Vector
and then cast it on the service side? In other words, can you get around
the type limitation by encapsulating a custom type in a Vector, as long as
both the client and the server know about the type? I'm not quite sure
how a vector's data is "serialized" into xml, but since the actual
contents of the Vector are generically represented as objects, it would
seem you could wrap in a vector and cast to appropriate type on the server
side.
Thanks for the info.
John
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale