CRM On Demand - Web Services Integration (MOSC)

MOSC Banner

Issue with AccesProfileReadAll. Client error.

I am trying to execute a AccessProfileReadAll and I'm getting the error "Client".

My other web services are working fine, so I know our session pooling is working.

Code:

    [WebMethod]
    public AccessProfile.AccessProfileData[] AccessProfileOD()
    {
        AccessProfile.AccessProfileService _ws = new AccessProfile.AccessProfileService();

        AccessProfile.AccessProfileReadAll_Input input = new AccessProfile.AccessProfileReadAll_Input();
        AccessProfile.AccessProfileReadAll_Output output = new AccessProfile.AccessProfileReadAll_Output();

        string sessionId = LoginDefault();
        if (_useProxy) _ws.Proxy = new System.Net.WebProxy("proxyserveraddress", 8989);

        try
        {
            _ws.Url = GetWSURL(sessionId);
           
            output = _ws.AccessProfileReadAll(input);
        }
        catch (Exception ex)
        {
            LogIt("AccessProfile->ERROR->" + ex.Message.ToString());
        }
        finally
        {
            Logoff(ConfigurationManager.AppSettings["CRMLoginURL"], sessionId);
        }

        return output.ListOfAccessProfile;

    }

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center