Call NAV WS from NAS asynchronously

Lars_WestmanLars_Westman Member Posts: 116
edited 2012-09-18 in NAV Three Tier
I have a setup where the NAS loops through a job que to call NAV web services to perform automation. The web services are called using 'Microsoft XML, v6.0'.XMLHTTP60 asynchronously. Meaning that we don't wait for the response. Instead we go on to the next job and start that and it's up to the codeunit we called to give a response back to the queue with the result. The purpouse with this setup is to process in parallell in multiple companies. Everything is working nicely but I cant get more than two paralell sessions running.

There seems to be a limitation in the way NAV calls the ws. If I create a ws that sleeps a while I can start that ws 5 times in parallell using e.g. Web Service Stuido and get five different sessions in NAV, but NAV can only open up two sessions from one single client. If I open up one more NAV client I can get two more sessions and so on.

Anyone seen this before?

//Lars

Answers

Sign In or Register to comment.