0 回覆 最後回覆日期:Jun 22, 2012 12:39 PM,建立者:458602

    jdev 10.1.2 開發 web service stub 輸入參數 array of object 參數無效

    458602
      dear:
      用 jdv 10.1.2 gen web service stub set object 無資料輸入如何解決
      sample:

      public class testDAO{

      privte String test1;
      privte String test2;

      publlic String getTest1(){
      return test1;
      }

      publlic String setTest1(String test1){
      this.test1 = test1;
      }

      publlic String getTest1(){
      return test1;
      }

      publlic String setTest2(String test2){
      this.test2 = test2;
      }


      public class Teststub{
      ......
      .. main{
      Teststub stub = new Teststub();
      testDAO[] t = new testDAO[1];
      t[0] = new testDAO();
      t[0].setTest1("test1");
      t[0].setTest1("test2");

      RestDAO rset = stub .testPoxyT(t);

      }

      ......
      }

      出現無資料輸入,請問那錯