NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
how to get values of response(request)Headers ??


Joined: 08 Aug 2006
Posts: 3
Reply with quote
<SOAP-ENV:Header>
<SessionId>2f95a039a665b40e01128a148590a87b</SessionId>
<UserName>cfz</UserName>
</SOAP-ENV:Header>

tanks!
View user's profileFind all posts by cfz_548Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
why don't you try step through the code? It would let you see whole the picture on how it works, what methods are called and where it stores intermediate values it sends and receives over HTTP protocol. Also, it's a good challenge with debugger, IDE and soap Smile
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 Aug 2006
Posts: 3
Reply with quote
I can get xml data string :
<SessionId>2f95a039a665b40e01128a148590a87b</SessionId>
<UserName>cfz</UserName>

through by $l_oClient->getHeaders();

but I can't get SessionId and UserName's values;

help me,I also try to use follow codes:
$bbb=new soap_parser($l_oClient->getHeaders());
print_r(var_dump($bbb));

My English So poor,hope you can understand!
[/code]
View user's profileFind all posts by cfz_548Send private message
how to get values of response(request)Headers ??
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