Hi all,

Nguyen had a proxy.php problem which was solved in the end by replacing the stock proxy by a different one. I compared the two and noticed that the difference is in the send_request function;

The stock proxy uses curl to do it, while the 'working' proxy doesn't.
So my question what does curl do in the proxy and is it likely to be the cause of the failure?

Steven


Begin forwarded message:

From: "Nguyen Dinh Toan \(JIRA\)" <[EMAIL PROTECTED]>
Date: October 24, 2007 4:06:52 AM GMT+02:00
To: [EMAIL PROTECTED]
Subject: [mapbuilder-dev] [jira] Commented: (MAP-439) Permission denied to call method XMLHttpRequest.open
Reply-To: [EMAIL PROTECTED]


[ http://jira.codehaus.org/browse/MAP-439? page=com.atlassian.jira.plugin.system.issuetabpanels:comment- tabpanel#action_111223 ]

Nguyen Dinh Toan commented on MAP-439:
--------------------------------------

proxy.php  which I used first is proxy.php in Mapbuilder 1.5 alpha 2
and I used proxy.php which a friend sent to me to solve the problem. I have attached it to this issue.

Permission denied to call method XMLHttpRequest.open
----------------------------------------------------

                Key: MAP-439
                URL: http://jira.codehaus.org/browse/MAP-439
            Project: Community Mapbuilder
         Issue Type: Bug
         Components: mapbuilder-lib
   Affects Versions: 1.5alpha2
Environment: FireFox 2.0.0.8, GeoServer 1.5.3, Mapbuilder 1.5 alpha 2
           Reporter: Nguyen Dinh Toan
        Attachments: proxy.php


I have a config file:
<WfsGetFeature id="wfsGetFeature">
      <buttonBar>mainButtonBar</buttonBar>
      <targetModel>mainMap</targetModel>
      <class>RadioButton</class>
      <selected>true</selected>
      <enabledSrc>/images/InfoEnable.png</enabledSrc>
      <disabledSrc>/images/InfoDisable.png</disabledSrc>
<transactionResponseModel>featureCollectionOne</ transactionResponseModel> <webServiceUrl>http://localhost:8080/geoserver/wfs</ webServiceUrl>
      <typeName>plombieres:pa_63088</typeName>
      <tolerance>3</tolerance>
      <maxFeatures>100</maxFeatures>
 </WfsGetFeature>
....
<proxyUrl>http://localhost:8081/proxy/proxy.php</proxyUrl>
<serializeUrl>http://localhost:8081/proxy/serializer.php</ serializeUrl>
And when I click on a feature, I get an error:
[Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] If I replace <webServiceUrl>http://localhost:8080/geoserver/wfs</ webServiceUrl> by <webServiceUrl>../../geoserver/wfs</ webServiceUrl>, it work OK.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/ software/jira



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to