How can I make wsconsume generate arrays instead of Lists?
Issue
- My EJB uses array datatypes, but when wsconsume generates the web services artifacts, it converts array to java.util.List. Is there a way to configure wsconsume such that it's not modifying the object datatype?
For instance, I have the EJB method:
public Order[] getOrders()
The web services artifacts for this EJB method is:
public java.util.List<Order> getOrders()
Environment
- JBoss Enterprise Application Platform (EAP) 6.x
- JBoss Enterprise Application Platform (EAP) 5.1 or higher w/ CXF
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
