<?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: Using SOAP with default proxy in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385782#M10291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pretty straightforward I guess:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var xhr = new XMLHttpRequest();&lt;BR /&gt;xhr.open('POST',esri.config.defaults.io.proxyUrl + '?' + this.somumWebURL,true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var soapRequest = (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;' +&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;soap:Envelope xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"' +&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;' xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;"' +&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;' xmlns:soap="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;' +&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;soap:Body&amp;gt;' +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;.....................&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;/soap:Body&amp;gt;' +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;/soap:Envelope&amp;gt;'&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;xhr.onreadystatechange = dojo.hitch(this,function() {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (xhr.readyState == 4 &amp;amp;&amp;amp; xhr.status == 200) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.loadSOAPResponse(xhr.responseXML);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; } else {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.setErrorMessage(xhr.status);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xhr.setRequestHeader('Content-Type', 'text/xml; charset=utf8');&lt;BR /&gt;xhr.send(soapRequest);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem really is the proxy.js included with WAB.&lt;/P&gt;&lt;P&gt;I'm currently trying to find how it process my xml. I'll return with my findings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2018 21:42:54 GMT</pubDate>
    <dc:creator>FrancisGagne1</dc:creator>
    <dc:date>2018-02-22T21:42:54Z</dc:date>
    <item>
      <title>Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385778#M10287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to POST a SOAP request on a service not under my control.&lt;/P&gt;&lt;P&gt;Since it's cross domain, I need to use a proxy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am only using Postman for now.&lt;/P&gt;&lt;P&gt;When I call the service directly, the response is good. But when I add &lt;A href="https://myserver:3344/proxy.js?https://myserviceurl"&gt;https://myserver:3344/proxy.js?&lt;/A&gt;&amp;nbsp;before my service url in postman. The service return me "Server was unable to process request. ---&amp;amp;gt; Root element is missing." meaning that my xml I sent is not good anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I have some help with SOAP request using the default proxy coming&amp;nbsp;with WebApp Builder?&lt;/P&gt;&lt;P&gt;Is it supported?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 21:34:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385778#M10287</guid>
      <dc:creator>FrancisGagne1</dc:creator>
      <dc:date>2018-02-21T21:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385779#M10288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Francis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have never seen anyone (including myself) able to get a SOAP request through the JS API.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 21:48:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385779#M10288</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-21T21:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385780#M10289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean in WAB?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I have another application that uses the 3.16 JS API and it works just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 15:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385780#M10289</guid>
      <dc:creator>FrancisGagne1</dc:creator>
      <dc:date>2018-02-22T15:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385781#M10290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Francis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Well if you were able to do it using the JS API then you should be able to do it using WAB. Can you share your code for how you did a SOAP call successfully?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 15:26:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385781#M10290</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-22T15:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385782#M10291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pretty straightforward I guess:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;var xhr = new XMLHttpRequest();&lt;BR /&gt;xhr.open('POST',esri.config.defaults.io.proxyUrl + '?' + this.somumWebURL,true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var soapRequest = (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;' +&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;soap:Envelope xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"' +&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;' xmlns:xsd="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;"' +&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;' xmlns:soap="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fenvelope%2F" rel="nofollow" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;' +&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;soap:Body&amp;gt;' +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;.....................&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;/soap:Body&amp;gt;' +&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;/soap:Envelope&amp;gt;'&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;xhr.onreadystatechange = dojo.hitch(this,function() {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (xhr.readyState == 4 &amp;amp;&amp;amp; xhr.status == 200) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.loadSOAPResponse(xhr.responseXML);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; } else {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.setErrorMessage(xhr.status);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xhr.setRequestHeader('Content-Type', 'text/xml; charset=utf8');&lt;BR /&gt;xhr.send(soapRequest);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem really is the proxy.js included with WAB.&lt;/P&gt;&lt;P&gt;I'm currently trying to find how it process my xml. I'll return with my findings.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 21:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385782#M10291</guid>
      <dc:creator>FrancisGagne1</dc:creator>
      <dc:date>2018-02-22T21:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385783#M10292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Francis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, I thought you meant you were using esriRequest on a SOAP web service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 01:19:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385783#M10292</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-23T01:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385784#M10293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Francis are you trying to access a CAMA system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 20:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385784#M10293</guid>
      <dc:creator>CCWeedcontrol</dc:creator>
      <dc:date>2018-02-23T20:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385785#M10294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a system that automates sms and calls in a city.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 20:40:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385785#M10294</guid>
      <dc:creator>FrancisGagne1</dc:creator>
      <dc:date>2018-02-23T20:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385786#M10295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see, I trying to look into accessing out CAMA system from a WAB application and i am not sure how to do i thought maybe you were trying to do that.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 21:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385786#M10295</guid>
      <dc:creator>CCWeedcontrol</dc:creator>
      <dc:date>2018-02-23T21:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385787#M10296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I access CAMA Data but I developed a RESTfull web service to do that, since SOAP&amp;nbsp;is difficult to consume in JS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 21:38:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385787#M10296</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-23T21:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385788#M10297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert i have some questions if you don't mind.&lt;/P&gt;&lt;P&gt;What data are you retrieving from the CAMA system, what are you doing with it?&lt;/P&gt;&lt;P&gt;How exactly are you doing it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:54:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385788#M10297</guid>
      <dc:creator>CCWeedcontrol</dc:creator>
      <dc:date>2018-02-26T17:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385789#M10298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What data: All&amp;nbsp;required parcel and improvement info for the selected parcel&lt;/P&gt;&lt;P&gt;What I do with it: Generate JS/HTML custom reports&lt;/P&gt;&lt;P&gt;How Exactly: Using esriRequest to my custom .Net web service that returns the CAMA data based a parcel number query.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 18:12:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385789#M10298</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-02-26T18:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using SOAP with default proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385790#M10299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using the proxy in WAB to handle the cross domain problem, I passed in a service that handle CORS and all is fine now:&amp;nbsp;&lt;A class="link-titled" href="https://cors-anywhere.herokuapp.com/" title="https://cors-anywhere.herokuapp.com/"&gt;https://cors-anywhere.herokuapp.com/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll setup a cors-anywhere on my client's server but at least I know that works with this one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 16:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/using-soap-with-default-proxy/m-p/385790#M10299</guid>
      <dc:creator>FrancisGagne1</dc:creator>
      <dc:date>2018-02-27T16:41:16Z</dc:date>
    </item>
  </channel>
</rss>

