1 Reply Latest reply: Feb 7, 2012 1:49 AM by r035198x RSS

    making web parameter as mandatory..in ejb3 webservice

    866853
      Hi All,

      I am working on Ejb 3.0 based webservice using jax-ws. I need to make the webparam of the webmethods as mandatory like we do by minoccurs=1 or nillable = false.. But i am not able to achieve this in my ejb3 webservice. please help me on this...


      TIA....
        • 1. Re: making web parameter as mandatory..in ejb3 webservice
          r035198x
          863850 wrote:
          Hi All,

          I am working on Ejb 3.0 based webservice using jax-ws. I need to make the webparam of the webmethods as mandatory like we do by minoccurs=1 or nillable = false.. But i am not able to achieve this in my ejb3 webservice. please help me on this...


          TIA....
          When your clients generate client classes for your WS they'll get interfaces that contain those parameters in the methods so I don't see why you feel that need to do anything.