[
https://issues.apache.org/jira/browse/CXF-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alamgir Farouk updated CXF-3543:
--------------------------------
Attachment: AppointmentServiceService.js
AppointmentService.wsdl
wsdl and generated javascript
> wsdl2js creates javascript that does not parse Arrays in Soap response
> ----------------------------------------------------------------------
>
> Key: CXF-3543
> URL: https://issues.apache.org/jira/browse/CXF-3543
> Project: CXF
> Issue Type: Bug
> Components: JavaScript Client
> Affects Versions: 2.3.4
> Environment: generic
> Reporter: Alamgir Farouk
> Attachments: AppointmentService.wsdl, AppointmentServiceService.js
>
>
> <xsd:complexType name="ArrayOfServiceProviders">
> <xsd:complexContent>
> <xsd:restriction base="soapenc:Array">
> <xsd:attribute ref="soapenc:arrayType"
> wsdl:arrayType="tns:ServiceProvider[]" />
> </xsd:restriction>
> </xsd:complexContent>
> </xsd:complexType>
> creates the following javascript code
> function urn_AppointmentService_ArrayOfServiceProviders_deserialize
> (cxfjsutils, element) {
> var newobject = new urn_AppointmentService_ArrayOfServiceProviders();
> cxfjsutils.trace('element: ' + cxfjsutils.traceElementName(element));
> var curElement = cxfjsutils.getFirstElementChild(element);
> var item;
> return newobject;
> }
> Note that this method is incomplete, it doesn't even try to parse the
> element, just returns the new object. Is this intentional? Are we supposed to
> fill in the blanks? or is this a but.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira