2 Replies Latest reply on Nov 19, 2007 7:04 AM by aroppone

    JBoss, JXB and NetBeans

    aroppone

      Hi!

      I'm using Netbeans 5.5 and JBoss 4.0. I'd like to make a web service and I've written XML Schemas (or it was already made) that descripes message contents (GetMatadataRequest and GetMetadataResponse).

      I know that there is a tool , XJC, that can "convert" those Schemas to Java classes. How can this be done in Netbeans 5.5 (I know that 6.0 has tutorial on it)? And can those classes be used in a web service running on JBoss 4.0?

      Could it be wise to manually convert those Schemas to WSDLs and then generate Java classes and web services automatically? Which is to best way?

      Waht comes to the security I read about that JBossWS and it security guidelines, but how are those done using Netbeans?

        • 1. Re: JBoss, JXB and NetBeans
          asoldano

           

          "aroppone" wrote:
          Hi!

          I'm using Netbeans 5.5 and JBoss 4.0. I'd like to make a web service and I've written XML Schemas (or it was already made) that descripes message contents (GetMatadataRequest and GetMetadataResponse).

          I know that there is a tool , XJC, that can "convert" those Schemas to Java classes. How can this be done in Netbeans 5.5 (I know that 6.0 has tutorial on it)? And can those classes be used in a web service running on JBoss 4.0?

          Could it be wise to manually convert those Schemas to WSDLs and then generate Java classes and web services automatically? Which is to best way?

          Waht comes to the security I read about that JBossWS and it security guidelines, but how are those done using Netbeans?

          Curently no netbeans specific tooling is available. Speaking of your issue with the given schema, I would link it to a simple manually-created wsdl and then consume this wsdl with wsconsume. See the top-down approach in the wiki documentation.

          • 2. Re: JBoss, JXB and NetBeans
            aroppone

            Thanks for your reply. I read that wiki topic and found it very confusing as it has been with JbOss all the time. Could you point a suitable tutorial that goes through createng web services and deploing them to JBoss with some IDE, or is there any?

            Regards Antti