Hi Patrick
ptalbot:
Hi Robert,
the web services in the architecture diagram are really the web services that Servoy provide.
Meaning that Servoy can act as a server for web services client.
What you are looking for is having Servoy act as client of web services provided by GIS servers.
Not the same thing at all.
Hmmm, not sure what you mean by this differentiation and I am also not sure if I understand it correctly. You make a differentiation between “web services that Servoy” provide and “web services that GIS servers” provide.
What I mean, i. e. we would like to do is program web applications based not only on a standard web server, which can’t handle maps, except if a map is an (complete) image.
To handle maps in a sense that a client (the browser) can ask for capabilities of a georeferenced map, or ask for certain layers of the map, including info like what projection (e. g. WGS84) is used etc. an (OGC) map server is needed.
For this purpose, the Open Geospatial Consortium (OGC) became involved in developing standards for web mapping after a paper was published in 1997 by Allan Doyle, outlining a “WWW Mapping Framework”. See aforementioned links.
To do this, there is a so called map server needed, which works as an extention of a standard web server like apache. So I am asking myself if the architecture of Servoy in general would allow such a setup or not? And, of course, if it does, where to put the map server (therefor the hint to the web services box in the architecture diagram). The maps, if not directly called from within a database, are stored in the fcgi-bin folder (fcgi → fastCGI).
I would very much appreciate if Servoy could tell me if they thought about using Servoy for such a task or if this completely out of bounds?
ptalbot:
Not to do that, there are 2 options:
1/ IF the web services in question are using simple types (booleans, numbers, dates, strings), you can use the http plugin to connect to them and get an xml result.
2/ IF the web services you want to use are expecting and returning complex types (most of them are nowadays), then you will have to create a plugin that will (probably with the help of the Apache Axis library or with Jaxb or Jaxws) to communicate with these services.
To figure out if theses services are using simple types or complex type you will have to have a look at their wsdl (definition file ot the service).
Hope this helps,
An OGC conform wms map server returns as a result for example of a getCapabilities() method an XML document, or for a getMap() method a georeferenced raster image to the client.
But, as said above, I try to find out if such an application could be useful developed with Servoy. And, to do the deployement later on, it has to be able to support an (OGC) map server as mentioned above.
Is there some detailed info about how the Servoy app server (a customized version of Tomcat if I understood correctly) interacts with the web server (apache) for a web client?
Best regards, Robert