Hello, this must be an easy question to some of you....
i have an EJB 3.0 / EJB 2.1 application that is packed in .ejb3 / .jar archives. Some of EJB 3.0 classes are webservice endpoints. When i deploy, JBoss generates and publishes a WSDL file that differs from the WSDL file generated by WSGEN.
JBoss generates in the .xsd file:
<complexType name="CustomerVO"> <sequence> <element name="customerID" nillable="true" type="int"/> <element name="emailAddress" nillable="true" type="string"/> <element name="firstName" nillable="true" type="string"/> <element name="lastName" nillable="true" type="string"/> <element name="primaryKey" nillable="true" type="int"/> <element name="pwd" nillable="true" type="string"/> <element name="userName" nillable="true" type="string"/> </sequence> </complexType>
oh, i must add that the mentioned marked line is
within the published wsdl file.
This line makes no sense to me as the ValueObject has no attribute called "primaryKey". So i wanted to publish my own generated wsdl file... but somehow this doesnt work.