2 Replies Latest reply on Mar 7, 2007 4:36 PM by natebowler

    Ability for wstools to ignore properties of superclasses

    natebowler

      For methods that are the get/set pairs for transient fields, is there any way to configure wstools (or beans, for that matter) so that certain properties are ignored.

      I noticed that at the very least, the java.lang.Object.getClass method is ignored. How can I get it to ignore other properties?

      If I modify the WSDL manually, will this cause any other problems for serialization?

      Thanks,

      Nate

        • 1. Re: Ability for wstools to ignore properties of superclasses
          natebowler

          OK. Using BeanInfo I can get wstools to ignore props that I don't want published to the WSDL.

          However, I'm still getting duplicate types added to the WSDL and I believe it is because it doesn't honor the transient keyword on declared fields. Doens't JAX-RPC state that transient fields will be ignored? Or, was this just a behavior of the JWSDP toolset?

          • 2. Re: Ability for wstools to ignore properties of superclasses
            natebowler

            It looks like the problem I had was related to not using my package name in the wstools-config.xml file. The "type-namespace" attribute didn't match the package name of my data objects.

            It looks like it needs to be the form type-namespace="http://<package name in reverse order>/jaws". Otherwise, wstools will create this namespace which will contain duplicate complextypes in the WSDL.