...
Java Client Example
Code Block |
---|
System.out.println("\n=======================================translateFSOrganizations()================================"); List<FS2KFSOrganizationDetails> resultList18 = myBean.translateFSOrganizations(new String[][]{{"9","9030"}, {"9","9040"}, {"0","0000"}}); if (resultList18 != null) { for (Iterator i = resultList18.iterator(); i.hasNext();) { FS2KFSOrganizationDetails element = (FS2KFSOrganizationDetails)i.next(); System.out.println("SERVER UNIT TEST-Result List18: " + element.toString()); } } else { System.out.println("something bad happened...please check your query"); } |
...
translateFSDivisions(List of (fsLocationCode, fsDivsionCode))
...
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:translateFSDivisionsResponse xmlns:ns2="http://www.adcom.uci.edu"> <return> <fsHierarchyCode>1003</fsHierarchyCode> <fsHierarchyType>V</fsHierarchyType> <fsLocationCode>9</fsLocationCode> <kfsChartCode>IR</kfsChartCode> <kfsOrgCode>9801</kfsOrgCode> </return> <return> <fsHierarchyCode>1005</fsHierarchyCode>/fsHierarchyCode> <fsHierarchyType>V</fsHierarchyType> <fsLocationCode>9</fsLocationCode> <kfsChartCode>IR</kfsChartCode> <kfsOrgCode>9802</kfsOrgCode> </return> <fsHierarchyType>V</fsHierarchyType></ns2:translateFSDivisionsResponse> </soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
System.out.println("\n=======================================translateFSDivision()================================"); List<FS2KFSOrganizationDetails> resultList19 = myBean.translateFSDivisions(new String[][]{{"9","1003"}, {"9","1005"}, {"0","0000"}}); if <fsLocationCode>9</fsLocationCode> <kfsChartCode>IR</kfsChartCode> <kfsOrgCode>9802</kfsOrgCode> </return> </ns2:translateFSDivisionsResponse> </soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
(resultList19 != null) { for (Iterator i = resultList19.iterator(); i.hasNext();) { FS2KFSOrganizationDetails element = (FS2KFSOrganizationDetails)i.next(); System.out.println("SERVER UNIT TEST-Result List19: " + element.toString()); } } else { System.out.println("something bad happened...please check your query"); } |
...
translateFSSubDivisions(List of (fsLocationCode, fsSubDivisionCode))
...
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:translateFSSubDivisionsResponse xmlns:ns2="http://www.adcom.uci.edu"> <return> <fsHierarchyCode>1003</fsHierarchyCode> <fsHierarchyType>S</fsHierarchyType> <fsLocationCode>9</fsLocationCode> <kfsChartCode>IR</kfsChartCode> <kfsOrgCode>9001</kfsOrgCode> </return> <return> <fsHierarchyCode>1005</fsHierarchyCode> <fsHierarchyType>S</fsHierarchyType> <fsLocationCode>9</fsLocationCode> <kfsChartCode>IR</kfsChartCode> <return> <kfsOrgCode>9002</kfsOrgCode> <fsHierarchyCode>1005<</fsHierarchyCode>return> </ns2:translateFSSubDivisionsResponse> <fsHierarchyType>S</fsHierarchyType> <fsLocationCode>9</fsLocationCode> <kfsChartCode>IR</kfsChartCode> <kfsOrgCode>9002</kfsOrgCode> </return> </ns2:translateFSSubDivisionsResponse> </soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
</soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
System.out.println("\n=======================================translateFSSubDivision()================================");
List<FS2KFSOrganizationDetails> resultList20 = myBean.translateFSSubDivisions(new String[][]{{"9","1003"}, {"9","1005"}, {"0","0000"}});
if (resultList20 != null) {
for (Iterator i = resultList20.iterator(); i.hasNext();) {
FS2KFSOrganizationDetails element = (FS2KFSOrganizationDetails)i.next();
System.out.println("SERVER UNIT TEST-Result List20: " + element.toString());
}
} else {
System.out.println("something bad happened...please check your query");
} |
...
translateFSDepartments(List of (fsLocationCode, fsDepartmentCode))
...
Code Block |
---|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:translateFSDepartmentsResponse xmlns:ns2="http://www.adcom.uci.edu"> <return> <fsHierarchyCode>0003</fsHierarchyCode> <fsHierarchyType>D</fsHierarchyType> <fsLocationCode>9</fsLocationCode> <kfsChartCode>IR</kfsChartCode> <kfsOrgCode>0003</kfsOrgCode> </return> <return> <fsHierarchyCode>0302</fsHierarchyCode> <fsHierarchyType>D</fsHierarchyType> <fsLocationCode>9</fsLocationCode> <kfsChartCode>IR</kfsChartCode> <kfsOrgCode>0302</kfsOrgCode> </return> </ns2:translateFSDepartmentsResponse> <fsLocationCode>9</fsLocationCode> <kfsChartCode>IR</kfsChartCode> <kfsOrgCode>0302</kfsOrgCode> </return> </ns2:translateFSDepartmentsResponse> </soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
</soap:Body> </soap:Envelope> |
Java Client Example
Code Block |
---|
System.out.println("\n=======================================translateFSDepatment()================================");
List<FS2KFSOrganizationDetails> resultList21 = myBean.translateFSDepartments(new String[][]{{"9","0003"}, {"9","0302"}, {"0","0000"}});
if (resultList21 != null) {
for (Iterator i = resultList21.iterator(); i.hasNext();) {
FS2KFSOrganizationDetails element = (FS2KFSOrganizationDetails)i.next();
System.out.println("SERVER UNIT TEST-Result List21: " + element.toString());
}
} else {
System.out.println("something bad happened...please check your query");
} |
...