axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Keese <bi...@tech.beacon-it.co.jp>
Subject Arrays: .NET client --> AXIS server
Date Thu, 20 Jan 2005 04:00:31 GMT
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

Mime
View raw message