Hey Tim,
Well, this is definetly wired but I am on it...
In any case I get a lot of layers like .svn/text-base/meanRad.asc.svn- base that I suspect are not real layers but is just that the omws fetch the layers from the file system and does not exclude hidden files like the ones from subversion.
We are gonna get a lot of wrong layers like this.
But in any case this is not the problem... it is the nusoap library...
Did we mention enough in the report that SOAP document style web services are almost impossible to use from PHP? There is only nusoap available and is pretty buggy...
I am really considering rewriting the piece of code that connect to the service and get the data... at the end we are not really making use of any serialization deserialization mechanism...
definelty AMF rules!!
JAvi.
On 25/06/2007, at 20:22, Tim Sutton wrote:
Hi
Yup I should have said I checked using openModeller desktop and the ws is working fine so the issue seems to be a nusoapy one. If its still using the omtest ws url (it was last I checked) then no the available layers list should not have changed and it should return a result pretty quickly since it has only a handful of layers in it...
I think a swift conk on the nusoap lib with a coconut may fix it...
Regards
Tim
2007/6/25, Javier de la Torre jatorre@gmail.com:
Hey,
This is very weird. I checked with another tool and the OMWS is working fine returning layers as it should... then I check on the NUSOAP library and it seems that the problem is that the call to the method
$omSoapService->document
which should return the document that the omws returned is truncated almost at the end and therefore the XML does not validate... accessing the response inna an object way seems to work so I am checking if I can solve that.
So... the difference from the workshop might be that there more layers now available under omws?
Cheers.
On 25/06/2007, at 18:00, Tim Sutton wrote:
Hi Javi
If you watch the logs (/tmp/phperrors.log) while clicking onto the getlayers link you will see only this:
[25-Jun-2001 09:50:42] nlayers: 1 [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [25-Jun-2001 09:50:46] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint
When I installed the omtest code on my mac here the mac console
gives
me a bit more detail:
[Mon Jun 25 12:59:57 2007] [error] nlayers: 1 [Mon Jun 25 13:00:02 2007] [error] [client 200.144.120.115] File
does
not exist: /Users/timlinux/Sites/biogeosdi/frontend/openlayers/ theme/default/style.css [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi<-- ctor
om end
point [Mon Jun 25 13:02:06 2007] [error] http://omtest.cria.org.br:80/cgi-bin/om_soap_server.cgi <-- getAvailable Layers endpoint [Mon Jun 25 13:02:06 2007] [error] PHP Notice: Undefined property: nusoapclient::$operation in /Users/timlinux/dev/php/biogeosdi/backend/libs/nusoap/nusoap.php on line 6837
Does that mean anything to you?
Regards
Tim
2007/6/7, Javier de la Torre jatorre@gmail.com:
Give it to me!! I am the master of strange nusoap errors and
you know
it :D
On 06/06/2007, at 20:49, Tim Sutton wrote:
Hi Guys
Yes absolutely its all available as opensource already - they
can get
it using anonymouse svn account. I've been working on getting
the
prototype completed yesterday and on and off this week.
Something
seems to have been broken with the layer selection screen and Im gettin g a strange error from nusoap at this point. Ill post
the
exact message in a follow up email.
Regards
Tim
2007/5/30, Javier de la Torre jatorre@gmail.com:
Hi all,
I am trying to finish what we did in the biodgeosdi meeting
and
going through the emails.
> Some people from partner institutes are visiting us now
for the
EDIT > project. I have shown them what we have done in Campinas, and
they
> were > really interested. > > We got some nice interaction from them concerning
Mapbuilder and
other > softwares, and they were asking specifically for how we went about to > get the XMl from the OGC services, and pass it on to PHP. > > So, a quick check with all of the team : am I right that our
code,
> once > finished, will be available on the web as open source ?
For the
moment > you have to log into the CVS server.
From my side this is clearly the idea. And expect it really
soon.
Cheers. _______________________________________________ biogeosdi mailing list biogeosdi@lists.tdwg.org http://lists.tdwg.org/mailman/listinfo/biogeosdi
--
Tim Sutton
Visit http://qgis.org for a great Open Source GIS Home Page: http://linfiniti.com Skype: timlinux MSN: tim_bdworld@msn.com Yahoo: tim_bdworld@yahoo.com Jabber: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net
-- Tim Sutton QGIS Project Steering Committee Member - Release Manager Visit http://qgis.org for a great open source GIS openModeller Desktop Developer Visit http://openModeller.sf.net for a great open source ecological niche modelling tool Home Page: http://tim.linfiniti.com Skype: timlinux Irc: timlinux on #qgis at freenode.net