I have created a WebService using Axis1.4. It returns an object
array,included in an object, but all the values returned to the client are
empty. Using the TCP monitor, the SOAP response correctly displays the
values of each element.

My client is a web based , created using WSAD, (Axis1.0). Can this be the
cause for lost values.?

Please see a portion of the wsdl, for the response element


        <xsd:complexType name="checkResponse">
                <xsd:sequence>
                <xsd:element minOccurs="1" maxOccurs="1"        
name="checkInformation"  
                             type="checkInformation"/>
                </xsd:sequence>
        </xsd:complexType>

        <xsd:complexType name="checkInformation">
                <xsd:sequence>
                   <xsd:element minOccurs="1" maxOccurs="1"
                        ref="micrCount" />
                   <xsd:element minOccurs="1" maxOccurs="unbounded"
                        name="micr" type="micr">
                   </xsd:element>
                </xsd:sequence>
        </xsd:complexType>

The element  micr, is returned as an array in checkInformation. On the
client side, when I process the response like

Micr[] micrArray = response.getCheckInformation().getMicr();

Micr micr = new Micr();
micr =  (Micr)micrArray[0];

micr.getAccountNumber()--->  Returns 0, instead of the actual account number
value.

Any suggestions, why the values are not returned to the client.

Thanks,
Pooja





-- 
View this message in context: 
http://www.nabble.com/Empty-Values-in-Client-from-Array-tp14410126p14410126.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to