Daily Snippet, Developer to developer

PHP Webservice using php-wsdl-2.3

I want some alternative deploying soap web service on linux.
While there’s solution on .Net like ServiceStack, It’s difficult to deploy it on Linux using Nginx and fast-cgi.
So I’m googling php alternative. It’s in https://code.google.com/p/php-wsdl-creator/. And it’s damn easy.
1. After download it, put it in your var/www or xampp htdocs.
2. Change CreateInstance parameter demo.php code :
Snap 2014-05-12 at 14.18.26
3. Run it :
 Snap 2014-05-12 at 14.22.00
 
or just http://localhost:82/phpwsdl23/demo.php to see the description.
4. You can acces it using soapui, or .net service reference, or using php http://localhost:82/phpwsdl23/demo.php?PHPSOAPCLIENT.
Snap 2014-05-12 at 14.24.52
Standard

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s