Hi,
What does your java method look like for the "details" operation?
public DetailsReturn[] details(...)?
I think we support array as the representation of repeating elements for
SDO. For JAXB, we also support Collection types.
Thanks,
Raymond
--------------------------------------------------
From: "Manish Garg" <[EMAIL PROTECTED]>
Sent: Wednesday, July 23, 2008 9:34 AM
To: <[EMAIL PROTECTED]>
Subject: [jira] Assigned: (TUSCANY-978) TuscanyClient for handlingarray of
complextypes from a webservice
Hi ,
I am trying to use array of complex types (E.x. Employee( Name and Dsgn )
using SDO sample . I am unable to create SCA client which can handle
array of objects returned from Webservice . I am able to generate SDO
classes using same approach as given in SDO sample using arrayaccessors .
My web service response is this
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<detailsResponse xmlns="http://ws.mdot.org">
<detailsReturn>
<name>MDOT1</name>
<dsgn>22</dsgn>
</detailsReturn>
<detailsReturn>
<name>MDOT</name>
<dsgn>2</dsgn>
</detailsReturn>
</detailsResponse>
</soapenv:Body>
</soapenv:Envelope>
Thanks
Manish Garg
517 241 4205 - W