M
Matt
Hello,
I am trying to access a webservice via Axis and having problems with
registering my type mappings.
I have two different Lists that I need mapped: List<ObjectA> and
List<ObjectB>. However, I can only register one type mapping for
List.class. It only picks up the last one registered.
<code>
call.registerTypeMapping(java.util.List.class, objectAqname, new
ArraySerializerFactory(), new ArrayDeserializerFactory(hostqname));
call.registerTypeMapping(java.util.List.class, objectBqname, new
ArraySerializerFactory(), new ArrayDeserializerFactory(hostqname));
</code>
I am stumped and would appreciate any and all help. Please let me know
if you need more info.
Thanks.
I am trying to access a webservice via Axis and having problems with
registering my type mappings.
I have two different Lists that I need mapped: List<ObjectA> and
List<ObjectB>. However, I can only register one type mapping for
List.class. It only picks up the last one registered.
<code>
call.registerTypeMapping(java.util.List.class, objectAqname, new
ArraySerializerFactory(), new ArrayDeserializerFactory(hostqname));
call.registerTypeMapping(java.util.List.class, objectBqname, new
ArraySerializerFactory(), new ArrayDeserializerFactory(hostqname));
</code>
I am stumped and would appreciate any and all help. Please let me know
if you need more info.
Thanks.