[
http://jira.codehaus.org/browse/XFIRE-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173637#action_173637
]
Oren Shoham commented on XFIRE-547:
-----------------------------------
Hi Dan,
I'm having the same problem in 1.2.4, and upgraded to 1.2.6, but the problem
persists - List<String> is generated as ArrayOfString in the WSDL.
You mentioned that it is possible to solve this by using
<bean id="handlerMapping" class="....Jsr181HandlerMapping">
<property name="serviceFactory"><bean
class=".org.codehaus.xfire.jaxb2.JaxbServiceFactory"></property>
...
</bean>
I'm not using a spring container. Can you please provide a simple Java code
sample to set this up in 1.2.6?
Thanks,
Oren
> 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
> Assignee: Dan Diephouse
> Fix For: 1.2.5
>
> Attachments: FakeService.java, FakeService.wsdl, spring-xfire.xml,
> web.xml
>
>
> 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