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, tools, and much more.