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"; }
public void setTestFloat(float testFloat) { local.setTestFloat(testFloat); }
public float getTestFloat() { return local.getTestFloat(); }
public void setTestByte(byte testByte) { local.setTestByte(testByte); }
public void setTestDate(Date testDate) { local.setTestDate(testDate); }
public boolean isTestBool() { return local.isTestBool(); }
public String getTestStringShort() { return local.getTestStringShort(); }
public String getTestStringLong() { return local.getTestStringLong(); }
public long getTestLong() { return local.getTestLong(); }
public void setTestInteger(int testInteger) { local.setTestInteger(testInteger); }
public int getTestInteger() { return local.getTestInteger(); }
public String readFirst() { local.readFirst(); return null; }
public String saveIt() { local.save(); saveOK = true; return null; }
public double getTestDouble() { return local.getTestDouble(); }
public void setTestLong(long testLong) { local.setTestLong(testLong); }
public void setTestDouble(double testDouble) { local.setTestDouble(testDouble); }
public short getTestShort() { return local.getTestShort(); }
public void setTestStringLong(String testStringLong) { local.setTestStringLong(testStringLong); }
public void setTestShort(short testShort) { local.setTestShort(testShort); }
public void setTestStringShort(String testStringShort) { local.setTestStringShort(testStringShort); }
public byte getTestByte() { return local.getTestByte(); }
public void setTestBool(boolean testBool) { local.setTestBool(testBool); }
public Date getTestDate() { return local.getTestDate(); }