<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: proxy page does not return binary image but returning arcgis server url in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106279#M9823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I did not say it clear, it is actaully a feature layer in ArcGISDynamicMapServiceLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the setDefinitionExpression is or alike: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SEIS_LINE_ID in ('1311130936','1311161037','1311161036','1311132353','1311132354','1311132355','1311130937','1311130939','1311130938')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have required all the requests using proxy as showing below. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works with a very short layer definition but does not&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;work when a long layer definitions are submitted. The short one&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is not more than 2048 characters which is Get request limit - 2048 character maximum&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this should not be a reason for not working for a longer layer definitions because&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;all requests are required to go through proxy page as my code required as shown below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.config.defaults.io.proxyUrl = "/xxxxxxxx/map-proxy";&amp;nbsp; //it is a working proxy
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.config.defaults.io.alwaysUseProxy = true;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using JavaScript API 2.4 hosted by ESRI.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 06:28:09 GMT</pubDate>
    <dc:creator>Vincent_ZFan</dc:creator>
    <dc:date>2021-12-11T06:28:09Z</dc:date>
    <item>
      <title>proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106277#M9821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;javascript api proxy page does not return binary image but returning arcgis server url&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using proxy page as it discribed in the online reference. All of the proxy works&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;except using FeatureLayer.setLayerDefinitions(layerDefintions). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But it works when calling FeatureLayer.setDefaultLayerDefinitions()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 22:03:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106277#M9821</guid>
      <dc:creator>Vincent_ZFan</dc:creator>
      <dc:date>2011-10-06T22:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106278#M9822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why are you expecting the server to return an image for a featureLayer? FeatureLayer's are a subclass of graphicsLayer and display vector features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you post an example of what you're passing to setDefinitionExpression()?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2011 22:19:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106278#M9822</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-10-06T22:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106279#M9823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I did not say it clear, it is actaully a feature layer in ArcGISDynamicMapServiceLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the setDefinitionExpression is or alike: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SEIS_LINE_ID in ('1311130936','1311161037','1311161036','1311132353','1311132354','1311132355','1311130937','1311130939','1311130938')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have required all the requests using proxy as showing below. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works with a very short layer definition but does not&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;work when a long layer definitions are submitted. The short one&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is not more than 2048 characters which is Get request limit - 2048 character maximum&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this should not be a reason for not working for a longer layer definitions because&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;all requests are required to go through proxy page as my code required as shown below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.config.defaults.io.proxyUrl = "/xxxxxxxx/map-proxy";&amp;nbsp; //it is a working proxy
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.config.defaults.io.alwaysUseProxy = true;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using JavaScript API 2.4 hosted by ESRI.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:28:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106279#M9823</guid>
      <dc:creator>Vincent_ZFan</dc:creator>
      <dc:date>2021-12-11T06:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106280#M9824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the infomation in POST with FireBug/Net tab&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can see the LONG layer defintion there - I have deleted some of the layer definitions because it&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is over the limit of this Forum's post character limit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Parametersapplication/x-www-form-urlencoded&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bbox -13434060.471454013,6502439.7425909685,-12406675.208245985,7611673.7723090295&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bboxSR 102113&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dpi 96&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;f json&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;format png8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;imageSR 102113&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layerDefs (Very Large Data)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layers show:2,4,6,8,12,20&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;size 841,908&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;transparent true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Source&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dpi=96&amp;amp;transparent=true&amp;amp;format=png8&amp;amp;layers=show%3A2%2C4%2C6%2C8%2C12%2C20&amp;amp;bbox=-13434060.471454013%2C6502439.7425909685%2C-12406675.208245985%2C7611673.7723090295&amp;amp;bboxSR=102113&amp;amp;imageSR=102113&amp;amp;size=841%2C908&amp;amp;f=json&amp;amp;layerDefs=2%3ASEIS_LINE_ID%20in%20('1311121940'%2C'5000001920'%2C'1311183645'%2C'1311122665'%2C'1311167745'%2C'1311167153'%2C'1311146281'%2C'1311096625'%2C'1311096647'%2C'1311096624'%2C'1311096648'%2C'1311132253'%2C'1311088842'%2C'1311090637'%2C'1311088837'%2C'1311097239'%2C'1311088841'%2C'1311088844'%2C'1311088843'%2C'1311088840'%2C'1311088839'%2C'1311088838'%2C'1311088836'%2C'1311114028'%2C'1311090639'%2C'1311090646'%2C'1311090643'%2C'1311090642'%2C'1311090647'%2C'1311090638'%2C'1311090635'%2C'1311173032'%2C'1311116597'%2C'1311116596'%2C'1311123576'%2C'1311123577'%2C'1311167157'%2C'1311149343'%2C'1311168341'%2C'1311132104'%2C'1311150207'%2C'1311164314'%2C'1311140191'%2C'1311140960'%2C'1311140986'%2C'1311095478'%2C'1311095476'%2C'1311095477'%2C'1311095475'%2C'1311095474'%2C'1311095463'%2C'1311095464'%2C'1311095473'%2C'1311132257'%2C'1311185160'%2C'1311095438'%2C'1311095027'%2C'1311096182'%2C'1311096184'%2C'1311096187'%2C'1311096188'%2C'1311096186'%2C'1311096192'%2C'1311096185'%2C'1311096756'%2C'1311096755'%2C'1311096757'%2C'1311073095'%2C'1311073093'%2C'1311073094'%2C'1311073092'%2C'1311160489'%2C'1311132256'%2C'1311132254'%2C'1311090645'%2C'1311090644'%2C'1311090636'%2C'1311094441'%2C'1311082269'%2C'1311082275'%2C'1311082274'%2C'1311087163'%2C'1311090640'%2C'1311186227'%2C'1311163710'%2C'1311163564'%2C'1311138658'%2C'1311138121'%2C'1311138657'%2C'1311138556'%2C'1311138572'%2C'1311161937'%2C'1311161904'%2C'1311161938'%2C'1311161901'%2C'1311184388'%2C'1311137103'%2C'1311137105'%2C'1311137956'%2C'1311137361'%2C'1311137374'%2C'1311138545'%2C'1311137948'%2C'1311137955'%2C'1311137489'%2C'1311137876'%2C'1311159312'%2C'1311169260'%2C'1311169257'%2C'1311159518'%2C'1311184387'%2C'1311168127'%2C'1311130474'%2C'1311130476'%2C'1311130492'%2C'1311130993'%2C'1311130984'%2C'1311130978'%2C'1311130473'%2C'1311159307'%2C'1311130488'%2C'1311160490'%2C'1311132255'%2C'5000002024'%2C'5000002023'%2C'5000002022'%2C'5000002021'%2C'5000001960'%2C'5000001959'%2C'5000001958'%2C'5000002020'%2C'5000002019'%2C'5000002018'%2C'5000002017'%2C'5000001956'%2C'5000001954'%2C'5000002016'%2C'5000002015'%2C'5000002014'%2C'5000002013'%2C'5000001952'%2C'5000001950'%2C'5000001957'%2C'5000002012'%2C'5000002011'%2C'5000002010'%2C'5000002009'%2C'5000001948'%2C'5000001946'%2C'5000001955'%2C'5000001953'%2C'5000002008'%2C'5000002007'%2C'5000002006'%2C'5000002005'%2C'5000001943'%2C'5000001942'%2C'5000001951'%2C'5000001949'%2C'5000002004'%2C'5000002003'%2C'5000002002'%2C'5000002001'%2C'5000001940'%2C'5000001939'%2C'5000001947'%2C'5000001945'%2C'5000002000'%2C'5000001999'%2C'5000001998'%2C'5000001997'%2C'5000001938'%2C'5000001937'%2C'5000001935'%2C'5000001944'%2C'5000001936'%2C'5000001932'%2C'5000001996'%2C'5000001995'%2C'5000001994'%2C'5000001993'%2C'5000001934'%2C'5000001933'%2C'5000001931'%2C'5000001941'%2C'5000001992'%2C'5000001991'%2C'5000001990'%2C'5000001989'%2C'5000001988'%2C'5000001987'%2C'5000001986'%2C'5000001985'%2C'5000001984'%2C'5000001983'%2C'5000001982'%2C'5000001981'%2C'5000001980'%2C'5000001979'%2C'5000001978'%2C'5000001977'%2C'5000001976'%2C'5000001975'%2C'5000001974'%2C'5000001973'%2C'5000002034'%2C'5000002033'%2C'5000001972'%2C'5000001971'%2C'5000001970'%2C'5000001969'%2C'5000002032'%2C'5000002031'%2C'5000002030'%2C'5000002029'%2C'5000001968'%2C'5000001967'%2C'5000001966'%2C'5000001965'%2C'5000002028'%2C'5000002027'%2C'5000002026'%2C'5000002025'%2C'5000001964'%2C'5000001963'%2C'5000001962'%2C'5000001961'%2C'1311152657'%2C'1311152656'%2C'1311152658'%2C'1311152198'%2C'1311152199'%2C'1311152200'%2C'1311152201'%2C'1311152202'%2C'1311152203'%2C'1311152204'%2C'1311152205'%2C'1311152206'%2C'1311152214'%2C'1311152215'%2C'1311152216'%2C'1311187081'%2C'1311152207'%2C'1311187080'%2C'1311122542'%2C'1311122854'%2C'1311122677'%2C'1311122849'%2C'1311121594'%2C'1311126269'%2C'1311122862'%2C'1311122429'%2C'1311122428'%2C'1311122766'%2C'1311122561'%2C'1311122560'%2C'1311122559'%2C'1311122558'%2C'1311122557'%2C'1311122556'%2C'1311122555'%2C'1311122554'%2C'1311122553'%2C'1311122552'%2C'1311122551'%2C'1311122548'%2C'1311122546'%2C'1311122545'%2C'1311122544'%2C'1311122543'%2C'1311122541'%2C'1311122540'%2C'1311122539'%2C'1311122416'%2C'1311122841'%2C'1311122840'%2C'1311122839'%2C'1311122838'%2C'1311122836'%2C'1311122835'%2C'1311122834'%2C'1311122832'%2C'1311122831'%2C'1311122830'%2C'1311122626'%2C'1311122767'%2C'1311122855'%2C'1311122853'%2C'1311122852'%2C'1311122850'%2C'1311122848'%2C'1311122928'%2C'1311122861'%2C'1311122860'%2C'1311122859'%2C'1311122858'%2C'1311122857'%2C'1311122856'%2C'1311122697'%2C'1311121575'%2C'1311121574'%2C'1311121573'%2C'1311121572'%2C'1311121571'%2C'1311121570'%2C'1311121569'%2C'1311121568'%2C'1311121566'%2C'1311121565'%2C'1311121563'%2C'1311121562'%2C'1311121561'%2C'1311121560'%2C'1311122427'%2C'1311122426'%2C'1311122425'%2C'1311122424'%2C'1311122423'%2C'1311122421'%2C'1311122420'%2C'1311122419'%2C'1311122417'%2C'1311122415'%2C'13111224 ... Firebug request size limit has been reached by Firebug. ... 5'%2C'1311137948'%2C'1311137955'%2C'1311137489'%2C'1311137876'%2C'1311159312'%2C'1311169260'%2C'1311169257'%2C'1311159518'%2C'1311184387'%2C'1311168127'%2C'1311130474'%2C'1311130476'%2C'1311130492'%2C'1311130993'%2C'1311130984'%2C'1311130978'%2C'1311130473'%2C'1311159307'%2C'1311130488'%2C'1311160490'%2C'1311132255'%2C'5000002024'%2C'5000002023'%2C'5000002022'%2C'5000002021'%2C'5000001960'%2C'5000001959'%2C'5000001958'%2C'5000002020'%2C'5000002019'%2C'5000002018'%2C'5000002017'%2C'5000001956'%2C'5000001954'%2C'5000002016'%2C'5000002015'%2C'5000002014'%2C'5000002013'%2C'5000001952'%2C'5000001950'%2C'5000001957'%2C'5000002012'%2C'5000002011'%2C'5000002010'%2C'5000002009'%2C'5000001948'%2C'5000001946'%2C'5000001955'%2C'5000001953'%2C'5000002008'%2C'5000002007'%2C'5000002006'%2C'5000002005'%2C'5000001943'%2C'5000001942'%2C'5000001951'%2C'5000001949'%2C'5000002004'%2C'5000002003'%2C'5000002002'%2C'5000002001'%2C'5000001940'%2C'5000001939'%2C'5000001947'%2C'5000001945'%2C'5000002000'%2C'5000001999'%2C'5000001998'%2C'5000001997'%2C'5000001938'%2C'5000001937'%2C'5000001935'%2C'5000001944'%2C'5000001936'%2C'5000001932'%2C'5000001996'%2C'5000001995'%2C'5000001994'%2C'5000001993'%2C'5000001934'%2C'5000001933'%2C'5000001931'%2C'5000001941'%2C'5000001992'%2C'5000001991'%2C'5000001990'%2C'5000001989'%2C'5000001988'%2C'5000001987'%2C'5000001986'%2C'5000001985'%2C'5000001984'%2C'5000001983'%2C'5000001982'%2C'5000001981'%2C'5000001980'%2C'5000001979'%2C'5000001978'%2C'5000001977'%2C'5000001976'%2C'5000001975'%2C'5000001974'%2C'5000001973'%2C'5000002034'%2C'5000002033'%2C'5000001972'%2C'5000001971'%2C'5000001970'%2C'5000001969'%2C'5000002032'%2C'5000002031'%2C'5000002030'%2C'5000002029'%2C'5000001968'%2C'5000001967'%2C'5000001966'%2C'5000001965'%2C'5000002028'%2C'5000002027'%2C'5000002026'%2C'5000002025'%2C'5000001964'%2C'5000001963'%2C'5000001962'%2C'5000001961'%2C'1311152657'%2C'1311152656'%2C'1311152658'%2C'1311152198'%2C'1311152199'%2C'1311152200'%2C'1311152201'%2C'1311152202'%2C'1311152203'%2C'1311152204'%2C'1311152205'%2C'1311152206'%2C'1311152214'%2C'1311152215'%2C'1311152216'%2C'1311187081'%2C'1311152207'%2C'1311187080'%2C'1311122542'%2C'1311122854'%2C'1311122677'%2C'1311122849'%2C'1311121594'%2C'1311126269'%2C'1311122862'%2C'1311122429'%2C'1311122428'%2C'1311122766'%2C'1311122561'%2C'1311122560'%2C'1311122559'%2C'1311122558'%2C'1311122557'%2C'1311122556'%2C'1311122555'%2C'1311122554'%2C'1311122553'%2C'1311122552'%2C'1311122551'%2C'1311122548'%2C'1311122546'%2C'1311122545'%2C'1311122544'%2C'1311122543'%2C'1311122541'%2C'1311122540'%2C'1311122539'%2C'1311122416'%2C'1311122841'%2C'1311122840'%2C'1311122839'%2C'1311122838'%2C'1311122836'%2C'1311122835'%2C'1311122834'%2C'1311122832'%2C'1311122831'%2C'1311122830'%2C'1311122626'%2C'1311122767'%2C'1311122855'%2C'1311122853'%2C'1311122852'%2C'1311122850'%2C'1311122848'%2C'1311122928'%2C'1311122861'%2C'1311122860'%2C'1311122859'%2C'1311122858'%2C'1311122857'%2C'1311122856')&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 14:37:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106280#M9824</guid>
      <dc:creator>Vincent_ZFan</dc:creator>
      <dc:date>2011-10-07T14:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106281#M9825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is shown under Prams in FireBug/Net&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- a SHORT layer definitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;---------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ParamsHeadersPostPutResponseCacheHTML&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/iglass-editor/map/seismi... 96&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bbox -12853870.136710677,7044645.723493148,-12597023.932166185,7321954.110801589&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bboxSR 102113&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;f image&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;format png8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;imageSR 102113&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layerDefs 2:SEIS_LINE_ID in ('1311130936','1311161037','1311161036','1311132353','1311132354','1311132355','1311130937','1311130939','1311130938');4:SEIS_LINE_ID in ('1311130936','1311161037','1311161036','1311132353','1311132354','1311132355','1311130937','1311130939','1311130938');6:SEIS_LINE_ID in ('1311130936','1311161037','1311161036','1311132353','1311132354','1311132355','1311130937','1311130939','1311130938');8:SEIS_LINE_ID in ('1311130936','1311161037','1311161036','1311132353','1311132354','1311132355','1311130937','1311130939','1311130938')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layers show:2,4,6,8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;size 841,908&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;transparent true&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 14:46:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106281#M9825</guid>
      <dc:creator>Vincent_ZFan</dc:creator>
      <dc:date>2011-10-07T14:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106282#M9826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is what I found today:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if the layerdefinition is more than 1472 characters, it will have the problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But works with the layerdefinition of 1368 length.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 17:08:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106282#M9826</guid>
      <dc:creator>Vincent_ZFan</dc:creator>
      <dc:date>2011-10-07T17:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106283#M9827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Right, it's all about URL length. If the URL is over 2k characters, you have to do a POST. If the app is not on the same domain as the map service, this requires a proxy. Once you go to a proxy, the JS API works with JSON so the map service will return a URL to an image (which the JS API then inserts into the page) rather than the image itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why do you want the image to be returned from the server rather than a URL to the image?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 17:27:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106283#M9827</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-10-07T17:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106284#M9828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see the image url (in fireBug) passed back from ArcGIS server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With proxy, user should not see it right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In our case, the application is in the same domain as the map server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But we want to use the proxy all the time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The proxy was set up by other people, I am wonder whether the proxy setup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is right or not, how can I test it out? I did see "404 Not Found" error in Firebug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 18:31:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106284#M9828</guid>
      <dc:creator>Vincent_ZFan</dc:creator>
      <dc:date>2011-10-07T18:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106285#M9829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Got it!&lt;BR /&gt;&lt;BR /&gt;I can see the image url (in fireBug) passed back from ArcGIS server.&lt;BR /&gt;With proxy, user should not see it right?&lt;BR /&gt;&lt;BR /&gt;In our case, the application is in the same domain as the map server.&lt;BR /&gt;But we want to use the proxy all the time. &lt;BR /&gt;&lt;BR /&gt;The proxy was set up by other people, I am wonder whether the proxy setup&lt;BR /&gt;is right or not, how can I test it out? I did see "404 Not Found" error in Firebug.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;have you tried &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.alwaysUseProxy = true;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 19:30:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106285#M9829</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2011-10-07T19:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: proxy page does not return binary image but returning arcgis server url</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106286#M9830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;have you tried &lt;BR /&gt;&lt;BR /&gt;esri.config.defaults.io.alwaysUseProxy = true;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, Jeff. I did that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 19:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/proxy-page-does-not-return-binary-image-but/m-p/106286#M9830</guid>
      <dc:creator>Vincent_ZFan</dc:creator>
      <dc:date>2011-10-07T19:40:50Z</dc:date>
    </item>
  </channel>
</rss>

