Discussion:
Insufficient authorization to perform this action - Dynamics GP Web Services
(too old to reply)
Bill N
2010-01-28 19:40:52 UTC
Permalink
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
c***@gmail.com
2018-09-27 12:39:58 UTC
Permalink
Post by Bill N
I am developing a .NET app to access Dynamics GP Web services (VS 2005 +
GP10)
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
Hi Bill,
I have started web services integration and I am facing the same error. Did you manage to resolve this? If so, how?

Many thanks

Loading...