1 Reply Latest reply on Jun 21, 2006 9:57 AM by qpool.char

    WSDL generated at deploy time

    qpool.char

      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>


      Please note that the marked line doesnt exist in the ValueObject. I just dont know why it is generated... The result is that i have problems when i invoke methods that have the VO as parameter with a testclient. Anyway, WSGEN seems to generate the correct .xsd file. In this case, the marked line is missing.

      My Question: Since i have the WebService-Endpoints in the .ejb3 archive, where do i have to put the WSGEN-wsdl file? And how can i tell JBoss not to generate its own wsdl-file?

      I searched for it but only found answers regarding .war archives.

      thx for your time

        • 1. Re: WSDL generated at deploy time
          qpool.char

          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.