* the web service client.
* @return
*/
@SuppressWarnings("unused")
private WSClientBean createWSClient(TestbedServiceTemplate serviceTemplate, ServiceOperation selOperation) throws ServiceInvocationException{
WSClientBean wsclient = initWSClient();
wsclient.setWsdlURI(serviceTemplate.getEndpoint());
String message = wsclient.analyzeWsdl();
if(!message.equals("success-analyze")){
log.error("creating WSClientbean error-analzye");
throw new ServiceInvocationException("error-analyze");
}
wsclient.setServiceSelectItemValue(serviceTemplate.getName());
wsclient.setOperationSelectItemValue(selOperation.getName());
return wsclient;
}