when I tried returning a
String or an array from my service class which uses xfire I'm able to get the
soap response properly by invoking with
with a saaj client
but when I tried to send an array of user defined objects(that is Item in my case) I'm not able to get the response .
Below is my soap request & response which I have sent and received.Any help highly appreciated ..
REQUEST:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><quote><itemId>1</itemId><quantity>3</quantity><itemName>speaker</itemName></quote><quote><itemId>2</itemId><quantity>5</quantity><itemName>gjgj</itemName></quote></SOAP-ENV:Body></SOAP-ENV:Envelope>
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Index: 1, Size: 1</faultstring></soap:Fault></soap:Body></soap:Envelope>