Apache Axis Client receive list of String Arrays

J

Jacqueline

Hi,

I am having a problem with an Apache Axis client reading and parsing
the following SOAP document:-

<?xml version="1.0" encoding="ISO-8859-1"?>
<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>
<get_StringArrayResponse>
<return>
<item xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:string[2]">
<item xsi:type="xsd:string">a</item>
<item xsi:type="xsd:string">b</item>
</item>
<item xsi:type="SOAP-ENC:Array"
SOAP-ENC:arrayType="xsd:string[2]">
<item xsi:type="xsd:string">c</item>
<item xsi:type="xsd:string">d</item>
</item>
</return>
</get_StringArrayResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The number of items in the list is variable, as is the number of
elements in the array for each item. The response was generated using
NuSoap PHP code. Please could you guide me as to the correct way to
proceed with this.

I have been struggling with this for the last couple of days, so any
help at all would be received greatfully.

Jacqueline
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,538
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top