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