Académique Documents
Professionnel Documents
Culture Documents
// Get Method
/** try { // Call Web Service Operation
_30._221._225._10._8060.enterprise.fscm.service.ci_test_emp_ci.CITESTEMP
CI service = new _30._221._225._10._8060.enterprise.fscm.service.ci_test_emp_ci.
CITESTEMPCI();
_30._221._225._10._8060.enterprise.fscm.service.ci_test_emp_ci.CITESTEMP
CIPortType port = service.getCITESTEMPCIPort();
// TODO initialize WS operation arguments here
_30._221._225._10._8060.enterprise.fscm.schema.m818618.GetCompIntfcTESTE
MPCITypeShape parameter = new _30._221._225._10._8060.enterprise.fscm.schema.m81
8618.GetCompIntfcTESTEMPCITypeShape();
// TODO process result here
System.out.println("Starting Get Method");
_30._221._225._10._8060.enterprise.fscm.schema.m818618.EMPLIDTypeShape E
mplid = new _30._221._225._10._8060.enterprise.fscm.schema.m818618.EMPLIDTypeSha
pe();
Emplid.setValue("C0001");
parameter.setEMPLID(Emplid);
_30._221._225._10._8060.enterprise.fscm.schema.m915423.GetCompIntfcTESTE
MPCIResponseTypeShape result = port.get(parameter);
System.out.println("Result = " + result);
System.out.println("Detail Values");
List ls = result.getTESTEMPDTL();
Iterator li = ls.iterator();
while (li.hasNext()) {
_30._221._225._10._8060.enterprise.fscm.schema.m915423.TESTEMPDTLTypeSha
pe Empdtl = (_30._221._225._10._8060.enterprise.fscm.schema.m915423.TESTEMPDTLTy
peShape) li.next();
System.out.println("Effective Date:" + Empdtl.getEFFDT().getValue().getY
ear() + "/" + Empdtl.getEFFDT().getValue().getMonth() + "/" + Empdtl.getEFFDT().
getValue().getDay());
System.out.println("Effective Status:" + Empdtl.getEFFSTATUS().getValue(
));
System.out.println("Address1:" + Empdtl.getEMPLOYERADDR1().getValue());
System.out.println("Address2:" + Empdtl.getEMPLOYERADDR2().getValue());
}
} catch (Exception ex) {
// TODO handle custom exceptions here m769270
}
*/