{
createSoap11Binding(service, null, bindingId);
}
else if (t == null)
{
throw new XFireRuntimeException("Could not find binding " + bindingId );
}
else
{
throw new XFireRuntimeException("Binding " + bindingId + " is not a SoapTransport!");
}
}
for (Iterator itr = s12.iterator(); itr.hasNext();)
{
String bindingId = (String) itr.next();
Transport t = transportManager.getTransport(bindingId);
if (t instanceof SoapTransport)
{
createSoap12Binding(service, null, bindingId);
}
else if (t == null)
{
throw new XFireRuntimeException("Could not find binding " + bindingId );
}
else
{
throw new XFireRuntimeException("Binding " + bindingId + " is not a SoapTransport!");
}
}
}