3 Replies Latest reply on Jan 9, 2006 4:47 AM by Thomas Diesler

    JBoss 5 Alpha and J2EE 5

    Stephen Wang Newbie

      Hi, all.

      Previously, I have done ws (J2EE 1.4 compatible). Now, I need to change those service to Java EE 5, according to JSR 181, using annotations. But I'm still needing wsdl to be generated manully for some reason(though it is automatically generated). Previously, I used JWSDP to generate wsdl using wscompile. But I'm not sure JWSDP supports annotations. Is there anything like wscompile for JBoss(like wsgen in glassfish)?

      --
      Regards;
      Stephen

        • 1. Re: JBoss 5 Alpha and J2EE 5
          Jason Greene Master

          If you are trying out our new stack, we do dynamic generation on deployment. So all you have to do is put your annotated pojo in your war (or ejb) and deploy it.

          Take a look at the testcases in webservice/test/java/org/jboss/ws/jsr181/* for more info.

          -Jason

          • 2. Re: JBoss 5 Alpha and J2EE 5
            Stephen Wang Newbie

             

            "jason.greene@jboss.com" wrote:
            If you are trying out our new stack, we do dynamic generation on deployment. So all you have to do is put your annotated pojo in your war (or ejb) and deploy it.

            Take a look at the testcases in webservice/test/java/org/jboss/ws/jsr181/* for more info.

            -Jason


            Thanks for it.

            I did know that dynamic generation. But somehow I'm needing it to be generated by myself for other developers. (like we do wscompile in previous ws). Is there any tool? I found java2wsdl in axis package. But not sure, it supports annotations

            --
            Regards;
            Stephen


            • 3. Re: JBoss 5 Alpha and J2EE 5
              Thomas Diesler Master

              The upcomming jbossws release should contain such a tool. Is is called wstools. For now you will have to do with dynamic wsdl generation and copy the browser output to a file.