11-16-2017 04:27 AM
Hey developers,
I spent some days now with adding an example webservice like this one: http://www.geoportal.hessen.de/mapbender/php/wms.php?layer_id=37424&PHPSESSID=mfu3kvgbgcsja498pjerea...
to my smart M.App but everything I tried failed.
Is someone out there who can tell me how I can add it? I'm not the owner of the service so I have nothing more than this url and can't change any headers or whatever.
The result should be a layer with polygons.
I really need to add external webservices like this one!
Second question: What do I have to consider when I want to provide my own webservice with tomcat and geoserver for a smart m.app?
I'm happy about every helpful answer because my project depends on this!
Thanks
Marisa
11-29-2017 06:42 AM
Hi Marisa,
thanks for your question.
Are you only refering to WMS as backdrop maps only or do you want to add Feature Services like WFS as well?
Regarding WFS, please have a look at the Documentation as well. Only WFS with CSV or JSON are supported at the moment.
https://hexagongeospatial.fluidtopics.net/reader/wN5CnRwedKFavrKR9GWISQ/JvE5hDnjrnUltCa8jq6U5w
If you describe some background to your workflow we can try to assist you further.
Benjamin
11-30-2017 03:24 AM - edited 11-30-2017 03:25 AM
Hi Marisa,
The service should be HTTPS in order to get rid of warnings and possible display issues depending on a web browser. Your service can fortunately use HTTPS mode and it connects fine in Geospatial Portal.But still it's rejected in M.App Studio. Looking into the developer console, I can see this error message in the PUT request response: "Invalid URI: The URI is empty"
No more details on the error though. This will need a ticket and possibly a bug report.
Regards,
Jan