users@jax-rpc.java.net

JAX-RPC DII client and array of object

From: John Huong <huongch_at_BIGFOOT.COM>
Date: Wed, 13 Nov 2002 15:26:22 +0800

Hi,
   I've been trying to deserialise the following
message with a JAX-RPC DII client with no success at
all. I am not using WSDL for the invocation.
Please help.


<?xml version="1.0"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:si="http://soapinterop.org/xsd">
<SOAP-ENV:Body>
<teststructResponse>
<blahtest xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:array[2]">
<item>
<firstnumber xsi:type="xsd:string">1</firstnumber>
<secondnumber xsi:type="xsd:string">2</secondnumber>
<eq_operator xsi:type="xsd:string">+</eq_operator>
<calresult xsi:type="xsd:string">3</calresult>
</item>
<item>
<firstnumber xsi:type="xsd:string">1</firstnumber>
<secondnumber xsi:type="xsd:string">1</secondnumber>
<eq_operator xsi:type="xsd:string">+</eq_operator>
<calresult xsi:type="xsd:string">2</calresult>
</item>
</blahtest>
</teststructResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Alternatively.. is there any code example (non WSDL)
of a JAX-RPC DII client that de-serialises arrays of
string?

Thanks.