Hi,

To integrate your plugin in pmapper, the documentation is here : 
http://svn.pmapper.net/trac/wiki/FaqCustomizations#Plugins

You will have to write a javascript function that will send your 
parameters like "id", "source" and "telepules" to you PHP page. This 
AJAX request will be done with jQuery "$.ajax(......)".

Moreover you can make your plugin configurable with config_xxxx.xml (the 
ip address of you SOAP server).

If you need a simple example, take a look at the "coordinates" plugin.

Bye

Thomas

Medve Zsolt a écrit :
> Hy!
>
> I would like to get help with a special plugin making. This is a PHP file
>
> <?php
> ini_set("soap.wsdl_cache_enabled", 0);
>
> $id = $_GET['id'];
> $source = $_GET['source'];
> $telepules = $_GET['telepules'];
>
> $client = new SoapClient('http://1**.*.*.*:*****/some?wsdl');
> $resp = $client->__soapCall("function_name", array($id));
>
>    echo "<font color=#ddd9d8>";
>
>    echo round($resp);
>    echo "</font>";
> ?>
>
> I need to integrate it to p-mapper somehow, Like a button and when i 
> clicked somewhere, this WSDL will bring the data. This WSDl needs the ID 
> of the shape to do his work.
>
> Can someone help me with this?
>
> Thanks ,
> Zsolt
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>
>
>
>
>
>   

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to