We have currently developed an application using .net,but the challenge we are currently facing is, we are unable to connect it to the aras environment.It would be immensely helpful to us if we get a particular tutorial or guidance in this regard.
You can use IOM.HTTPServerConnection class for example.
Code samples are here:
aras.com/Community/forums/p/200/528.aspx
aras.com/Community/forums/p/232/852.aspx
SamsAn.Original Mind Any Level Innovator Solutions Free-Lancer, http://sites.google.com/site/caraacc
I would like to refine my query ,
Is there any Tutorial available to show how to call .net application into Aras environment.
Do we use an XML for connection in to aras.?
The answers i obtaining are usually pertaining to send from aras to .net.
But to be precise i want to move from " .net to ARas".
Please help in this regard ASAP.
Hello Sathya,
You have 3 choices for connection from a .NET application to Aras Innovator. meaning that your .NET program can Get data from Aras Innovator or Save data into Aras Innovator.
1) use the Aras IOM.Dll in your Visual Studio project. This is very simple. The IOM implements the whole API and you can do everything (all functions in the standard client also use the IOM). For example code on how to use the IOM.DLL in a Visual Studio project try this Comunity Solution:
http://www.aras.com/communityProjects/default.aspx?projectid=7BCA7AE616B54952B13075B4CCE86935
2) use an xmlhttp object to send SOAP messages directly to the InnovatorServer.aspx page on the server. I use this technique mostly when connecting the Aras web site to our Innovator installation MyInnovator.com This Community project is a NT Service that runs and batchloads data into Innovator, it uses the SOAP message technique as an example.
http://www.aras.com/communityProjects/default.aspx?projectid=3FE54488A7664B8DB0FB34D8CDCA49D4
3) If you are running Innovator v9.1.0 you can create application specific Web Services inside the Innovator Administration menus, and then publish these Web Services as a WSDL. Inside Visual Studio, you then point to the web reference, and VS will build a proxy for you to use in you .NET application for easy data reading and writing to the Innovator Server.
Which is the best solution?? Depends on your programming preference and the job you are working on. I use mostly #1 and #2, because I am very familar with AML (Aras XML tag set), and these two connection techniques give us the most direct access.
Peter
Hi,
I'm trying to connect to Innovator from an Office Add-in (csharp). I have looked at the example client mentioned above and as far as I can see my code is essentially identical but fails to authenticate.
I have confirmed that the server and database are valid and have logged in using the example client using the user and password.
The code is being run from a DLL launched as a result of Excel starting. Does this change anything?
Thanks,
Brian.
Don't worry. It was not passing the password as an MD5 encrypted string. I thought that I had tested that but it seems I was wrong.
I have put the Innovator.ScalcMD5 call in and now it connects.