<div dir="ltr">I suppose that is not script problem: <a href="http://s1.postimg.org/sqmz0kikv/Selezione_004.png">http://s1.postimg.org/sqmz0kikv/Selezione_004.png</a><div>I change only url (http, not https), user and access key </div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-15 17:02 GMT+02:00 Christophe Humbert <span dir="ltr"><<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello<br><br></div>Anyone has an idea...it is quite urgent...<br><br></div>Thanks a lot<span class="HOEnZb"><font color="#888888"><br></font></span><div><div><div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div>Christophe Humbert<br><br><br></div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">On Sun, Jun 14, 2015 at 5:47 PM, Christophe Humbert <span dir="ltr"><<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello Matteo<br><br></div>Yes I know....I just did want to post my user and key....<br><br></div>The login works because I don have login failed echoed<br><br></div>Thanks<br><div class="gmail_extra"><br clear="all"><div><div>Christophe Humbert<br><br><br></div></div>
<br><div class="gmail_quote"><div><div>On Sun, Jun 14, 2015 at 5:38 PM, Matteo Baranzoni <span dir="ltr"><<a href="mailto:info@greenbitweb.com" target="_blank">info@greenbitweb.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><span style="font-size:12.8000001907349px">-> $login = $client->doLogin('user', 'key');</span><br style="font-size:12.8000001907349px"><div><br></div><div>I think that here you need to insert vtiger username and accesskey. </div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2015-06-14 16:30 GMT+02:00 Christophe Humbert <span dir="ltr"><<a href="mailto:chrissc.humbert@gmail.com" target="_blank">chrissc.humbert@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div><div><div>Hello<br><br></div>I am trying to create a lead using webservice and vtwsclib but I have an error<br>INVALID_SESSIONID:Session Identifier provided is Invalid<br><br></div>Please find my code <br><br>Hello<br><br>Je fais tourner un web service<br>Resultat:<br><br><?php<br>$file = realpath('vtwsclib');<br>include_once $file.'/Vtiger/WSClient.php';<br>$url = '<a href="https://www.lib-assur.com/vtiger" target="_blank">https://www.lib-assur.com/vtiger</a>';<br>$client = new Vtiger_WSClient($url);<br>$login = $client->doLogin('user', 'key');<br>if(!$login) echo 'Login Failed';<br>else {<br>    $module = 'Leads';<br>    $record = $client->doCreate($module, Array('lastname'=>'Test_LS', 'company'=>'Test'));<br>    if($record) {<br>        $recordid = $client->getRecordId($record['id']);<br>        echo $recordid;<br>    } <br>    else {<br>        $wasError= $client->lastError();<br>        if($wasError) {<br>            echo "</br>last error : ".$wasError['code'] . ':' . $wasError['message'];<br>        }<br><br>    }<br>        <br>}<br>?><br><br></div>Thanks in advance<br></div>VTiger 6.2 <br><span><font color="#888888"><br clear="all"><div><div><div><div><div><div><div>Christophe Humbert<br><br></div></div>
</div></div></div></div></div></font></span></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div></div>
</blockquote></div><br></div></div></div></div></div></div></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>