<?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: ConvertWebMapToMapDocument problem/bug ? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-problem-bug/m-p/231832#M17970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We tested this with ArcGIS Server configured to use a proxy and it worked. However, in our case, you did not have to include the url to the proxy server as part of the service url, you just need the regular url to the service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you give me some more information as to why you are including the proxy as part of the url? How is your proxy server configured?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are they secured services that require a user name and password to view?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2012 16:16:33 GMT</pubDate>
    <dc:creator>JeffMoulds</dc:creator>
    <dc:date>2012-11-29T16:16:33Z</dc:date>
    <item>
      <title>ConvertWebMapToMapDocument problem/bug ?</title>
      <link>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-problem-bug/m-p/231831#M17969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im using 'ConvertWebMapToMapDocument' to generate PDFs. The 'Web_Map_as_JSON' parameter has the 'operationalLayers' section in which each layer has it's url assigned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now because i need to get to some of the layers through a proxy to get the token I'd like to pass the url in such form:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
"url":"http://localhost:32762/AGSProxy.ashx?http://localhost:6080/arcgis/rest/services/RSPB/Assemblages/MapServer"
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but each layer that has the proxy embedded in the URL does not appear in the output file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have a proxy (AGSProxy.ashx) that allows loading layers with urls in form as presented above (works OK for SL API3.0). Whenever SL viewer tries to access a layer via the proxy it does hit the breakpoint with debugger so I am sure this is reached. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if I run the PDF generation based on 'ConvertWebMapToMapDocument' the proxy with breakpoints set is never hit. This makes me think that there exists some sort of URL validation within implementation of 'ConvertWebMapToMapDocument' that does not allow calling my proxy. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug or a feature?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Szymon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 12:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-problem-bug/m-p/231831#M17969</guid>
      <dc:creator>SzymonPiskula</dc:creator>
      <dc:date>2012-11-13T12:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToMapDocument problem/bug ?</title>
      <link>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-problem-bug/m-p/231832#M17970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We tested this with ArcGIS Server configured to use a proxy and it worked. However, in our case, you did not have to include the url to the proxy server as part of the service url, you just need the regular url to the service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you give me some more information as to why you are including the proxy as part of the url? How is your proxy server configured?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are they secured services that require a user name and password to view?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 16:16:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/convertwebmaptomapdocument-problem-bug/m-p/231832#M17970</guid>
      <dc:creator>JeffMoulds</dc:creator>
      <dc:date>2012-11-29T16:16:33Z</dc:date>
    </item>
  </channel>
</rss>

