Ejemplo n.º 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";
  }
Ejemplo n.º 2
0
 public void setTestBool(boolean testBool) {
   local.setTestBool(testBool);
 }