WCF Service

NET-CUNNotificaciones-EM

WCF service for CUN notification and email management

1
Endpoints
1
Internal Funcs
1
SQL Statements

Last commit: 2025-09-02

🔗 Cross-service similarity detected

🔁 Similar SQL queries found in other services:
INSERT INTO PRL700 (PR04NUMACTPLAN ,PRL7RESULTADOIA , PRL7FECEVAL ,PRL7VERSIONIA) VALUES (…
→ also in NET-WS-Informes

📋 Endpoints Overview (1)

Operation ⇅Verb Returns ⇅Parameters SQLs ⇅DescriptionFlags
GuardarInformacionIA SOAP RespBool datosIA 1

🔌 Endpoint Details

GuardarInformacionIA

SOAP

📥 Input Parameters

DatosIAdatosIA

📤 Return Type

RespBool
PRL700

🗄 SQL Queries (1)

INSERT INTO PRL700 (PR04NUMACTPLAN ,PRL7RESULTADOIA , PRL7FECEVAL ,PRL7VERSIONIA) VALUES (:numActPlan,:resultadoIA, TO_DATE(:fechaEvalucaion, 'YYYY-MM-DD HH24:MI:SS'), :versionAI)
PRL700

🔗 External Calls / Used By

Oracle DB

💬 Logic / Comments

No comments
📝 Suggested XML doc comment
/// <summary>
/// Executes guardar informacion i a
/// </summary>
/// <param name="datosIA">TODO: describe datosIA</param>
/// <returns>RespBool</returns>
🧪 Suggested unit test stubs (MSTest)
[TestMethod]
        public void Test_GuardarInformacionIA_ReturnsSuccess()
        {
            // Arrange
            // NOTE: requires Oracle DB connection — configure App.config or mock OracleConnection
            // NOTE: external dependency detected — consider mocking: Oracle DB
            var client = new WSCUNNotificaciones();
            var datosIA = null;

            // Act
            var result = client.GuardarInformacionIA(datosIA);

            // Assert
            Assert.IsTrue(result.Exito);
        }

        [TestMethod]
        public void Test_GuardarInformacionIA_WithInvalidInput_ReturnsFailure()
        {
            // Arrange
            var client = new WSCUNNotificaciones();
            var datosIA = -1;

            // Act
            var result = client.GuardarInformacionIA(datosIA);

            // Assert
            Assert.IsFalse(result?.Exito ?? true);
        }

⚙ Internal Functions (1)

Helper methods inside the service implementation — not part of the public contract.

Public (1)

publicvoidDoWork()

🗄 All SQL Queries (1)

FileQueryTables
CUNNotificaciones-EM.svc.cs
INSERT INTO PRL700 (PR04NUMACTPLAN ,PRL7RESULTADOIA , PRL7FECEVAL ,PRL7VERSIONIA) VALUES (:numActPlan,:resultadoIA, TO_DATE(:fechaEvalucaion, 'YYYY-MM-DD HH24:MI:SS'), :versionAI)
PRL700

🧪 Tests

No formal unit tests found. Test project uses console-based manual invocation of each operation. See Suggested Test Stubs in each endpoint card above.