Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

AX AIF WCF service issue

$
0
0

Hi,

I wrote a custom class in Dynamics AX 2012 R3. Created a service, service group based on the class.

Created an HTTP adapter inbound port with the service operation created above.

Checked the IIS and it is hosted correctly.

Used WCFTestClient to test this service. Perfect!!! It all works well.

Here comes the problem. I gave this URL to other systems (java based) to consume and test. When the other system and testing tools like Soap UI tried to consume hit the service, it results in an 401 unauthorized error. (In this case I am using basicHttpBinding)

HTTP/1.1 401 Unauthorized
Server: Microsoft-IIS/8.5
WWW-Authenticate: NTLM
WWW-Authenticate: Negotiate
WWW-Authenticate: Basic realm

To resolve it, I tried to use WsHttpBinding with no authentication. Then this request pass through IIS but cannot be able to reach the AX, as AX doesn't allow the request without credentials.

How to resolve this integration issue? pls help


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>