"Declare available response/request namespaces in source/target expressions");
}
public void actionPerformed(ActionEvent e) {
try {
MockResult lastResult = getMockResponse().getMockResult();
String content = null;
if (lastResult == null) {
if (!UISupport.confirm("Missing last result, declare from default request instead?",
"Declare Namespaces")) {
return;
}
content = ((WsdlOperation) getMockResponse().getMockOperation().getOperation()).createRequest(true);
} else {
content = lastResult.getMockRequest().getRequestContent();
}
String path = getModelItem().getQuery();
if (path == null) {
path = "";