homepage Welcome to WebmasterWorld Guest from 54.161.192.130
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Question: webservices using nusoap
Advice nusoap, webservices
kmb40

5+ Year Member



 
Msg#: 3146100 posted 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.

Thanks.

 

eelixduppy

WebmasterWorld Senior Member eelixduppy us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 3146100 posted 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.html

<form action="results.php" method="post">
<input type="text" name="destination" size="40" />
<input type="submit" value="search!" />
</form?

results.php

<?php
print_r($_POST);
?>

Try that for now and then I think you'll get it from there. You are using the $_POST super-global array.

Good luck!

P.S. I hope this what you were looking for! :)

kmb40

5+ Year Member



 
Msg#: 3146100 posted 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved