I'm using Axis (server) to run a wrapped/literal service. My .NET client
correctly encodes my
String[] myArray;
array as
<myArray>
<item>one</item>
<item>two</item>
</myArray>
However, the AXIS server chokes on this. It gets a nullPointerException
is BeanDeserializer.onStartChild() for the myArray tag.
I've read Eric Chijioke's post entitled "Axis and .NET interoperability
- Arrays", but that seems to concern passing arrays from the AXIS server
to a .NET client, rather than vice-versa. So, my two questions are:
1) When implementing a document/literal service, should you use
BeanSerializer/BeanDeserializer to encode/decode your objects, or should
you use something else, like http://xmlbeans.apache.org/?
2) are there any other steps to do to support this?
Bill