3 Replies Latest reply on Nov 28, 2005 6:00 AM by Thomas Diesler

    How to hide an element in WSDL ? please help.

    chahua wang Newbie

      Hi folks,
      I read an example.

      
      public interface Organization extends Remote
      {
       Person jobRequest(Person target) throws RemoteException;
      }
      
      public class Person
      {
       private String name;
       private int age;
      
       public Person()
       {
       }
      
       public Person(String name, int age)
       {
       this.age = age;
       this.name = name;
       }
      
       public int getAge()
       {
       return age;
       }
      
       public void setAge(int age)
       {
       this.age = age;
       }
      
       public String getName()
       {
       return name;
       }
      
       public void setName(String name)
       {
       this.name = name;
       }
      
       }
      
      


      But I want hide age or name element in WSDL file. How to do it?

      Thank you!

      Chwang