NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Personalized Header


Joined: 31 Aug 2007
Posts: 1
Reply with quote
Hi all

How i insert a personalized header?? I wont this:

<soapenv:Header><security:sessionContext
xmlns:security="http://xxx.xxx.xx/XMLSchemas/security2.0"><ticket>xxxxxxxxxxx5</ticket></security:sessionContext>
</soapenv:Header>

this is correct?

$schemasheader = "http://xxx.xxx.xx/XMLSchemas/security2.0";
$ticket = "xxx";
$headers = "<security:sessionContext><ticket>$ticket</ticket></security:sessionContext>";

$nsoap = new soapclient($wontw);

$nsoap->setHeaders($schemasheader, $headers);

or this:

$ticket = "xxx";
$headers = "<security:sessionContext
xmlns:security=\"http://dtdspai.libero.it/XMLSchemas/security2.0/\"><ticket>$ticket</ticket></security:sessionContext>";

$nsoap = new soapclient($wontw);

$nsoap->setHeaders($headers);

Tnks
View user's profileFind all posts by piattinoSend private message
Personalized Header
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic