 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
andrewindk
Joined: 27 May 2007 Posts: 2
|
Posted: Sun May 27, 2007 6:17 pm Post subject: SOAP url modification |
|
|
Hi,
I am using PEAR SOAP 0.10.1 and can readily connect to a service using the SOAP_WSDL->getProxy() method. However, the first method I need to call on the service is a login that returns a sessionID. This sessionID then needs to be appended to the URL of the service I am calling (i.e. http:targetservice?sessionID=12344).
Since I am using the SOAP_WSDL class, I dont have a URL as such.
Is there a way to modify the url that is being used by the client returned from the getProxy method? Or is there a way to add this info to the class detyails so that it is automatically added.
Unfortunately I have no control over the operation of the service - so I need to work within the structure it demands.
Any feedback would be most welcome.
Thanks in advance. |
|
| Back to top |
|
 |
andrewindk
Joined: 27 May 2007 Posts: 2
|
Posted: Mon May 28, 2007 12:20 pm Post subject: |
|
|
Sorry, ignore this post.
It was the endpoint specification - it just didnt seem to work the first 100 times I tried! |
|
| Back to top |
|
 |
PEARed
Joined: 16 May 2008 Posts: 1
|
Posted: Sat May 17, 2008 6:27 pm Post subject: |
|
|
Hi im a newbie on pear as well as web services.
Am trying to implement a similar requirement using pear soap. After the user is authenticated thru my loginUser service, i am generating a sessionid and returning to my client. But am stuck with:
a. sending sessionid back in the next call to service, and
b. verify at service level if the session is valid.
Please advise what am i missing here and how can i work on a proper solution.
Thanks in advance for your time and assistance. |
|
| Back to top |
|
 |
|
|
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
|
|