public Operation getOperation() {
if (operation == null && operationName != null) {
PortType portType = getPortType();
if (portType != null) {
// Create an operation proxy with the deserialized operation name.
operation = new OperationProxy(eResource().getURI(), portType, operationName);
operationName = null;
} else {
portType = new PortTypeProxy(eResource().getURI(), new QName("null"));
operation = new OperationProxy(eResource().getURI(), portType, operationName);
}
}
return getOperationGen();
}