<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Expose Object as Web Service - Auto Initialisation on Session &amp; License in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Expose-Object-as-Web-Service-Auto-Initialisation-on-Session/m-p/86790#M37598</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;First discussion post here, been a long time lurker.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Just a bit of context:&lt;/STRONG&gt; I have an overall Blue Prism process split into 2 modular parts:&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;First part to allow 3rd party Web Service consumer to make SOAP call to Runtime Resource to inject a queue item into a work queue&lt;/LI&gt;
&lt;LI&gt;Second part to then have the same runtime resource at a regular interval kick off "underlying work" of actually performing actions on screen&lt;/LI&gt;
&lt;/OL&gt;
&lt;BR /&gt;I've consulted the Web Services guide already and have ran many tests, but so I am trying to do the following, but having issues:&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Runtime Resource initialised and is "Idle" with no active sessions&lt;/LI&gt;
&lt;LI&gt;3rd party consumer calls Exposed &lt;STRONG&gt;Object X&lt;/STRONG&gt; as SOAP web service
&lt;UL&gt;
&lt;LI&gt;Auto-Initialisation is used&lt;/LI&gt;
&lt;LI&gt;Queue Item successfully added&lt;/LI&gt;
&lt;LI&gt;Runtime Resource now has 1 active session, and stays active even though object action is complete&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;3rd party consumer calls Attempt to call "Clean-Up" default action page within same &lt;STRONG&gt;Object X&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;A very barebone almost empty response is returned&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Runtime Resource is still busy with 1 active session, and I am unable to execute Part 2 of my process&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;BR /&gt;As far as I have understood (happy to be corrected), auto-initialisation allows me to stay at 1 license being consumed, and if any further calls while the first session is still running, the queued calls will still be processed accordingly and the session gets updated with incremental logging.&lt;BR /&gt;&lt;BR /&gt;Documentation mentions that in manual initialisation mode we need to manually call "Clean-Up" to drive the session to be closed, and that if &lt;STRONG&gt;bpinstance&lt;/STRONG&gt; value is set to auto-initialisation, no additional steps would need to be taken.&lt;BR /&gt;&lt;BR /&gt;Wanted to hear&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt; if anyone has managed to utilise exposed Object WS to cause the runtime resource to free up the session (and hence the license) and also use in conjunction with the memory queuing capability of the Exposed Web Services&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vincent Ma&lt;BR /&gt;Senior Robotics Developer&lt;BR /&gt;Australia/Melbourne&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Jul 2020 05:59:00 GMT</pubDate>
    <dc:creator>VincentMa1</dc:creator>
    <dc:date>2020-07-02T05:59:00Z</dc:date>
    <item>
      <title>Expose Object as Web Service - Auto Initialisation on Session &amp; License</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Expose-Object-as-Web-Service-Auto-Initialisation-on-Session/m-p/86790#M37598</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;First discussion post here, been a long time lurker.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Just a bit of context:&lt;/STRONG&gt; I have an overall Blue Prism process split into 2 modular parts:&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;First part to allow 3rd party Web Service consumer to make SOAP call to Runtime Resource to inject a queue item into a work queue&lt;/LI&gt;
&lt;LI&gt;Second part to then have the same runtime resource at a regular interval kick off "underlying work" of actually performing actions on screen&lt;/LI&gt;
&lt;/OL&gt;
&lt;BR /&gt;I've consulted the Web Services guide already and have ran many tests, but so I am trying to do the following, but having issues:&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Runtime Resource initialised and is "Idle" with no active sessions&lt;/LI&gt;
&lt;LI&gt;3rd party consumer calls Exposed &lt;STRONG&gt;Object X&lt;/STRONG&gt; as SOAP web service
&lt;UL&gt;
&lt;LI&gt;Auto-Initialisation is used&lt;/LI&gt;
&lt;LI&gt;Queue Item successfully added&lt;/LI&gt;
&lt;LI&gt;Runtime Resource now has 1 active session, and stays active even though object action is complete&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;3rd party consumer calls Attempt to call "Clean-Up" default action page within same &lt;STRONG&gt;Object X&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;A very barebone almost empty response is returned&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Runtime Resource is still busy with 1 active session, and I am unable to execute Part 2 of my process&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;BR /&gt;As far as I have understood (happy to be corrected), auto-initialisation allows me to stay at 1 license being consumed, and if any further calls while the first session is still running, the queued calls will still be processed accordingly and the session gets updated with incremental logging.&lt;BR /&gt;&lt;BR /&gt;Documentation mentions that in manual initialisation mode we need to manually call "Clean-Up" to drive the session to be closed, and that if &lt;STRONG&gt;bpinstance&lt;/STRONG&gt; value is set to auto-initialisation, no additional steps would need to be taken.&lt;BR /&gt;&lt;BR /&gt;Wanted to hear&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt; if anyone has managed to utilise exposed Object WS to cause the runtime resource to free up the session (and hence the license) and also use in conjunction with the memory queuing capability of the Exposed Web Services&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vincent Ma&lt;BR /&gt;Senior Robotics Developer&lt;BR /&gt;Australia/Melbourne&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Jul 2020 05:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Expose-Object-as-Web-Service-Auto-Initialisation-on-Session/m-p/86790#M37598</guid>
      <dc:creator>VincentMa1</dc:creator>
      <dc:date>2020-07-02T05:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Expose Object as Web Service - Auto Initialisation on Session &amp; License</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Expose-Object-as-Web-Service-Auto-Initialisation-on-Session/m-p/86791#M37599</link>
      <description>Hi Vincent,&lt;BR /&gt;&lt;BR /&gt;Please find a diagram below I created to illustrate the concept of different initialisation modes.&lt;BR /&gt;&lt;BR /&gt;Use Auto-initialisation, you are able to call any action in any objects and each will be executed in a first-come-first-serve manner. You as the calling user do not need to handle any sessions associated with the call. Objects with any run-modes can be queued in the same session. This is usually the simplest for the caller to manage but depending on the request volume you may encounter delayed responses. 1 license is used for that runtime. This is the method most of the people would use.&lt;BR /&gt;&lt;BR /&gt;Use Manual-initialisation, you must explicitly invoke Initialise and Clean-up actions methodologically. Calling an action from a new object cannot reside in existing sessions not associated with the same object. As you can see there is a lot of management you must do in coordinating those sessions in a runtime. People use Manual-initialisation if they want full controls over the session creation, and often that is only achievable through programming. Depending on the number of active sessions, multiple licenses may be required on the same runtime.&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="16054.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/16210i906ACED4EAFFEB6D/image-size/large?v=v2&amp;amp;px=999" role="button" title="16054.png" alt="16054.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bruce Liu&lt;BR /&gt;Senior Product Consultant, Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Australia/Sydney&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Jul 2020 01:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Expose-Object-as-Web-Service-Auto-Initialisation-on-Session/m-p/86791#M37599</guid>
      <dc:creator>bruce.liu</dc:creator>
      <dc:date>2020-07-03T01:03:00Z</dc:date>
    </item>
  </channel>
</rss>

