web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How to configure dynamic Gp 2010 web service with C#.net ?

(0) ShareShare
ReportReport
Posted on by 115

Hi,

I configure the dynamic GP 2010 webservice , below mention is the app.config file 

<?xml version="1.0"?>
<configuration>
<configSections>
</configSections>
<startup><supportedRuntime version="v2.0.50727"/></startup><system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="GPWebService" />
</wsHttpBinding>
</bindings>
<client>
<endpoint address="http://abc:48620/Dynamics/GPService/GPService"
binding="wsHttpBinding" bindingConfiguration="GPWebService"
contract="GPWS2010.DynamicsGP" name="GPWebService">
<identity>
<userPrincipalName value="administrator@abc.com" />
</identity>
</endpoint>
</client>
</system.serviceModel>
</configuration>

I  have added webservice url ,userPrincipalName  and company ID as (1).

when i run the program it prompt me an error mention below ,

"An exception of type 'System.ServiceModel.Security.SecurityNegotiationException' occurred in mscorlib.dll but was not handled in user code

Additional information: The caller was not authenticated by the service. "

Please guide to get rid of this issue.

Thanks,

Ajay

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans