super(messages.get("Title"), messages.get("Description"));
}
public void perform(WsdlProject project, Object param) {
RestUriDialogHandler dialogBuilder = new RestUriDialogHandler();
RestServiceBuilder serviceBuilder = new RestServiceBuilder();
XFormDialog dialog = dialogBuilder.buildDialog(messages);
while (dialog.show()) {
try {
String uri = dialogBuilder.getUri();
if (uri != null) {
serviceBuilder.createRestService(project, uri);
}
// If there is no exception or error we break out
break;
} catch (Exception ex) {