<?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 Problem with FlexViewer Widget calling .NET web service behind Reverse Proxy in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/problem-with-flexviewer-widget-calling-net-web/m-p/171431#M3993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a FlexViewer 2.2 widget that calls a 2008 .NET web service running behind a reverse proxy.&amp;nbsp; The internal web server hosting the web service runs on a non-standard port. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Flex 3 a WSDL file was added directly to the Flex application.&amp;nbsp; In Flash 4 the WSDL is referenced at runtime (Please correct me if there is a way around this).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The IIS7 "auto-generated" WSDL that the FlexViewer widget retrieves (I can see the same WSDL in a browser) references the reverse proxy domain but incorporates the port of the internal web server; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am guessing the "Channel Security Error - Security Error accessing URL" that I'm seeing in the Flash debugger is because the the app is trying to connect to a nonstandard port on the Reverse Proxy server domain rather than connect to port 80 like it should.&amp;nbsp; From the FlexViewer client, Fiddler2 returns a 503 error for the web service .asmx file (Network error - Operation timeout).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd really appreciate some advice on how best to correct this problem on either the Flex or .NET side?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2011 22:55:06 GMT</pubDate>
    <dc:creator>MicheleDunham</dc:creator>
    <dc:date>2011-05-11T22:55:06Z</dc:date>
    <item>
      <title>Problem with FlexViewer Widget calling .NET web service behind Reverse Proxy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/problem-with-flexviewer-widget-calling-net-web/m-p/171431#M3993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a FlexViewer 2.2 widget that calls a 2008 .NET web service running behind a reverse proxy.&amp;nbsp; The internal web server hosting the web service runs on a non-standard port. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Flex 3 a WSDL file was added directly to the Flex application.&amp;nbsp; In Flash 4 the WSDL is referenced at runtime (Please correct me if there is a way around this).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The IIS7 "auto-generated" WSDL that the FlexViewer widget retrieves (I can see the same WSDL in a browser) references the reverse proxy domain but incorporates the port of the internal web server; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am guessing the "Channel Security Error - Security Error accessing URL" that I'm seeing in the Flash debugger is because the the app is trying to connect to a nonstandard port on the Reverse Proxy server domain rather than connect to port 80 like it should.&amp;nbsp; From the FlexViewer client, Fiddler2 returns a 503 error for the web service .asmx file (Network error - Operation timeout).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd really appreciate some advice on how best to correct this problem on either the Flex or .NET side?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2011 22:55:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/problem-with-flexviewer-widget-calling-net-web/m-p/171431#M3993</guid>
      <dc:creator>MicheleDunham</dc:creator>
      <dc:date>2011-05-11T22:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FlexViewer Widget calling .NET web service behind Reverse Proxy</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/problem-with-flexviewer-widget-calling-net-web/m-p/171432#M3994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found this post which explains how to create and add a class in your web service that extends the SoapExtensionReflector class to modify parts of the Soap Address Location in the auto-generated WSDL.&amp;nbsp; It worked for me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blogs.msdn.com/b/kaevans/archive/2005/11/16/493496.aspx"&gt;http://blogs.msdn.com/b/kaevans/archive/2005/11/16/493496.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 16:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/problem-with-flexviewer-widget-calling-net-web/m-p/171432#M3994</guid>
      <dc:creator>MicheleDunham</dc:creator>
      <dc:date>2011-05-12T16:00:16Z</dc:date>
    </item>
  </channel>
</rss>

