1 Reply Latest reply on Jan 24, 2008 4:41 AM by ropalka

    reg: return types

    extasy

      I want to have javabean as a return type and parameter type of my web service method instead of primitive types.

      Can any one tell me how that could be acheived and what are the things that I need to do for that?


      Babu

        • 1. Re: reg: return types
          ropalka

          Take a look to "Java Types To XML" chapter of JAXB specification.

          You can do it however you must annotate your method parameters and return types with javax.xml.bind.annotation.* annotations properly