it is possible to integrating Microsoft Dynamics AX with Web API, if its is possible please send how to integrate and what is best way to integrating with Microsoft Dynamics AX (i.e Web API, WCF or any other is best).
Thanks in advance.
I would create a C# class library, which would act as a wrapper/broker for the WebAPI. You can provide the class library with the URL to the Web API as a Service Reference, which would then discover the webmethods exposed by the API. Once added to the AOT, you would be able to access these as strongly typed methods / types.
For a tutorial on how to do this, see the example on adding Bing search:
Walkthrough: Calling an External Web Service from X++ [AX2012]
Related
I am using the AX 2012 R2 version.
I have read some forums and blogs related to Microsoft Dynamics AX, I haven't found any help, but I know someone maybe has already done it.
So I am trying to figure out how to create a legal entity in Microsoft Dynamics AX(2012 R2) using REST API. Are there any REST APIs available that can allow me to put my data into AX to create a legal entity?
Why do I want to do this?
As we are building a CRM tool where a user can set up his details using forms and that will be submitted to our system. Our system will trigger the API that can create all the necessary things that we need to do in AX manually. In short, I am trying to automate the AX process from our system.
Any help will be appreciated!
Thanks.
You can automate any manual process in AX and then expose it as a SOAP-based custom service. To call the service from the Internet, you would have to publish it through IIS.
If you needed a JSON-based service, you could create a Logic App with the "When HTTP request is received" trigger and use your exposed AX service from there via HTTP action.
I came across this terminology while working with Alfresco. Is web script a type of RESTFul web services?
Web scripts provide a unique way to interact with the Alfresco repository. With help of web script one can search or access contents within alfresco repository. It's basically a RESTful web service. Alfresco provides REST architecture based framework for web script. It is a simple service bound to a URI and based on HTTP.
For more details
I want to create an appointment on a Public Calendar in Exchange 2010 using an ASP.Net 4.5 WebForm and C#. I've found some resources on EWS and SOAP, but I don't know how to get started creating it. I've never worked with XML files before and don't know how to send them to the Exchange server from my ASP.Net app.
Are there any simple examples of this?
You don't need a huge knowledge of SOAP/XML when using the EWS Managed API - http://msdn.microsoft.com/en-us/library/office/dd633709(v=exchg.80).aspx
The link above provides example of how to create a link to the exchange service, as well as create and edit appointments.
It's a good starting block.
We have a classic ASP.NET web application and a SOAP based API built on it. We are planning to implement oAuth2 authorization into it to implement a service provider that can create tokens, persist them and do evaluation.
I found few examples using DotNetOpenAuth , Azure access control service but all of them are based on MVC. Any pointers on how we can implement on oAuth2 on classic ASP.NET web API?
There are quite a few examples of using DotNetOpenAuth with asp.net applications. For instance:
http://www.nuget.org/packages/DotNetOpenAuth.AspNet
http://blogs.msdn.com/b/webdev/archive/2012/09/12/integrate-openauth-openid-with-your-existing-asp-net-application-using-universal-providers.aspx
Edit
So unfortunately I don't know a direct example with asp.net.
The OAuth1 sample might help in giving the basic idea of how to integrate DotNetOpenAuth as a service provider into an ASP.NET application -
https://github.com/DotNetOpenAuth/DotNetOpenAuth/tree/master/samples/OAuthServiceProvider
And I think that using that as a base, and combining with working with the OAuth2.AuthorizationServer (as the oauth2 samples show, like https://github.com/DotNetOpenAuth/DotNetOpenAuth/tree/master/samples/OAuth2ProtectedWebApi), is a good reference point.
I want to create a simple ASP.NET MVC RESTful API, but I want to create it on Azure.
Any recommendations, tips & tricks, or examples on how to do this?
You may want to look out for this book: Building RESTful Web Applications with Microsoft Azure when it is released.
Also Effective REST Services via .NET has a great section on REST with Azure.