0 Replies Latest reply on Mar 2, 2010 8:40 AM by Elias Alves

    JBossws - parameters required - help

    Elias Alves Newbie

      I'm developing a web service using jbossws, but i can't find a way to make the following parameters (ip, equipamento, comandos) to be required when the wsdl is generated


      public class Bilhete {


          public String[] executar(@WebParam(name="ip") String ip,
                                  @WebParam(name="equipamento")String equipamento,
                                  @WebParam(name="comando")String[] comandos){


      the parameters in the wsdl appear minOccurs="0" instead minOcurrs="1", but I would like to find a way to set up without having to edit manually the wsdl.

      i'm using jboss-4.2.3 jdk6