1 Reply Latest reply on Nov 14, 2005 11:17 PM by Jason Greene

    How to show java.io.File , and hide a int element in WSDL?

    chahua wang Newbie

      Hi Folks,

      I have a DataObject, like this

      public class DataObject implements java.io.Serializable
      {
      pivate Integer commandKey;
      private File outputFile;

      public DataObject(){}

      public void setCommandKey(Integer aKey)
      {
      commandKey = aKey;
      }

      public Integer getCommandKey()
      {
      return commandKey;
      }

      public void setOutputFile(File aFile)
      {
      outputFile = aFile;
      }

      public File getOutputFile()
      {
      return outputFile;
      }

      }


      I use wscompile to generate WSDL file, but it can not show File element in WSDL? HOw can I do that.

      For commandKey element. I don't want to show this element in WSDL. How to do it? Thank you very much.

      Chwang