Skip to content

Not getting proper model #41

Description

@Moonubanna

Hello All,

I am facing problem parsing this xml, after adding two new column by my back end developer i am not able to get this column inside array of model.

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing">env:Headerwsa:ActionGetCounterIdealTime</wsa:Action>wsa:MessageIDurn:db8c78d6-17e1-10-005056cfe</wsa:MessageID>wsa:ReplyTowsa:Addresshttp://www.w3.org/2005/08/addressing/anonymous</wsa:Address>wsa:ReferenceParameters<instra:tracking.ecid xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">005tStWnJb^27Us_oho2z000nkg</instra:tracking.ecid><instra:tracking.FlowEventId xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">1541691</instra:tracking.FlowEventId><instra:tracking.FlowId xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">189752</instra:tracking.FlowId><instra:tracking.CorrelationFlowId xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">0000OA2e2GXN5_vPP5iXbWY000JFB</instra:tracking.CorrelationFlowId><instra:tracking.quiescing.SCAEntityId xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">1234005</instra:tracking.quiescing.SCAEntityId></wsa:ReferenceParameters></wsa:ReplyTo>wsa:FaultTowsa:Addresshttp://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:FaultTo></env:Header>env:BodySUCCESS2022-08-05 16:48:332022-08-05 16:51:4900:034582883224846700771Finance_PSPraveen.Singh.Rajput</env:Body></env:Envelope>

WARN SERVING_MODEL {
"FromDate": "2022-08-05 16:48:33"
}
WARN SERVING_MODEL {
"FromDate": "2022-08-05 16:48:33",
"ToDate": "2022-08-05 16:51:49"
}
WARN SERVING_MODEL {
"FromDate": "2022-08-05 16:48:33",
"ServingTime": "00:03",
"ToDate": "2022-08-05 16:51:49"
}
WARN SERVING_MODEL {
"CounterNumber": "334",
"FromDate": "2022-08-05 16:48:33",
"ServingTime": "00:03",
"ToDate": "2022-08-05 16:51:49"
}
WARN SERVING_MODEL {
"CounterNumber": "334",
"FromDate": "2022-08-05 16:48:33",
"ServingTime": "00:03",
"ToDate": "2022-08-05 16:51:49",
"TokenID": "28688766"
}
WARN SERVING_MODEL {
"CounterNumber": "334",
"FromDate": "2022-08-05 16:48:33",
"ServingTime": "00:03",
"ToDate": "2022-08-05 16:51:49",
"Token": "702301",
"TokenID": "28688766"
}

  • Why bellow two new column 'Department' 'UserName' didn't add above model
    WARN SERVING_MODEL {
    "Department": "Finance_PS"
    }
    WARN SERVING_MODEL {
    "Department": "Finance_PS",
    "UserName": "Praveen.Singh.Rajput"
    }
  • Here you can see inside item object not showing 'Department' and 'UserName'
    WARN renderServingItem {
    "CounterNumber": "334",
    "FromDate": "2022-08-05 16:48:33",
    "ServingTime": "00:03",
    "ToDate": "2022-08-05 16:51:49",
    "Token": "702301",
    "TokenID": "28688766"
    }

Thank you all for advance please provide me solution and tell me what i am doing wrong.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions