public static OperationType getCorbaOperationType(String opName,
Bus bus,
EndpointReferenceType endpoint) {
try {
WSDLHelper helper = new WSDLHelper();
Port port = EndpointReferenceUtils.getPort(bus.getWSDLManager(), endpoint);
BindingOperation bindingOp = helper.getBindingOperation(port.getBinding(), opName);
OperationType operation = null;
List extElements = bindingOp.getExtensibilityElements();
for (int i = 0; i < extElements.size(); ++i) {
Object e = extElements.get(i);