/* * Copyright (c) 2006-2007 Massachusetts General Hospital * All rights reserved. This program and the accompanying materials * are made available under the terms of the i2b2 Software License v1.0 * which accompanies this distribution. * * Contributors: * Rajesh Kuttan */ package edu.harvard.i2b2.workplace.delegate.crc; import org.apache.axis2.AxisFault; import org.apache.axis2.client.ServiceClient; public class CRCServiceClient { private static ServiceClient sender = null; private CRCServiceClient() { } public static ServiceClient getServiceClient() { if (sender == null) { try { sender = new ServiceClient(); } catch (AxisFault e) { // TODO Auto-generated catch block e.printStackTrace(); } } return sender; } }