<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Hosting a make call application as a web service</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=9142108" />
  <subtitle>Hosting a make call application as a web service</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=9142108</id>
  <updated>2013-05-24T01:45:37Z</updated>
  <dc:date>2013-05-24T01:45:37Z</dc:date>
  <entry>
    <title>RE: Hosting a make call application as a web service</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15351353" />
    <author>
      <name>Abhishek Malhotra</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15351353</id>
    <updated>2013-05-17T01:01:49Z</updated>
    <published>2013-05-17T01:01:49Z</published>
    <summary type="html">[quote=Manas Varma]Hi All,
  We have successfully created standalone applications for making call, conferences and playbacks.Howeverm we need to host the application as a service to provide to our client. The issue with this is that once the session is established after the first request, the actually function of making call throws a null pointer exception, as its a stateless service.Has any one hosted these functions as web service.Would be great if you can light this up please!
Thanks,
Manas Varma
 [/quote]
How are you initializing JTAPI provider?
If i were to do this, I would create a ServletContextListener and initiate JTAPI provider with contextInitialized and shutdown the JTAPI Provider when contextDestroyed. And then I would reuse the same JTAPI Provider with all my requests.
So, client side would send a web request, and my servlets would use the JTAPI Provider on the server side
 </summary>
    <dc:creator>Abhishek Malhotra</dc:creator>
    <dc:date>2013-05-17T01:01:49Z</dc:date>
  </entry>
  <entry>
    <title>Hosting a make call application as a web service</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9142107" />
    <author>
      <name>Manas Varma</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9142107</id>
    <updated>2012-12-06T14:18:38Z</updated>
    <published>2012-12-06T14:18:38Z</published>
    <summary type="html">Hi All,
  We have successfully created standalone applications for making call, conferences and playbacks.Howeverm we need to host the application as a service to provide to our client. The issue with this is that once the session is established after the first request, the actually function of making call throws a null pointer exception, as its a stateless service.Has any one hosted these functions as web service.Would be great if you can light this up please!
Thanks,
Manas Varma
 </summary>
    <dc:creator>Manas Varma</dc:creator>
    <dc:date>2012-12-06T14:18:38Z</dc:date>
  </entry>
</feed>

