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
Vicky,
I use a Proxy for my rest web service calls:
var requestHandle = esriRequest({ url: 'my web service url', content: { ppin: ppin, f: 'json' }, handleAs: "json", timeout: 10000 },{useProxy: true, usePost: false, disableIdentityLookup: true});
swexau,
Were you able to create this custom widget? If so, can you share it?