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 Eric Chijioke <ec...@erisk.com> on 2004/09/10 00:39:09 UTC
Deserializing array of complex types
When an axis server is configured to use document/literal (wrapped),
what is the shema of arrays of complex types that it deserializes with
the default ArrayDeserializer?
Specifically, are the array elements wrappered by an 'arrayContainer'
element within the "<xxxResponse>" root element of the soap body (like a
collection)?
Like:
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope ...namespaces...>
<soapenv:Body>
<xxxResponse>
<arrayContainer>
<complexElement>
...
</complexElement>
<complexElement>
...
</complexElement>
<complexElement>
...
</complexElement>
</arrayContainer>
</xxxResponse>
</soapenv:Body>
</soapenv:Envelope>
If not, is there a way to make axis Deserialize them this way using the
default ArrayDeserializer (perhaps configuring .wsdd & writing
appropriate WSDL schema)?
Thanks,
Eric Chijioke
echijioke@erisk.com