| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Question: webservices using nusoap |
Advice nusoap, webservices
| 8:42 pm on Nov 4, 2006 (gmt 0)|
I have a project which requires using web services provided by a travel company to view and book hotel rooms.
Ive never had a reason to tackle web services to this extent.
My background in XML and PHP and are mid level I would say.
I Have read a ton of material on SOAP and nusoap.
For the life of me, I cant seem to figure out where to begin.My biggest question is what should the very first step be?
All of the docs ive read go right into creating php files to send the request and then php files to handle the response.
Ive not seen one example on capturing the information from the end user (i.e. date and destination,etc)prior to sending anything.
Any ideas or examples would be appreciated.
| 11:09 pm on Nov 4, 2006 (gmt 0)|
>>>Ive not seen one example on capturing the information from the end user
Do you mean through the use of forms?
Something like this:
<form action="results.php" method="post">
<input type="text" name="destination" size="40" />
<input type="submit" value="search!" />
Try that for now and then I think you'll get it from there. You are using the $_POST super-global array.
P.S. I hope this what you were looking for! :)
| 12:14 pm on Nov 5, 2006 (gmt 0)|
Thanks for the swift response.
Yes, I do mean accepting user information with forms and passing that information into the web services and then displaying the returned results to the user.
Ill try this and a few other things.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved