Hello there,
new beginner in JBOSSWS.
I went through the Getting started guide release 5 from JBOSS and developed a Small web service.
Details:
EJB:
I have an entity bean that selects data from a view in HSQLDB with columns as Contract, Newdate, Company (all varchar)
On top of entity bean i have a session bean that i use to access all records in a view (findAll()) using EJB ql.
I have deployed the ejb - works fine
Now i try to develop a webservice to access the VIEW (using the startup guide). Now when i run the wstool the WSDL file i get has elemnts in Ascending order of the name
i.e
element name="company" nillable="true" type="string"
element name="contract" nillable="true" type="string"
element name="newdate" nillable="true" type="string"
whereas i was expecting it to be in order same as column in the view
element name="contract" nillable="true" type="string"
element name="newdate" nillable="true" type="string"
element name="company" nillable="true" type="string"
deployment of ws goes fine
Now when i run my client and try to print contract, i get company name which mean that data is correct but element name is wrong
Help needed what should i do to correct my problem so that the data for contract comes under element contract?
/Amit