1 Reply Latest reply on Jan 30, 2004 8:30 AM by natebowler

    web services custom types with JBoss-Net

    natebowler

      Does anybody know if it is possible to specify which bean methods to expose in custom types?

      I've got a bunch of Beans that are in my SOAP method signatures. I'm generating web-services.xml via XDoclet. Everything is working great. However, the only problem is that I don't want all the methods in my bean to be called during serialization. Only methods that have a get/set pair.

      Does anybody know if this is possible?

        • 1. Re: web services custom types with JBoss-Net
          natebowler

          Looking at the APache Axis docs,the Java2WSDL tool has a -x, --exclude option used to exclude certain methods. I need to be able to do this on my Beans.

          The JWSDP would only publish methods that have a get/set pair. Methods with only a "get", would not get published in the WSDL and would never be called during serialization.

          I would like to have methods in my Beans that are useful to server-side functions, but are not necessary for and not published for SOAP access.

          Anybody else have this issue? Is there a workaround? Is there an approach to making this work? I'll write the code.

          Nate