* Creates a {@link Tube} that invokes protocol and logical handlers.
*/
public Tube createWsaTube(Tube next) {
if (binding instanceof SOAPBinding && AddressingVersion.isEnabled(binding) && wsdlModel!=null)
if(AddressingVersion.fromBinding(binding) == AddressingVersion.MEMBER) {
return new MemberSubmissionWsaClientTube(wsdlModel, binding, next);
} else {
return new W3CWsaClientTube(wsdlModel, binding, next);
}
else
return next;