Tutorial Using PHP, SOAP and WSDL Technology to Access a Public Web Service

1)The server should support PHP. Since the server for the CIS Department … 3) Create the getTax.php which will access the web service using WSDL(Web …

More PDF Content

Tutorial: Using PHP, SOAP and WSDL Technology to access a public web service.
Page 1
Tutorial: Using PHP, SOAP and WSDL Technology to access a public web service. ** Created by Snehal Monteiro for CIS 764 ** In this small tutorial we will access the Kansas Department of Revenue’s web service to get sales tax information for a particular area in Kansas. We just send the Zip Code of a particular area in Kansas to the web service and it returns the sales tax for that region. Pre-requisites: 1)The server should support PHP. Since the server for the CIS Department supports PHP scripts, this would not be a problem for us. 2)All our html and php documents will be saved in the public_html folder in the U drive. 3)A text editor like notepad where we write html and php code. Tutorial Steps: There are 4 major steps involved: 1) Creating a simple HTML page , which has just one text box to enter the Zip Code. 2) Download the nusoap.php document and save it the public_html folder. 3)Create the getTax.php which will access the web service using WSDL(Web Service Desription Language) file published by the Kansas Department of Revenue. 4)Run the web application. 1)Creating a simple HTML page , which has just one text box to enter the Zip Code: Copy paste or type the following code in a note-pad and save the file as getTax.html in the public_html folder.
Page 2
Get Tax Details After opening the getTax.html page in the browser you can see the following web page:
Page 3
2)Download the nusoap.php document and save it the public_html folder: Here we access nusoap.php which is open-source and available freely. We reference the nusoap.php document in our getTaxDetails.php. 1] Click on this link: http://dietrich.ganx4.com/nusoap/index.php 2] Navigate through the web-site. Click on the nusoap-0.7.3.zip file and download it. 3] Unzip the nusoap-0.7.3.zip file. 4]Then open the folder nusoap-0.7.3. Then open the lib folder. You will see many php documents inside the lib folder.Copy the file named nusoap.php and paste it in the public_html folder. nusoap-0.7.3.-> lib-> nusoap.php 3)Create the getTax.php which will access the web service using WSDL(Web Service Desription Language

Download Tutorial Using PHP, SOAP and WSDL Technology to Access a Public Web Service pdf from people.cis.ksu.edu, 7 pages, 210.63KB.
Related Books

8 Responses to “Tutorial Using PHP, SOAP and WSDL Technology to Access a Public Web Service”

  1. MariettaRivers on July 1st, 2010 at 12:50 pm

    Make your own life more simple get the business loans and everything you require.

  2. chatroulette website on May 1st, 2013 at 11:07 pm

    I’m now not certain where you are getting your information, but good topic. I needs to spend some time learning much more or figuring out more. Thanks for fantastic information I used to be on the lookout for this info for my mission.

  3. breast actives reviews scam on June 21st, 2013 at 5:42 am

    I savor, result in I discovered exactly what I was looking for.
    You’ve ended my four day long hunt! God Bless you man. Have a great day. Bye

  4. breast actives scam on July 1st, 2013 at 3:38 pm

    Woah! I’m really digging the template/theme of this blog. It’s simple, yet effective.

    A lot of times it’s challenging to get that “perfect balance” between usability and appearance. I must say you’ve done a fantastic job with this.
    Additionally, the blog loads extremely fast for me on Firefox.

    Excellent Blog!

  5. Insulin-Like Growth Factor on September 9th, 2013 at 7:57 pm

    Fantastic overcom! I wish to beginner while doing so just like you fix your internet site, precisely how may i join for the blog web-site? The actual profile helped me a appropriate package. I personally ended up a bit familiar in this the send out provided dazzling clear concept

Leave a Reply