Bill N
2010-01-28 19:40:52 UTC
I am developing a .NET app to access Dynamics GP Web services (VS 2005 +
GP10)
I run into this error trying to use GetEmployeebyKey:
System.Web.Services.Protocols.SoapException: Insufficient authorization to
perform this action. at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall) at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) at
RAC.Bill.TestingSharePointWS.DynamicsGPWebServices.DynamicsGP.GetEmployeeByKey(EmployeeKey
key, Context Context) in C:\VS2005\TestSPWebServices\Web
References\DynamicsGPWebServices\Reference.vb:line 1662 at
RAC.Bill.TestingSharePointWS.frmGPWeb.btnEmployee_Click(Object sender,
EventArgs e) in C:\VS2005\TestSPWebServices\frmGPWeb.vb:line 42
I was able to launch the GP Dynamics Security console. I assigned myself the
role of BDC admin, superuser, and HR Manager in order to test my web service
application but still getting permission error as above.
Can you please tell me how to set a role that has access/execute permissions
to all avaialble GP web services (or specific web services)?
Your help is greatly appricated
Bill
GP10)
I run into this error trying to use GetEmployeebyKey:
System.Web.Services.Protocols.SoapException: Insufficient authorization to
perform this action. at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean asyncCall) at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters) at
RAC.Bill.TestingSharePointWS.DynamicsGPWebServices.DynamicsGP.GetEmployeeByKey(EmployeeKey
key, Context Context) in C:\VS2005\TestSPWebServices\Web
References\DynamicsGPWebServices\Reference.vb:line 1662 at
RAC.Bill.TestingSharePointWS.frmGPWeb.btnEmployee_Click(Object sender,
EventArgs e) in C:\VS2005\TestSPWebServices\frmGPWeb.vb:line 42
I was able to launch the GP Dynamics Security console. I assigned myself the
role of BDC admin, superuser, and HR Manager in order to test my web service
application but still getting permission error as above.
Can you please tell me how to set a role that has access/execute permissions
to all avaialble GP web services (or specific web services)?
Your help is greatly appricated
Bill