Hi,

if I use 
http://myserver/geoserver/rest/proxy?url=http://arcgisserver/AGS/services/xxx/yyyyy/MapServer/WMSServer?service=wms&LAYERS=5&FORMAT=image%2Fpng&TRANSPARENT=true&VERSION=1.0.0&REQUEST=GetFeatureInfo&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_xml&SRS=EPSG%3A4326&TYPENAME=5&BBOX=9.113728%2C48.297489%2C9.886272%2C48.702511&X=660&Y=256&BUFFER=50&INFO_FORMAT=text/html&QUERY_LAYERS=5&WIDTH=927&HEIGHT=486


I get 
<ServiceExceptionReport version="1.1.1">
<ServiceException code="InvalidFormat">
Can't parse XML request.
  </ServiceException>
</ServiceExceptionReport>

I have added MIMEType and "arcgisserver" as permitted hostname at proxy Admin 
gui page.

If I request a getfeatureinfo at my app I see at firebug:

response Header
Date Thu, 17 Feb 2011 10:00:34 GMT 
Server Microsoft-IIS/6.0 
X-Powered-By ASP.NET 
X-AspNet-Version 2.0.50727 
Cache-Control private 
Content-Type text/html 
Content-Length 217 
request-Header
Host arcgisserver
 
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.13) 
Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729) 

Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
Accept-Language de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 
Accept-Encoding gzip,deflate 
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 
Keep-Alive 115 
Connection keep-alive 
Referer http://myserver/geoserver/www/myapp.html 
Origin http://myserver 
refering to our IIS. 
What`s wrong? 
Any comments welcome.

best regards
Sarah


________________________________
Von: Sarah Sch
An: David Winslow <[email protected]>
CC: [email protected]



Hi david,

thanks for your explanation! That makes it clearer:-)

best regards
Sarah




________________________________
Von: David Winslow <[email protected]>

No, you don't need the rest extension, just installing the proxy extension 
should be sufficient.

There is some confusing nomenclature here; there are actually two modules in 
geoserver that are called rest. One of them provides an extension point that 
plugins can use to provide their own rest apis; this is  included in GeoServer 
since sometime in the 1.7.x release series, and it is the one needed by the 
proxy extension.  You don't need to install it because it is already there.

The other extension is the one that provides a REST API for configuring 
GeoServer.  Before GeoServer 2.1, this is not included in the geoserver package 
you download, and since it is by far the most popular rest extension for 
GeoServer, its "real name" (the one used in code, RESTConfig) is often 
shortened 
to just REST.

Hope this clears things up.

--
David Winslow
OpenGeo - http://opengeo.org/


On Wed, Feb 16, 2011 at 8:33 AM, Sarah Schuessler <[email protected]> wrote:

Hi list,
>
>my situation: 
>I have geoserver running at tomcat, at www folder I have my html and js files. 
>I 
>want to request a getfeatureinfo from a different wms/wfs service (this is a 
>ArcGIS Server Service), so I need a proxy beacuse this is a cross domain 
>issue. 
>I`m working at our intranet (remote, win server 2003) but both geoserver and 
>ArcGIS Server are at intranet too.
>I read that geoserver has a proxy extension. At page 
>http://geoserver.org/display/GEOS/GeoServer+Proxy+Extension I can read 
>something 
>about /geoserver/rest/... so that I assume that I need rest extension too. Is 
>it 
>right?
>Or is there another way to go?
>
>Thanks for any comment!
>
>best  regards
>Sarah
>
>
>------------------------------------------------------------------------------
>The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>Pinpoint memory and threading errors before they happen.
>Find and fix more than 250 security defects in the development cycle.
>Locate bottlenecks in serial and parallel code that limit performance.
>http://p.sf.net/sfu/intel-dev2devfeb
>_______________________________________________
>Geoserver-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to