@Override public void handle(final ActionEvent event) { operationList.getItems().removeAll(); for (String st : SoapUIUtil.getOperationName(wsdrlUrlTextField.getText().trim(), wireMockOptions)) { operationList.getItems().add(st); } for (String st : SoapUIUtil.getEndPoint(wsdrlUrlTextField.getText(), wireMockOptions)) { serviceEndPointUrl.setText(st); } }
@Override public void handle(final ActionEvent t) { soap.getRequesStub().setUrl(serviceEndPointUrl.getText()); soap.setSoapServiceWsdlUrl(wsdrlUrlTextField.getText()); soap.setSoapEndPointUrl(serviceEndPointUrl.getText()); soap.setRequestXml(requestTextArea.getText()); soap.setResponseXml(responseTextArea.getText()); soap.setLastUpdatedTimeStamp(Calendar.getInstance()); soap.setSoapOperationName(operationList.getSelectionModel().getSelectedItem()); soap.getResponseStub().setResponse(responseTextArea.getText()); soap.getRequesStub().setRequestMethod("POST"); }
@Override public void handle(final ActionEvent event) { @SuppressWarnings("unchecked") ComboBox<String> ls = (ComboBox<String>) event.getSource(); // ls.setCursor(new Cursor(Cursor.WAIT_CURSOR)); String selectedItem = ls.getSelectionModel().getSelectedItem(); System.out.println("The selected Item" + selectedItem); String str = wsdrlUrlTextField.getText(); requestTextArea.setText( SoapUIUtil.getServiceRequestString(str, selectedItem, wireMockOptions)); responseTextArea.setText( SoapUIUtil.getServiceResponseString(str, selectedItem, wireMockOptions)); }