* class to represent SOAP session with a JIRA
*/
public class JiraSoapServiceFactory {
public static JiraSoapService getJiraSoapService(URL url) {
JiraSoapServiceService serviceLocator = new JiraSoapServiceServiceLocator();
try {
return (url != null) ?
serviceLocator.getJirasoapserviceV2(url) :
serviceLocator.getJirasoapserviceV2();
} catch (ServiceException e) {
throw new RuntimeException("Unable to construct SOAP client to " + url, e);
}
}