Hexagon Geospatial
MENU

Smart M.App

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 83
Registered: ‎07-18-2017

Add external webservices to own Smart M.App

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

Staff
Posts: 7
Registered: ‎07-05-2017

Re: Add external webservices to own Smart M.App

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

Technical Evangelist
Posts: 1,093
Registered: ‎09-11-2015

Re: Add external webservices to own Smart M.App

[ Edited ]

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

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.