[
http://jira.codehaus.org/browse/XFIRE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87216
]
Frédéric Desmoulins commented on XFIRE-547:
-------------------------------------------
Same problem for me on:
Java 6 (build 1.6.0-b105)
jaxws-2.1fcs
XFire 1.2.4
With XFire Settings:
JaxbServiceFactory
JaxbTypeRegistry
Jsr181WebAnnotations
Java sample:
WebMethod:
List<Person> getUsers() {...}
Generated Schema:
<xsd:element name="getUsersResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="out"
nillable="true" type="ns1:ArrayOfPerson"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
But "ns1:ArrayOfPerson" is not declared in the WSDL.
> Generated collection structures don't appear on WSDL
> ----------------------------------------------------
>
> Key: XFIRE-547
> URL: http://jira.codehaus.org/browse/XFIRE-547
> Project: XFire
> Issue Type: Bug
> Components: JAX-WS, JAXB 2.0
> Affects Versions: 1.1, 1.1.1
> Environment: Java 5
> Reporter: frederic dreyfus
> Assigned To: Dan Diephouse
>
> When trying to expose a service that returns a collection of type T :
> Collection<T> doStuff()
> The generated WSDL makes a reference to ArrayOfT but has no corresponding
> schema.
> This occurs when using the org.codehaus.xfire.jaxws.JAXWSServiceFactory and
> the org.codehaus.xfire.jaxb2.JaxbServiceFactory.
--
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