Search in sources :

Example 1 with WSPutDataModel

use of com.amalto.workbench.webservices.WSPutDataModel in project tmdm-studio-se by Talend.

the class DataModelMainPage method doSave.

protected void doSave(WSDataModel wsObject) throws Exception {
    TMDMService port = Util.getMDMService(new URL(xobject.getEndpointAddress()), xobject.getUsername(), xobject.getPassword());
    port.putDataModel(new WSPutDataModel(wsObject));
    if (exAdapter != null) {
        exAdapter.doSave(port, wsObject.getName(), Messages.DataModelText);
    }
}
Also used : TMDMService(com.amalto.workbench.webservices.TMDMService) WSPutDataModel(com.amalto.workbench.webservices.WSPutDataModel) URL(java.net.URL)

Aggregations

TMDMService (com.amalto.workbench.webservices.TMDMService)1 WSPutDataModel (com.amalto.workbench.webservices.WSPutDataModel)1 URL (java.net.URL)1