pstein Posted April 20, 2009 Share Posted April 20, 2009 I would appreciate to get super simple PHP code on how a webservice can be implemented with PHP). Assume a MySQL database is setup and contains a SQL table with the following columns: ZIPCODE INTEGEER CITYNAME VARCHAR NUMCITIZENS numeric WATERSIDE BOOLEAN Now lets say a client is sending a SOAP webservice message to the XAMPP based web server with the ZIP code in the request data. PHP should lookup the record in the MySQL database and return CITYNAME, NUMCITIZENS and WATERSIDE values to the requesting webservice client. How would such a PHP code look like (only server side is of interest)? Thank you Peter Link to comment https://forums.phpfreaks.com/topic/154851-sample-code-server-side-for-super-simple-php-based-soap-webservice/ Share on other sites More sharing options...
trq Posted April 20, 2009 Share Posted April 20, 2009 You might try looking at the manual page for the soap extension. Link to comment https://forums.phpfreaks.com/topic/154851-sample-code-server-side-for-super-simple-php-based-soap-webservice/#findComment-814432 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.