throw new IllegalStateException("Unsupported binding: " + bindingID);
RemoteConnection remotingConnection;
if (HTTPBinding.HTTP_BINDING.equals(bindingID))
{
remotingConnection = new HTTPProtocolConnection();
}
else
{
remotingConnection = new SOAPProtocolConnectionHTTP();
}