Search in sources :

Example 1 with ArkManagerService

use of fr.mom.arkeo.soap.ArkManagerService in project opentheso by miledrousset.

the class ArkClient method createArk.

private static Ark createArk(Account account, Ark ark) {
    URL wsdlURL = ArkManagerService.WSDL_LOCATION;
    ArkManagerService ss = new ArkManagerService(wsdlURL, ARKMANAGER_SERVICE_NAME);
    ArkManager arkManager = ss.getArkManagerPort();
    Ark returnedArk = arkManager.createArk(account, ark);
    return returnedArk;
}
Also used : ArkManagerService(fr.mom.arkeo.soap.ArkManagerService) Ark(fr.mom.arkeo.soap.Ark) ArkManager(fr.mom.arkeo.soap.ArkManager) URL(java.net.URL)

Example 2 with ArkManagerService

use of fr.mom.arkeo.soap.ArkManagerService in project opentheso by miledrousset.

the class ArkClient method getArk.

private static Ark getArk(Account account, String arkId) {
    URL wsdlURL = ArkManagerService.WSDL_LOCATION;
    ArkManagerService ss = new ArkManagerService(wsdlURL, ARKMANAGER_SERVICE_NAME);
    ArkManager arkManager = ss.getArkManagerPort();
    Ark returnedArk = arkManager.getArk(account, arkId);
    return returnedArk;
}
Also used : ArkManagerService(fr.mom.arkeo.soap.ArkManagerService) Ark(fr.mom.arkeo.soap.Ark) ArkManager(fr.mom.arkeo.soap.ArkManager) URL(java.net.URL)

Example 3 with ArkManagerService

use of fr.mom.arkeo.soap.ArkManagerService in project opentheso by miledrousset.

the class ArkClient method updateArk.

private static Ark updateArk(Account account, Ark ark) {
    URL wsdlURL = ArkManagerService.WSDL_LOCATION;
    ArkManagerService ss = new ArkManagerService(wsdlURL, ARKMANAGER_SERVICE_NAME);
    ArkManager arkManager = ss.getArkManagerPort();
    Ark returnedArk = arkManager.updateArk(account, ark);
    return returnedArk;
}
Also used : ArkManagerService(fr.mom.arkeo.soap.ArkManagerService) Ark(fr.mom.arkeo.soap.Ark) ArkManager(fr.mom.arkeo.soap.ArkManager) URL(java.net.URL)

Aggregations

Ark (fr.mom.arkeo.soap.Ark)3 ArkManager (fr.mom.arkeo.soap.ArkManager)3 ArkManagerService (fr.mom.arkeo.soap.ArkManagerService)3 URL (java.net.URL)3