temp = createTempFile(requestResponse);
if (temp == null) {
return;
}
WSDLTab wsdltab = tab.createTab();
WsdlParser parser = WsdlParser.parse(temp.toURI().toString());
try {
temp.delete();
} catch (Exception e) {
System.out.println("Temp file could not be deleted");
}
List<QName> bindings = parser.getBindings();
SoapBuilder builder;
List<SoapOperation> operations;
SoapOperation operation;
String bindingName;
String operationName;
byte[] xmlRequest;
List<String> endpoints;
for (QName i : bindings) {
bindingName = i.getLocalPart();
builder = parser.binding().localPart(bindingName).builder();
operations = builder.getOperations();
for (SoapOperation j : operations) {
operationName = j.getOperationName();
operation = builder.operation().name(operationName).find();
xmlRequest = createRequest(requestResponse, builder, operation);