You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Zedler, Michel" <Mi...@iao.fhg.de> on 2004/06/16 11:03:21 UTC

Complex Types and Interoperability

Hi all,

Axis comes with a build-in BeanSerializer
but the Axis User Guide says that there is nothing
in the SOAP specification which covers complex objects.

So do I leave the promised path of interoperability
and force my clients to use JAVA
when I use Bean(De)Serialization or not?

Same question for:
- HashTables
- Custom Objects and Custom (De)Serializers

Thanks,
Michel

Re: Complex Types and Interoperability

Posted by James Black <jb...@ieee.org>.
Zedler, Michel wrote:

>Hi all,
>
>Axis comes with a build-in BeanSerializer
>but the Axis User Guide says that there is nothing
>in the SOAP specification which covers complex objects.
>
>So do I leave the promised path of interoperability
>and force my clients to use JAVA
>when I use Bean(De)Serialization or not?
>
>Same question for:
>- HashTables
>- Custom Objects and Custom (De)Serializers
>  
>
  As long as your beans can be decomposed into simple types then the 
Bean serializer works well.

  You won't be able to use it to pass around collections, so the hash 
table should be converted into an array of beans, for example.  If the 
client really needs it as a hash table then it would be easy to create a 
new hashtable from an array of objects.

-- 
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    james@usf.edu