Пример #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();
 }