Hello I have a web service that generates a SOAP response as indicated below. I am trying to parse the soap response with a handler to determine the number of Strings ( in this case an array of 2) being built and passed back. I am using axis beta 3 but I am having difficulty determing the value. I get to the point where I have the name of the message element to be createStringArrayResponse but cannot seem to be go any further. The answer is probably obvious , so I apologize for asking but I seem to have missed it.
if you could assist me or even provide with some example code that does this, that would be great. thanks in advance. Rob HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: 734 Date: Thu, 04 Jul 2002 19:03:30 GMT Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector) <?xml version="1.0" encoding="UTF-8"?> <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"> <SOAP-ENV:Body> <ns1:createStringArrayResponse xmlns:ns1="StringProducerPort"> <createStringArrayResult xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[2]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <item xsi:type="xsd:string">StringValue> 0!</item> <item xsi:type="xsd:string">StringValue> 1!</item> </createStringArrayResult> </ns1:createStringArrayResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>