class ServiceInstanceWrapper {

    public ServiceProxy getTransportServiceProxy() throws ServiceProxyNotFoundException {
        ServiceProxy serviceProxy = null;
        for (ServiceProxy sp : serviceInstance.getServiceProxies()) {
            if (SERVICE_PROXY_TRANSPORT.equalsIgnoreCase(sp.getType())) {
                serviceProxy = sp;
                break;
            }
        }
        if (serviceProxy == null) {
            throw new ServiceProxyNotFoundException("Transport Service Proxy not found for service instance: "
                    + serviceInstance.getServiceInstanceId());
        }
        return serviceProxy;
    }

    public  ServiceInstanceWrapper(ServiceInstance serviceInstance);

}