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