Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Parsing admi.004.001.01 #55

Closed
graghsaka opened this issue Jul 21, 2022 · 1 comment
Closed

Error in Parsing admi.004.001.01 #55

graghsaka opened this issue Jul 21, 2022 · 1 comment
Assignees

Comments

@graghsaka
Copy link

graghsaka commented Jul 21, 2022

In admi.001.001.01 there's a xml tag "SysEvtNtfnV01", but theres no suppor for this in the library. I could only found SystemEventNotificatioV02 class not V01 class. Is there are any other way to parse tag.

@ptorres-prowide
Copy link
Contributor

ptorres-prowide commented Sep 2, 2022

Hello graghsaka, could you share an example of the msg that you're trying to parse?
Also check this two examples regarding admi.004.001.01 and admi.004.001.02 based on the xsd message definitions.

MxAdmi00400101 admi = new MxAdmi00400101();
Admi00400101 admi00400101 = admi.getAdmi00400101();
Event1 evtInf = admi00400101.getEvtInf();
String evtCd = evtInf.getEvtCd();
String evtDesc = evtInf.getEvtDesc();
List evtParam = evtInf.getEvtParam();
XMLGregorianCalendar evtTm = evtInf.getEvtTm();

MxAdmi00400102 admi2 = new MxAdmi00400102();
SystemEventNotificationV02 sysEvtNtfctn = admi2.getSysEvtNtfctn();
Event2 evtInf2 = sysEvtNtfctn.getEvtInf();
String evtCd2 = evtInf2.getEvtCd();
String evtDesc2 = evtInf2.getEvtDesc();
List evtParam2 = evtInf2.getEvtParam();
XMLGregorianCalendar evtTm2 = evtInf2.getEvtTm();

Thank you
Regards

@sync-by-unito sync-by-unito bot closed this as completed Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants