Select to view content in your preferred language

Web Service in Web Map

2672
5
06-30-2016 05:29 AM
ZdeněkSoldán
Regular Contributor


Hello,

I have web services (not ArcGIS Server services) such as http://server.domain/soap/?cmd=get_alarms or http://server.domain/ws/?cmd=getrealtimevehiclelist&auser=carposition&apass=0dotlE&outpr....

Is any possibility how to add these services into Web Map and WAB Application?

Thanks for any response

0 Kudos
5 Replies
RobertScheitlin__GISP
MVP Emeritus

Zdeněk,

  There is no simple way to do this. The WebMap spec does not support these types of layers. You can develop a custom widget in WAB to create a FeatureLayer from the esriRequest callback function you get from these urls and add the FeatureLayer to the WAB map.

ZdeněkSoldán
Regular Contributor

Thanks for answer Robert,

could you be so kind and be a little bit more specific how to do it? I have read documentation to esriRequest and access data (XML) on ArcGIS API for JavaScript Guide web page but it didn't help me much. I know how to build custom widget but this is over my knowledge. I would like to be your padawan if you would like to teach me master.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Zdeněk,

  Do you have a working web service to start with? I can not get either of the links you posted to work for me.

0 Kudos
ZdeněkSoldán
Regular Contributor

Yes I have. But I would prefer to send it privately only to you.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Zdeněk,

  OK send it, I am following you now.

0 Kudos