Hi,
I am trying to access the items in Innovator from my custom application, I am getting 'Request time out' error.My actual requirement is to upload and download files into vault. This has to be done from an external application.When I looked into IIS log for the InnovatorSolutions website I found HTTP 405 error.Please let me know where I have gone wrong? Is it not possible to access the Innovator objects from external applications?
This is what I did:I created a windows application in VS2005/C# and included IOM.dll file to the references of my application.Included namespaces "IOM" and IOME" to my project.Following is the code block which I tried
private void Execute(){ IOM.HTTPServerConnection conn = new HTTPServerConnection(); conn.http_username = "admin"; conn.http_password = "innovator"; conn.http_database = "InnovatorSolutions"; conn.innovator_server_url = @"http://MyMachine:8880/InnovatorServer"; conn.vault_server_url = @"http://MyMachine:8880/vaultserver/"; try { Innovator obj = new Innovator(conn); Item item = obj.getItemByKeyedName("File", "file.jpg"); LogMessage(item.getID()); return; } catch (Exception ex) { LogMessage(ex.Message); } finally { conn.Close(); }}
Thanks in advanceToms