imitchell - Wednesday, May 25, 2011 10:17 AM:
Hello All,
I have inherited an Aras based project from a retired co-worker.
I can see that he used IOM via C# and some AML via Java - both on the Aras box.
I can also see an attempt was started to use AML via php on a separate web server box.
So... three quick questions
I can't find the php example that has been referenced in this forum, is that example truly available?
Do folks typically use AML via php?
Are all operations/methods truly available via direct AML messages?
Thanks for your help.
Ian
PeterSchroer - Wednesday, May 25, 2011 11:25 AM:
Hi Ian - to interface with the Aras server, you have a choice: (1) use the IOM.dll or (2) create and manage your own XMLHTTP object, set the SOAP headers and XML payload. The IOM is just a convenience wrapper, you can do everything by working on the XML directly. I have used both techniques in different projects.
Yes - there is an AML with PHP example floating around. Our partners web sites (often built with PHP) are integrated with the Aras instance of Innovator to pull web site content. I can send you those samples if you email me directly [email protected]
Yes - 100% of all functions and methods and actions etc. can be accessed through AML. The server is a 100% web service. there is only one API, the Aras XML tag set (i.e. AML) gives you access to everything.
Peter
imitchell - Thursday, May 26, 2011 11:12 AM:
Hello Peter,
Thanks for your quick reply. We are proceeding.
Here's one more question that might help us get over the initial hump: When we try to access Aras remotely using SOAP/AML, we get a SOAP envelope response with a fault string stating: "The database is not available".
Is there a Aras configuration setting for remote access or is this indicating some other problem. We have been working to figure this out but have been unsuccessful so far.
Thanks,
Ian
PeterSchroer - Thursday, May 26, 2011 9:11 PM:
No special settings for a Remote connection, in fact, what you are attempting actually connects to the Server the same way the client does. Server treats requests from the Aras client and your code exactly the same way.
Are you setting the dbname property in the SOAP header?
Peter
imitchell - Wednesday, June 1, 2011 9:41 AM:
Is there an existing PHP version of the IOM class?
even - Wednesday, April 3, 2013 2:50 AM:
hello Peter.
can you give me the sample of Using AML from PHP to Aras Web Service
this's is my mail: [email protected]
thanks .