* Creates WS-Addressing pipe
*/
public Tube createWsaTube(Tube next) {
if (binding instanceof SOAPBinding && AddressingVersion.isEnabled(binding)) {
if(AddressingVersion.fromBinding(binding) == AddressingVersion.MEMBER) {
return new MemberSubmissionWsaServerTube(endpoint, wsdlModel, binding, next);
} else {
return new W3CWsaServerTube(endpoint, wsdlModel, binding, next);
}
} else
return next;