return null;
}
}
private void getEndpointOROperationalLevelPolicy(WSEndpoint wse) {
PolicyMap pm = wse.getPolicyMap();
WSDLPort port = wse.getPort();
QName serviceName = port.getOwner().getName();
QName portName = port.getName();
PolicyMapKey endpointKey = PolicyMap.createWsdlEndpointScopeKey(serviceName, portName);
try {
ep = pm.getEndpointEffectivePolicy(endpointKey);
if (ep == null) {
for (WSDLBoundOperation operation : port.getBinding().getBindingOperations()) {
QName operationName = new QName(operation.getBoundPortType().getName().getNamespaceURI(),
operation.getName().getLocalPart());
PolicyMapKey operationKey = PolicyMap.createWsdlOperationScopeKey(serviceName, portName, operationName);
ep = pm.getOperationEffectivePolicy(operationKey);
if (ep != null) {
break;
}
}
}