[
http://jira.codehaus.org/browse/XFIRE-910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesper Goertz updated XFIRE-910:
--------------------------------
Attachment: echo.zip
four wsdl files demonstrating problem
echo.wsdl with ref
echo1.wsdl without ref
echo2.wsdl with list reponse without ref
echo3.wsdl with list reponse with ref
> Operation return type lists not generated
> -----------------------------------------
>
> Key: XFIRE-910
> URL: http://jira.codehaus.org/browse/XFIRE-910
> Project: XFire
> Issue Type: Bug
> Components: Generator
> Affects Versions: 1.2.5
> Reporter: Martin Tilma
> Assigned To: Dan Diephouse
> Attachments: echo.zip
>
>
> I have a problem with Lists while generating code from WSDL
> When you look at the code below the return type of the method is Datastream.
> I aspect a List of Datastream objects. Is this a bug?
> wsdl:
> <element name="getDatastreams">
> <complexType>
> <sequence>
> <element name="pid" type="xsd:string"/>
> <element name="asOfDateTime" type="xsd:string"/>
> <element name="dsState" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
> <element name="getDatastreamsResponse">
> <complexType>
> <sequence>
> <element name="datastream" minOccurs="0" maxOccurs="unbounded"
> type="fedora-types:Datastream"/>
> </sequence>
> </complexType>
> </element>
> in 1.2.5:
> @WebMethod(operationName = "getDatastreams", action =
> "http://www.fedora.info/definitions/1/0/api/#getDatastreams")
> @WebResult(name = "datastream", targetNamespace = "")
> public Datastream getDatastreams(
> @WebParam(name = "pid", targetNamespace = "")
> String pid,
> @WebParam(name = "asOfDateTime", targetNamespace = "")
> String asOfDateTime,
> @WebParam(name = "dsState", targetNamespace = "")
> String dsState);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email