02-16-2016 11:51 PM
Hi all,
I'm using C# with api 8.0 scheme and .NET framework 3.5
after the AXL object creation the reference contains all events and methods in the class.
"AXLAPIService AXL = new AXLAPIService("192.168.1.55", "axluser", "axlpassword");"
this action takes something like 30 sec.
Is it possible to reduce times?
04-06-2016 01:56 PM
Not sure if you can speed up.
I got around it by declaring AXL as static variable so it will still be around on next use.
04-06-2016 02:10 PM
It would be possible to remove all of the parts of the AXL WSDL that pertain to requests and types that aren't used by your app (i.e. by manually editing the WSDL/schema files), then recompile. This could potentially reduce the size/memory/init-time several orders of magnitude...
Similarly, you could remove/comment out the parts of the compiled code stubs that aren't referenced by your app.
Having worked with AXL a long time, I'm definitely not convinced that going the WSDL/compile SOAP object route is much of a win vs. treating the API is an XML-over-HTTP web service handled more REST-style...
04-12-2016 09:51 PM
Yes it's possible. A lot of work though. It looks easier if you removing code from generated c#, the compiler helping you by giving warnings. I'm thinking about creating tool for automatic generating with selecting only required features.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide