<?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>Unable to make CAXL calls using cross domain scripting</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6221331" />
  <subtitle>Unable to make CAXL calls using cross domain scripting</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=6221331</id>
  <updated>2013-06-20T10:45:36Z</updated>
  <dc:date>2013-06-20T10:45:36Z</dc:date>
  <entry>
    <title>RE: Unable to make CAXL calls using cross domain scripting</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6241002" />
    <author>
      <name>Ting-Hao Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6241002</id>
    <updated>2012-08-06T19:14:44Z</updated>
    <published>2012-08-06T19:14:44Z</published>
    <summary type="html">[quote]
 Also Howard, is CORS supported on CUPS 8.0.2 ?
[/quote]
Hi Vimod,
Good quesiton!!
Looks like the version is not supported, and the proxy is needed...
[url=../../../web/cupapi/caxl-compatibility]http://developer.cisco.com/web/cupapi/caxl-compatibility[/url]
Based on the matrix, CUPS 8.0.2 is not running at CAXL 8.5.1 (the one support CORS).
 
[quote]
[b]unsecureAllowed: true[/b]
[/quote]
This setting is to allow the no-secured connection to be used.
 
Hope this help
 
Howard</summary>
    <dc:creator>Ting-Hao Chen</dc:creator>
    <dc:date>2012-08-06T19:14:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to make CAXL calls using cross domain scripting</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6238420" />
    <author>
      <name>vimod shankar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6238420</id>
    <updated>2012-08-06T12:26:53Z</updated>
    <published>2012-08-06T07:24:57Z</published>
    <summary type="html">Vimod,
Can you check this setting?
[b]unsecureAllowed: true[/b]

Howard


 
Hi Howard,
 
    Thanks for your response, but inspite of adding the above mentioned change, we are still seeing the same error message in the logs. Please let me know in case you need more details from my side. Also Howard, is CORS supported on CUPS 8.0.2 ?
 
Thanks and Regards,
Vimod</summary>
    <dc:creator>vimod shankar</dc:creator>
    <dc:date>2012-08-06T07:24:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to make CAXL calls using cross domain scripting</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6228519" />
    <author>
      <name>Ting-Hao Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6228519</id>
    <updated>2012-08-03T15:15:41Z</updated>
    <published>2012-08-03T15:15:41Z</published>
    <summary type="html">Vimod,
Can you check this setting?
[b]unsecureAllowed: true[/b]

Howard</summary>
    <dc:creator>Ting-Hao Chen</dc:creator>
    <dc:date>2012-08-03T15:15:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to make CAXL calls using cross domain scripting</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6227220" />
    <author>
      <name>vimod shankar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6227220</id>
    <updated>2012-08-03T07:18:30Z</updated>
    <published>2012-08-03T07:18:30Z</published>
    <summary type="html">[quote]Vimod,
Could you please post your configuration here?
One quick check, when you hit your proxy server, you should see the XMPP page redirected correctly.

Howard[/quote]
 
 
Hi Howard, 
 
   Thanks for your response. 
 
   The following are the configurations
 
   httpBindingURL: http://&lt;CUP_Server_IP&gt;:7335/httpbinding
   httpBindingURL_secondary: http://&lt;CUP_Server_IP&gt;:7335/httpbinding
   serviceDiscoveryEnabled: false
 
   jabberwerx._config.serviceDiscoveryEnabled = false;
   jabberwerx._config.httpBindingURL = "/httpbinding";
 
 
   We have a single CUP instance in our lab and hence the serviceDiscovery has been disabled. Also we are trying to avoid the usage of a proxy server. The Application is working fine when there is a Proxy Server between the web application and the CAXL layer.
 
Thanks, 
Vimod</summary>
    <dc:creator>vimod shankar</dc:creator>
    <dc:date>2012-08-03T07:18:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to make CAXL calls using cross domain scripting</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6223423" />
    <author>
      <name>Ting-Hao Chen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6223423</id>
    <updated>2012-08-02T18:26:20Z</updated>
    <published>2012-08-02T18:26:20Z</published>
    <summary type="html">Vimod,
Could you please post your configuration here?
One quick check, when you hit your proxy server, you should see the XMPP page redirected correctly.

Howard</summary>
    <dc:creator>Ting-Hao Chen</dc:creator>
    <dc:date>2012-08-02T18:26:20Z</dc:date>
  </entry>
  <entry>
    <title>Unable to make CAXL calls using cross domain scripting</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6221330" />
    <author>
      <name>vimod shankar</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6221330</id>
    <updated>2012-08-02T13:21:22Z</updated>
    <published>2012-08-02T13:21:22Z</published>
    <summary type="html">We are trying to implement a web based commicator using Cisco Unified Presence Server 8.0 , without using a Reverse Proxy. The documentation available at developer.cisco.com suggests us to use the complete URL (including the server name) in the httpBindingURL and the httpBindingURL_secondary parameters. Inspite of making these changes, when we try to perform a call, we get a HTTP 400 BAD REQUEST and we see the following message in the browser console.
 
[color=#ff0000]XMLHttpRequest cannot load [/color][url=http://170.251.196.47:7335/httpbinding]http://&lt;CUPS_Server_Name&gt;:7335/httpbinding[/url][color=#ff0000]. Origin [/color][url=http://localhost/]&lt;[/url]Host machine&gt;[color=#ff0000] is not allowed by Access-Control-Allow-Origin.[/color] 
 
Can you please help us with this issue. The Web application works fine with the Reverse Proxy.</summary>
    <dc:creator>vimod shankar</dc:creator>
    <dc:date>2012-08-02T13:21:22Z</dc:date>
  </entry>
</feed>

