public void executeWorkItem(WorkItem workItem, WorkItemManager manager) { CustomerService cs = new CustomerService(); CustomerType ct = new CustomerType(); ct.setId((String) workItem.getParameter("in_customer_email")); PersonType pt = new PersonType(); pt.setFirstName((String) workItem.getParameter("in_customer_name")); pt.setLastName((String) workItem.getParameter("in_customer_lastname")); pt.setAge(new BigInteger((String) workItem.getParameter("in_customer_age"))); AddressType address = new AddressType(); address.setStreet((String) workItem.getParameter("in_customer_address")); pt.setAddress(address); ct.setPerson(pt); cs.getCRMServicePTPort().create(ct); manager.completeWorkItem(workItem.getId(), null); }