[Cartoweb-users] cartoserver.wsdl.php ?

Jacolin Yves yjacolin at free.fr
Tue Apr 25 04:47:35 EDT 2006


Sorry, I am not clear sometime :-/

OK the parameter cartoserverDirectAccess is set to true. To clarify, I am 
testing the example page 144, 1.4 Examples.
My project is called test and my map : test, easy ! ;-)
My cartoserver url is :
http://192.168.80.254/cartoweb3/htdocs/
Here, the filecalled index.php in htdocs (I created this file) :
<?php

$client = new 
SoapClient("http://192.168.80.254/cartoweb3/htdocs/cartoserver.wsdl.php?mapId=test.test");

try{
    $result = $client->getMapInfo("test.test");
    print_r($result);
} catch (SoapFault $fault) {
    print $fault->faultstring;
}

?>

I am looking for my php.ini file ...

Thanks again.

Y.

Le Mardi 25 Avril 2006 10:33, Alexandre Saunier a écrit :
> I got it! ;)
>
> http://url.to/server/cartoserver.wsdl.php?... is indeed an example URL.
> We could also have used something like:
> http://example.com/cartoserver.wsdl.php?...
> It is simply an example URL that you have to adapt to your own case.
>
> cartoserver.wsdl.php is actually in cartoweb3/htdocs/ and not in
> cartoweb3/server/ where are indeed located cartoserver.wsdl and
> Cartoserver.php.
>
> Concerning your SoapClient class not found:
> it seems that your new project use SOAP to make cartoclient and
> cartoserver communicate but with the SOAP extension not activated in
> your PHP. Is there a cartoserverDirectAccess = false in one of your
> client.ini?
>
> Jacolin Yves wrote:
> > Well, I worked on the bad directory because I read url.to/server/.... so
> > I am looking for a directory server ! It was not clear to me (maybe due
> > to my bad english) to use localhost/cartoweb3/htdocs/ ... I found it but
> > ....
> >
> > Apache log tells me that php can find the SoapClient Class. Si I am
> > wondering if I am not completly lost ! Surely I don't understand
> > something. I need to improve/change some plugin so I work on the
> > developper's documentation.
> >
> > I found a figure that look nice, but so difficult to read (so low
> > resolution !).
> >
> > Anyway, if you have any idea about my class not found  (I just copy past
> > and adapt it t omy mapfil : test.test). Thanks !
> >
> > Y.
> >
> > Le Mardi 25 Avril 2006 10:00, vous avez écrit :
> >>That's weird!
> >>What version of CartoWeb are you using? What archive/installer have you
> >>downloaded?
> >>
> >>In regular CW distributions, there is actually a cartoserver.wsdl.php in
> >>cartoweb3/htdocs/ but no cartoserver.wsdl!
> >>
> >>Jacolin Yves wrote:
> >>>Hi,
> >>>
> >>>I am working on the example of the developers documentation. It tells to
> >>>use cartoserver.wsdl.php, it seems this file does not exist on my
> >>>cartoweb installation, but I found cartoserver.php and cartoserver.wsdl
> >>>?!! Is it an error, or something else ?
> >>>
> >>>Y.

-- 
Yves Jacolin
http://yjacolin.gloobe.org
----
Stagaire Conservatoire Régional des Espaces Naturels de la région Centre
http://cahiersnaturalistes.free.fr/cpnrc/
----
- Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause 
puisque je suis de bonne foi?
- Et qu'est-ce que ça peut faire que je sois de mauvaise foi
puisque c'est pour la bonne cause. (Jacques Prévert)



More information about the Cartoweb-users mailing list