Quantcast
Viewing all articles
Browse latest Browse all 72043

AX2009: Consuming third party webservice trough x++: How to set client credentials

Hi there

May be you have read my problem modify endpoint configuration when using an external web service from inside AX (community.dynamics.com/.../105178.aspx). At this point thank you for the very appreciate help!

Now, I made a step forward and have adjusted the endpoint configuration to its need. There's only one problem left: How can I pass the client credentials (username and password) to the soapClient object?

Some further investigations showed up, that:

The soapClient in AX derives from Microsoft.Dynamics.IntegrationFramework.WebService.WebReferenceBase

.. while in VS it derives from ClientBase<TChannel>

.. and ClientBase<TChannel> is hosting the property ClientCredentials which I should populate in AX.

So, if there is a trick to set the client credentials in AX? I really hope there is ...


Viewing all articles
Browse latest Browse all 72043

Trending Articles