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

Not able to register a WCF service (into Reference folder in AOT) through BC.Net (code attached)

$
0
0

// connect to Dynamics AX

Axapta ax;

System.Net.NetworkCredential networkCredential = new System.Net.NetworkCredential();

networkCredential.UserName = "Administrator"; //Ax >> Administration >> Setup >> Security >> Business connector Proxy account field)

networkCredential.Password = "myPassword";

networkCredential.Domain = "myDoamin";

ax.LogonAs("Administrator", "myDoamin", networkCredential, "dat", "en-us", "01@DEV-PI-AX2009:2712", "");

axContainer = (AxaptaContainer)ax.CallStaticClassMethod("AifServiceReferenceManager", "generate", "http://myServerIP/myFolder/DynamicsAxIntegrationService.svc?wsdl", "myRegisteredServiceName", true);


Viewing all articles
Browse latest Browse all 73760

Trending Articles



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