org.wso2.carbon.registry.profiles.stub.ProfilesAdminServiceStub Java Examples

The following examples show how to use org.wso2.carbon.registry.profiles.stub.ProfilesAdminServiceStub. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ProfilesAdminServiceClient.java    From micro-integrator with Apache License 2.0 5 votes vote down vote up
public ProfilesAdminServiceClient(String backEndUrl, String sessionCookie) throws RemoteException {
    this.endPoint = backEndUrl + serviceName;
    try {
        profilesAdminServiceStub = new ProfilesAdminServiceStub(endPoint);
    } catch (AxisFault axisFault) {
        log.error("Error on initializing listMetadataServiceStub : " + axisFault.getMessage());
        throw new RemoteException("Error on initializing listMetadataServiceStub : ", axisFault);
    }
    AuthenticateStub.authenticateStub(sessionCookie, profilesAdminServiceStub);
}
 
Example #2
Source File: ProfilesAdminServiceClient.java    From micro-integrator with Apache License 2.0 5 votes vote down vote up
public ProfilesAdminServiceClient(String backEndUrl, String userName, String password) throws RemoteException {
    this.endPoint = backEndUrl + serviceName;
    try {
        profilesAdminServiceStub = new ProfilesAdminServiceStub(endPoint);
    } catch (AxisFault axisFault) {
        log.error("Error on initializing listMetadataServiceStub : " + axisFault.getMessage());
        throw new RemoteException("Error on initializing listMetadataServiceStub : ", axisFault);
    }
    AuthenticateStub.authenticateStub(userName, password, profilesAdminServiceStub);
}
 
Example #3
Source File: ProfilesAdminServiceClient.java    From product-ei with Apache License 2.0 5 votes vote down vote up
public ProfilesAdminServiceClient(String backEndUrl, String sessionCookie)
        throws RemoteException {
    this.endPoint = backEndUrl + serviceName;
    try {
        profilesAdminServiceStub = new ProfilesAdminServiceStub(endPoint);
    } catch (AxisFault axisFault) {
        log.error("Error on initializing listMetadataServiceStub : " + axisFault.getMessage());
        throw new RemoteException("Error on initializing listMetadataServiceStub : ", axisFault);
    }
    AuthenticateStub.authenticateStub(sessionCookie, profilesAdminServiceStub);
}
 
Example #4
Source File: ProfilesAdminServiceClient.java    From product-ei with Apache License 2.0 5 votes vote down vote up
public ProfilesAdminServiceClient(String backEndUrl, String userName, String password)
        throws RemoteException {
    this.endPoint = backEndUrl + serviceName;
    try {
        profilesAdminServiceStub = new ProfilesAdminServiceStub(endPoint);
    } catch (AxisFault axisFault) {
        log.error("Error on initializing listMetadataServiceStub : " + axisFault.getMessage());
        throw new RemoteException("Error on initializing listMetadataServiceStub : ", axisFault);
    }
    AuthenticateStub.authenticateStub(userName, password, profilesAdminServiceStub);
}
 
Example #5
Source File: ProfilesAdminServiceClient.java    From product-es with Apache License 2.0 5 votes vote down vote up
public ProfilesAdminServiceClient(String backEndUrl, String sessionCookie)
        throws RemoteException {
    this.endPoint = backEndUrl + serviceName;
    try {
        profilesAdminServiceStub = new ProfilesAdminServiceStub(endPoint);
    } catch (AxisFault axisFault) {
        log.error("Error on initializing listMetadataServiceStub : " + axisFault.getMessage());
        throw new RemoteException("Error on initializing listMetadataServiceStub : ", axisFault);
    }
    AuthenticateStub.authenticateStub(sessionCookie, profilesAdminServiceStub);
}
 
Example #6
Source File: ProfilesAdminServiceClient.java    From product-es with Apache License 2.0 5 votes vote down vote up
public ProfilesAdminServiceClient(String backEndUrl, String userName, String password)
        throws RemoteException {
    this.endPoint = backEndUrl + serviceName;
    try {
        profilesAdminServiceStub = new ProfilesAdminServiceStub(endPoint);
    } catch (AxisFault axisFault) {
        log.error("Error on initializing listMetadataServiceStub : " + axisFault.getMessage());
        throw new RemoteException("Error on initializing listMetadataServiceStub : ", axisFault);
    }
    AuthenticateStub.authenticateStub(userName, password, profilesAdminServiceStub);
}