I tried to access to server started on other computer with 192.168.0.105 
address



I have the same result



Marc-André Dubois
[email protected]
Programmeur-Analyste

De : Mustafa Sak [mailto:[email protected]]
Envoyé : 20 février 2013 13:15
À : qooxdoo Development
Objet : Re: [qooxdoo-devel] Jsonp vs Xhr



You are using CORS, right?

Origin must be not be null. It's set by the browser. Maybe localhost will 
not work proper. Try to request the same request with another domain name.





Von meinem iPhone gesendet


Am 20.02.2013 um 19:01 schrieb "Marc-André Dubois" <[email protected]>:

I found it via Chrome tools

This is the Request Header Data of my login attempt :



GET http://localhost:11162/services/login?username=root 
<http://localhost:11162/services/login?username=root&passwordHash=4813494d137e1631bba301d5acab6e7bb7aa74ce1185d456565ef51d737677b2&applicationKey=88363a0d-81fe-48f5-9e9f-23b01cab118e&nocache=1361382996223>
 
&passwordHash=4813494d137e1631bba301d5acab6e7bb7aa74ce1185d456565ef51d737677b2&applicationKey=88363a0d-81fe-48f5-9e9f-23b01cab118e&nocache=1361382996223
 
HTTP/1.1

Origin: null

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, 
like Gecko) Chrome/24.0.1312.57 Safari/537.17



Marc-André Dubois
[email protected]
Programmeur-Analyste

De : Marc-André Dubois [mailto:[email protected]]
Envoyé : 20 février 2013 12:39
À : 'qooxdoo Development'
Objet : Re: [qooxdoo-devel] Jsonp vs Xhr



Ok and how can get the dump of my request header data?



Marc-André Dubois
[email protected]
Programmeur-Analyste

De : Mustafa Sak [mailto:[email protected]]
Envoyé : 20 février 2013 11:47
À : qooxdoo Development
Objet : Re: [qooxdoo-devel] Jsonp vs Xhr



Hi Marc,



could you please provide us with a dump of your request header data? This is 
not a qooxdoo issue, but maybe the list can help you out. XHR calls are 
often falling into the SOP trap.



Mustafa Sak



Applications & Integration



1&1 Internet AG

Ernst-Frey-Straße 10

DE-76135 Karlsruhe



Von: Marc-André Dubois [mailto:[email protected]]
Gesendet: Mittwoch, 20. Februar 2013 16:05
An: [email protected]
Betreff: [qooxdoo-devel] Jsonp vs Xhr



Hi,



I need to access to java web service. If I use Jsonp request with callback 
parameters, it’s working perfectly.



But I need to use POST, PUT and DELETE to… So if I use Xhr I have the « 
callback » error like Jsonp request without callback param…



XMLHttpRequest cannot load http://localhost:11162/[...] . Origin null is not 
allowed by Access-Control-Allow-Origin.



What can I do for correct this?



Marc-André Dubois
[email protected]
Programmeur-Analyste

<image001.png>

1.877.881.5151 p.261 (sans frais).

450.831.5151 p.261

450.839.1103 (Fax)

Web : http://www.lanauco.com <http://www.lanauco.com/>

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb

_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to