POST
|
Quick question Robert, The request failed and got the CORS issue. 1) I created my widget WAB developer edition locally http://computername.com:3434. 2) created another restful web service on my local VS2013 => http://localhost:5662/myservice.svc the widget from 1) call web service 2) and in browser console get the cannot access cross domain resource issue. I knew that one computer but different ports will consider CROS. Then, I use esri/config => esriConfig.defaults.io.corsEnabledServers.push("http://localhost:5662") still not working. Do I need to host the rest web service in the IIS server and setup the proxy.ash to make it work???? Any workaround ?
... View more
07-27-2016
11:56 PM
|
0
|
1
|
1376
|
POST
|
Hi Robert, that's cool. I am using c#. and yes it's easy to find the example. I've created one on the way to test my widget request from my REST web service. I've come across the REST Geoservices specification. wondering if I use ESRI Javascript api to consume the web service should i follow the certain rule. https://www.esri.com/library/whitepapers/pdfs/geoservices-rest-spec.pdf Anyway, will try and find out.
... View more
07-27-2016
09:28 PM
|
0
|
0
|
1376
|
POST
|
Thank you Robert. As I cannot ask the third party to change the SOAP to REST. I will do the converter host in AWS and publish the REST endpoint for my widget to consume the service. First thought, that I will implement c# WCF restful web service... From your point of view, any thing I need to keep in mind for implementing these REST api? perhaps, there is specific requirement for widget to request? Don't have ArcGIS Server. Won't be any chance to host something in the ArcGIS Server.
... View more
07-27-2016
06:42 PM
|
0
|
4
|
1376
|
POST
|
Thanks you Rebecca. It's a useful information. I used Web AppBuilder developer edition and want to make a soap web service call. According to the blog, it states it's not supported workflow. However, there might have work around for using REST endpoint web service. Not 100% sure that I can get the REST web service as that's the web service host in external client side.
... View more
07-26-2016
03:47 PM
|
0
|
7
|
1376
|
POST
|
The current task is to create a custom widget that needs to pass the map location to an external web service then get the response as the result. The external web service hosts on the client server which is SOAP API. The information are wsdl location and requiredto add HTTP Basic authentication header. Tested on SOAP UI, .NET, python code.. but not yet working for browser request (javascirpt). Any way to request the soap web service from the widget which create from Web App Builder then deploy to ArcGIS online? Does ArcGIS online can overcome the cross-origin resource sharing if host this widget in the ArcGIS online? Any suggestion is welcome.... Best Regards, Vicky
... View more
07-25-2016
08:04 PM
|
0
|
11
|
5021
|
Online Status |
Offline
|
Date Last Visited |
10-17-2023
06:53 AM
|