cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-3543) wsdl2js creates javascript that does not parse Arrays in Soap response
Date Wed, 25 May 2011 19:33:47 GMT

     [ https://issues.apache.org/jira/browse/CXF-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-3543.
------------------------------

       Resolution: Invalid
    Fix Version/s: Invalid
         Assignee: Daniel Kulp


Soap encoded types are not supported by CXF. 


> 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
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>
>         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

Mime
View raw message