예제 #1
0
  public String doNothing() {
    URL url;
    QName qualifiedName;
    try {
      url = new URL("http://localhost:8888/wsdl/ElectronicShopService.wsdl");
      qualifiedName = new QName("http://serverCommunication.controller/", "ElectronicShopService");
      Service service = Service.create(url, qualifiedName);
      ElectronicShopInterface eshop = service.getPort(ElectronicShopInterface.class);
      local.setTestBool(
          eshop.createOrUpdateWarrantyConditions("electronicShop1", "testID", 11, 9999, "eha eha"));
      local.setTestStringShort(eshop.toString());
    } catch (MalformedURLException e) {
      e.printStackTrace();
    }

    return null;
    // return "../index.jsf?faces-redirect=true";
  }
예제 #2
0
 public void setTestFloat(float testFloat) {
   local.setTestFloat(testFloat);
 }
예제 #3
0
 public float getTestFloat() {
   return local.getTestFloat();
 }
예제 #4
0
 public void setTestByte(byte testByte) {
   local.setTestByte(testByte);
 }
예제 #5
0
 public void setTestDate(Date testDate) {
   local.setTestDate(testDate);
 }
예제 #6
0
 public boolean isTestBool() {
   return local.isTestBool();
 }
예제 #7
0
 public String getTestStringShort() {
   return local.getTestStringShort();
 }
예제 #8
0
 public String getTestStringLong() {
   return local.getTestStringLong();
 }
예제 #9
0
 public long getTestLong() {
   return local.getTestLong();
 }
예제 #10
0
 public void setTestInteger(int testInteger) {
   local.setTestInteger(testInteger);
 }
예제 #11
0
 public int getTestInteger() {
   return local.getTestInteger();
 }
예제 #12
0
 public String readFirst() {
   local.readFirst();
   return null;
 }
예제 #13
0
 public String saveIt() {
   local.save();
   saveOK = true;
   return null;
 }
예제 #14
0
 public double getTestDouble() {
   return local.getTestDouble();
 }
예제 #15
0
 public void setTestLong(long testLong) {
   local.setTestLong(testLong);
 }
예제 #16
0
 public void setTestDouble(double testDouble) {
   local.setTestDouble(testDouble);
 }
예제 #17
0
 public short getTestShort() {
   return local.getTestShort();
 }
예제 #18
0
 public void setTestStringLong(String testStringLong) {
   local.setTestStringLong(testStringLong);
 }
예제 #19
0
 public void setTestShort(short testShort) {
   local.setTestShort(testShort);
 }
예제 #20
0
 public void setTestStringShort(String testStringShort) {
   local.setTestStringShort(testStringShort);
 }
예제 #21
0
 public byte getTestByte() {
   return local.getTestByte();
 }
예제 #22
0
 public void setTestBool(boolean testBool) {
   local.setTestBool(testBool);
 }
예제 #23
0
 public Date getTestDate() {
   return local.getTestDate();
 }