<?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: Where to locate non-ArcGIS Rest Service for WAB widget to access in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852305#M10996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess it does not matter for a simple REST service. I have several routes in mine so that is why it is important in my RESTful service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 17:55:59 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-03-03T17:55:59Z</dc:date>
    <item>
      <title>Where to locate non-ArcGIS Rest Service for WAB widget to access</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852298#M10989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a WCF rest service for a Web AppBuilder widget to use. I developed it in Visual Studio 2010 on my PC using VB.NET. I tested it with Visual Studio's WCF Test Client. I also tested it by right-clicking the service in Solution Explorer and selecting 'View in Browser', then adding the service function name and parameters to the end of the URL that opens in the browser. (example: &lt;A class="unlinked"&gt;http://localhost:port#/ServiceName.svc/ServiceFunction?parameter1=parameter1&amp;amp;parameter2=parameter2)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to add it to our Server. How do I go about this? Do I copy the solution and paste it to the server's C:\inetpub\wwwroot\myWAB folder? Do I need to save the project in a different format in Visual Studio first? Do I need to register it with ArcGIS (Server Manager, Portal, Map, etc.)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some additional context, here is a link to a thread I used to start the rest service: &lt;A href="https://community.esri.com/thread/188586"&gt;How to query a non-ArcGIS database from WAB?&lt;/A&gt; (This thread is sort of a continuation of that one.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any assistance you can provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852298#M10989</guid>
      <dc:creator>WilliamMiller4</dc:creator>
      <dc:date>2017-03-02T16:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Where to locate non-ArcGIS Rest Service for WAB widget to access</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852299#M10990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is Google result for "how to deploy wcf rest service on iis" that should help with the basics of deploying to IIS.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://social.technet.microsoft.com/wiki/contents/articles/1265.hosting-a-wcf-rest-service-on-iis.aspx" title="https://social.technet.microsoft.com/wiki/contents/articles/1265.hosting-a-wcf-rest-service-on-iis.aspx"&gt;https://social.technet.microsoft.com/wiki/contents/articles/1265.hosting-a-wcf-rest-service-on-iis.aspx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:34:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852299#M10990</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-02T16:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Where to locate non-ArcGIS Rest Service for WAB widget to access</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852300#M10991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;For some reason, my Global.asax.vb says &lt;STRONG&gt;ServiceRoute&lt;/STRONG&gt; is undefined in the following function.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Imports System.Web.SessionState
Imports System.Web.Routing
Imports System.ServiceModel.Activation

Public Class Global_asax
&amp;nbsp;&amp;nbsp;&amp;nbsp; Inherits System.Web.HttpApplication

&amp;nbsp;&amp;nbsp;&amp;nbsp; Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Fires when the application is started
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RouteTable.Routes.Add(New ServiceRoute("", New WebServiceHostFactory(), GetType(Service1)))
&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub
...
End Class&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:30:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852300#M10991</guid>
      <dc:creator>WilliamMiller4</dc:creator>
      <dc:date>2021-12-12T10:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Where to locate non-ArcGIS Rest Service for WAB widget to access</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852301#M10992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Did you build the solution before you attempted to publish it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 21:40:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852301#M10992</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-02T21:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Where to locate non-ArcGIS Rest Service for WAB widget to access</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852302#M10993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;This is an error I get in Visual Studio 2010. Type 'ServiceRoute' is not defined.&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 21:44:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852302#M10993</guid>
      <dc:creator>WilliamMiller4</dc:creator>
      <dc:date>2017-03-02T21:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Where to locate non-ArcGIS Rest Service for WAB widget to access</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852303#M10994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;William,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;Add the System.ServiceModel.Activation namespace to your&amp;nbsp;project's references.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;Also I am a little concerned with your service route not having a name:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;RouteTable.Routes.Add(New ServiceRoute("", ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 21:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852303#M10994</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-02T21:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Where to locate non-ArcGIS Rest Service for WAB widget to access</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852304#M10995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;I published the WCF rest service to my local machine this morning. Why is leaving the route prefix empty a problem?&lt;/P&gt;&lt;P&gt;Thank you for all your help.&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 17:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852304#M10995</guid>
      <dc:creator>WilliamMiller4</dc:creator>
      <dc:date>2017-03-03T17:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Where to locate non-ArcGIS Rest Service for WAB widget to access</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852305#M10996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess it does not matter for a simple REST service. I have several routes in mine so that is why it is important in my RESTful service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 17:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/where-to-locate-non-arcgis-rest-service-for-wab/m-p/852305#M10996</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-03-03T17:55:59Z</dc:date>
    </item>
  </channel>
</rss>

