<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7685890095058550549</id><updated>2024-09-05T11:45:37.804-07:00</updated><title type='text'>Ikatlah ilmu dengan menuliskannya</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://warunglobak.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7685890095058550549/posts/default'/><link rel='alternate' type='text/html' href='http://warunglobak.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12454417449437689013</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7685890095058550549.post-1989875273554929214</id><published>2008-09-12T00:38:00.001-07:00</published><updated>2008-09-19T19:44:55.718-07:00</updated><title type='text'>Membuat Webservice dengan PHP (NuSOAP) dengan client foxpro</title><content type='html'>&lt;span style=&quot;font-weight:bold;&quot;&gt;SEKILAS TENTANG WEB SERVICE&lt;/span&gt;&lt;br /&gt;Sebelum kita memulai sesi kali ini, ada baiknya kita mengenal webservice terlebih dahulu. Presentasi di bawah ini menerangkan apa itu web service dan cara membangun web service dengan Apache Axis2 web service framework. Namun bahasan yang akan kita  bahas kali ini adalah membangun web service dengan PHP.&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;&lt;br /&gt;&lt;div style=&quot;width:425px;text-align:left&quot; id=&quot;__ss_84334&quot;&gt;&lt;a style=&quot;font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/mrw/web-services-84334?type=powerpoint&quot; title=&quot;Web Services&quot;&gt;Web Services&lt;/a&gt;&lt;object style=&quot;margin:0px&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=web-services936&amp;stripped_title=web-services-84334&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;/&gt;&lt;embed src=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=web-services936&amp;stripped_title=web-services-84334&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style=&quot;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;&quot;&gt;View SlideShare &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/mrw/web-services-84334?type=powerpoint&quot; title=&quot;View Web Services on SlideShare&quot;&gt;presentation&lt;/a&gt; or &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/upload?type=powerpoint&quot;&gt;Upload&lt;/a&gt; your own. (tags: &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/web&quot;&gt;web&lt;/a&gt; &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/service&quot;&gt;service&lt;/a&gt;)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Tulisan kali ini akan membahas sedikit tentang membuat webservice di php dengan client foxpro. Ada beberapa tools yang diperlukan untuk workshop kali ini.&lt;br /&gt;1. &lt;span style=&quot;font-weight:bold;&quot;&gt;Webserver&lt;/span&gt;, untuk web server kali ini kita menggunakan yang satu bundling (LAMP), kita pake XAMPP (http://www.apachefriends.org/en/xampp-windows.html) bisa didownload di alamat http://www.apachefriends.org/download.php?xampp-win32-1.6.7-installer.exe.&lt;br /&gt;2. &lt;span style=&quot;font-weight:bold;&quot;&gt;SOAP Client untuk foxpro (wwSoap)&lt;/span&gt;, soap class nya bisa didownload di alamat http://www.west-wind.com/webtools.asp. Pilih wwSOAP Class - a FoxPro SOAP client and Server.&lt;br /&gt;3. &lt;span style=&quot;font-weight:bold;&quot;&gt;PHP Adodb&lt;/span&gt;, adodb ini adalah class driver untuk koneksi database dengan php ke berbagai macam database.&lt;br /&gt;4. &lt;span style=&quot;font-weight:bold;&quot;&gt;NuSOAP&lt;/span&gt;, download NuSOAP di http://sourceforge.net/projects/nusoap atau di http://dietrich.ganx4.com/nusoap/&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;&lt;br /&gt;&lt;div style=&quot;width:425px;text-align:left&quot; id=&quot;__ss_46349&quot;&gt;&lt;a style=&quot;font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/intellibitz/php-46349?type=powerpoint&quot; title=&quot;PHP Web Programming&quot;&gt;PHP Web Programming&lt;/a&gt;&lt;object style=&quot;margin:0px&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=php-46349-23034&amp;stripped_title=php-46349&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;/&gt;&lt;embed src=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=php-46349-23034&amp;stripped_title=php-46349&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style=&quot;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;&quot;&gt;View SlideShare &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/intellibitz/php-46349?type=powerpoint&quot; title=&quot;View PHP Web Programming on SlideShare&quot;&gt;presentation&lt;/a&gt; or &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/upload?type=powerpoint&quot;&gt;Upload&lt;/a&gt; your own. (tags: &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/php&quot;&gt;php&lt;/a&gt; &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/web&quot;&gt;web&lt;/a&gt;)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;width:425px;text-align:left&quot; id=&quot;__ss_267010&quot;&gt;&lt;a style=&quot;font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/sanil/develop-webservice-in-php?type=powerpoint&quot; title=&quot;Develop webservice in PHP&quot;&gt;Develop webservice in PHP&lt;/a&gt;&lt;object style=&quot;margin:0px&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=develop-webservice-in-php-1203085440494967-3&amp;stripped_title=develop-webservice-in-php&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;/&gt;&lt;embed src=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=develop-webservice-in-php-1203085440494967-3&amp;stripped_title=develop-webservice-in-php&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style=&quot;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;&quot;&gt;View SlideShare &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/sanil/develop-webservice-in-php?type=powerpoint&quot; title=&quot;View Develop webservice in PHP on SlideShare&quot;&gt;presentation&lt;/a&gt; or &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/upload?type=powerpoint&quot;&gt;Upload&lt;/a&gt; your own. (tags: &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/nusoap&quot;&gt;nusoap&lt;/a&gt; &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/webservice&quot;&gt;webservice&lt;/a&gt;)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;width:425px;text-align:left&quot; id=&quot;__ss_54391&quot;&gt;&lt;a style=&quot;font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/schst/xml-and-web-services-with-php5-and-pear?type=powerpoint&quot; title=&quot;XML and Web Services with PHP5 and PEAR&quot;&gt;XML and Web Services with PHP5 and PEAR&lt;/a&gt;&lt;object style=&quot;margin:0px&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=xml-and-web-services-with-php5-and-pear-28970&amp;stripped_title=xml-and-web-services-with-php5-and-pear&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;/&gt;&lt;embed src=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=xml-and-web-services-with-php5-and-pear-28970&amp;stripped_title=xml-and-web-services-with-php5-and-pear&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style=&quot;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;&quot;&gt;View SlideShare &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/schst/xml-and-web-services-with-php5-and-pear?type=powerpoint&quot; title=&quot;View XML and Web Services with PHP5 and PEAR on SlideShare&quot;&gt;presentation&lt;/a&gt; or &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/upload?type=powerpoint&quot;&gt;Upload&lt;/a&gt; your own. (tags: &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/php&quot;&gt;php&lt;/a&gt; &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/pear&quot;&gt;pear&lt;/a&gt;)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;width:425px;text-align:left&quot; id=&quot;__ss_536904&quot;&gt;&lt;a style=&quot;font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/amaneiro/introductionto-php?type=powerpoint&quot; title=&quot;Introductionto Php&quot;&gt;Introductionto Php&lt;/a&gt;&lt;object style=&quot;margin:0px&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=introductiontophp-1217528355978463-9&amp;stripped_title=introductionto-php&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;/&gt;&lt;embed src=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=introductiontophp-1217528355978463-9&amp;stripped_title=introductionto-php&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style=&quot;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;&quot;&gt;View SlideShare &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/amaneiro/introductionto-php?type=powerpoint&quot; title=&quot;View Introductionto Php on SlideShare&quot;&gt;presentation&lt;/a&gt; or &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/upload?type=powerpoint&quot;&gt;Upload&lt;/a&gt; your own. (tags: &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/php&quot;&gt;php&lt;/a&gt; &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/freeswmaster&quot;&gt;freeswmaster&lt;/a&gt;)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;width:425px;text-align:left&quot; id=&quot;__ss_82377&quot;&gt;&lt;a style=&quot;font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/yht4ever/introduction-to-xml?type=powerpoint&quot; title=&quot;Introduction to XML&quot;&gt;Introduction to XML&lt;/a&gt;&lt;object style=&quot;margin:0px&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=introduction-to-xml641&amp;stripped_title=introduction-to-xml&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;/&gt;&lt;embed src=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=introduction-to-xml641&amp;stripped_title=introduction-to-xml&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style=&quot;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;&quot;&gt;View SlideShare &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/yht4ever/introduction-to-xml?type=powerpoint&quot; title=&quot;View Introduction to XML on SlideShare&quot;&gt;presentation&lt;/a&gt; or &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/upload?type=powerpoint&quot;&gt;Upload&lt;/a&gt; your own. (tags: &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/xml&quot;&gt;xml&lt;/a&gt;)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;width:425px;text-align:left&quot; id=&quot;__ss_288851&quot;&gt;&lt;a style=&quot;font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/ijansch/enterprise-php-288851?type=powerpoint&quot; title=&quot;Enterprise PHP (PHP London Conference 2008)&quot;&gt;Enterprise PHP (PHP London Conference 2008)&lt;/a&gt;&lt;object style=&quot;margin:0px&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=enterprise-php-1204462261930487-3&amp;stripped_title=enterprise-php-288851&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowScriptAccess&quot; value=&quot;always&quot;/&gt;&lt;embed src=&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=enterprise-php-1204462261930487-3&amp;stripped_title=enterprise-php-288851&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;355&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style=&quot;font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;&quot;&gt;View SlideShare &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/ijansch/enterprise-php-288851?type=powerpoint&quot; title=&quot;View Enterprise PHP (PHP London Conference 2008) on SlideShare&quot;&gt;presentation&lt;/a&gt; or &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://www.slideshare.net/upload?type=powerpoint&quot;&gt;Upload&lt;/a&gt; your own. (tags: &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/conference&quot;&gt;conference&lt;/a&gt; &lt;a style=&quot;text-decoration:underline;&quot; href=&quot;http://slideshare.net/tag/php&quot;&gt;php&lt;/a&gt;)&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;INSTALASI XAMPP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Video ini menunjukan cara2 instalasi XAMPP di windows XP dan Vista. Coba perhatikan video di bawah ini:&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;center&quot;&gt;&lt;br /&gt;Instalasi XAMPP di Windows Vista&lt;br /&gt;&lt;br /&gt;&lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/NAbt2900J04&amp;hl=en&amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/NAbt2900J04&amp;hl=en&amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Instalasi XAMPP di Windows XP&lt;br /&gt;&lt;br /&gt;&lt;object width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/WX1nW4cCoX8&amp;hl=en&amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/WX1nW4cCoX8&amp;hl=en&amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Ada beberapa extensi PHP yang kita butuhkan untuk pembuatan webservice ini, yaitu: XML, SOAP, MySQL dan extensi lainnya. Misal kita menginstall XAMPP di folder C:\Program Files\xampp. Coba cek extensi tadi di folder C:\Program Files\xampp\php\ext, pastikan file yang dibutuhkan sesuai dengan konfigurasi php.ini (php.ini ada di folder C:\Program Files\xampp\apache\bin\).&lt;br /&gt;&lt;br /&gt;Contoh file konfigurasi php.ini:&lt;br /&gt;&lt;textarea name=&quot;code&quot; class=&quot;php&quot;&gt;&lt;br /&gt;; Windows Extensions&lt;br /&gt;; Note that ODBC support is built in, so no dll is needed for it.&lt;br /&gt;; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)&lt;br /&gt;; extension folders as well as the separate PECL DLL download (PHP 5).&lt;br /&gt;; Be sure to appropriately set the extension_dir directive.&lt;br /&gt;&lt;br /&gt;;extension=php_apd.dll&lt;br /&gt;;extension=php_bcompiler.dll&lt;br /&gt;;extension=php_bitset.dll&lt;br /&gt;;extension=php_blenc.dll&lt;br /&gt;;extension=php_bz2.dll&lt;br /&gt;;extension=php_bz2_filter.dll&lt;br /&gt;;extension=php_classkit.dll&lt;br /&gt;;extension=php_cpdf.dll&lt;br /&gt;;extension=php_crack.dll&lt;br /&gt;extension=php_curl.dll&lt;br /&gt;;extension=php_cvsclient.dll&lt;br /&gt;;extension=php_db.dll&lt;br /&gt;;extension=php_dba.dll&lt;br /&gt;;extension=php_dbase.dll&lt;br /&gt;;extension=php_dbx.dll&lt;br /&gt;;extension=php_dio.dll&lt;br /&gt;;extension=php_docblock.dll&lt;br /&gt;;extension=php_domxml.dll&lt;br /&gt;;extension=php_event.dll&lt;br /&gt;;extension=php_fdf.dll&lt;br /&gt;;extension=php_fileinfo.dll&lt;br /&gt;;extension=php_filepro.dll&lt;br /&gt;;extension=php_filter.dll&lt;br /&gt;;extension=php_fribidi.dll&lt;br /&gt;extension=php_gd2.dll&lt;br /&gt;extension=php_gettext.dll&lt;br /&gt;;extension=php_gmp.dll&lt;br /&gt;;extension=php_gopher.dll&lt;br /&gt;;extension=php_hash.dll&lt;br /&gt;extension=php_http.dll&lt;br /&gt;;extension=php_hyperwave.dll&lt;br /&gt;;extension=php_ibm_db2.dll&lt;br /&gt;;extension=php_id3.dll&lt;br /&gt;;extension=php_ifx.dll&lt;br /&gt;;extension=php_iisfunc.dll&lt;br /&gt;;extension=php_imagick.dll&lt;br /&gt;extension=php_imap.dll&lt;br /&gt;;extension=php_ingres.dll&lt;br /&gt;;extension=php_interbase.dll&lt;br /&gt;;extension=php_ixsfunc.dll&lt;br /&gt;;extension=php_java.dll&lt;br /&gt;;extension=php_json.dll&lt;br /&gt;;extension=php_ldap.dll&lt;br /&gt;;extension=php_lzf.dll&lt;br /&gt;;extension=php_mailparse.dll&lt;br /&gt;;extension=php_maxdb.dll&lt;br /&gt;extension=php_mbstring.dll&lt;br /&gt;extension=php_exif.dll&lt;br /&gt;;extension=php_mcrypt.dll&lt;br /&gt;;extension=php_mcrypt_filter.dll&lt;br /&gt;;extension=php_memcache.dll&lt;br /&gt;;extension=php_mhash.dll&lt;br /&gt;extension=php_mime_magic.dll&lt;br /&gt;extension=php_ming.dll&lt;br /&gt;extension=php_msql.dll&lt;br /&gt;extension=php_mssql.dll&lt;br /&gt;extension=php_mysql.dll&lt;br /&gt;extension=php_mysqli.dll&lt;br /&gt;;extension=php_netools.dll&lt;br /&gt;;extension=php_ntuser.dll&lt;br /&gt;;extension=php_oci8.dll&lt;br /&gt;;extension=php_oggvorbis.dll&lt;br /&gt;extension=php_openssl.dll&lt;br /&gt;;extension=php_parsekit.dll&lt;br /&gt;extension=php_pdf.dll&lt;br /&gt;extension=php_pdo.dll&lt;br /&gt;;extension=php_pdo_firebird.dll&lt;br /&gt;extension=php_pdo_mssql.dll&lt;br /&gt;extension=php_pdo_mysql.dll&lt;br /&gt;;extension=php_pdo_oci.dll&lt;br /&gt;;extension=php_pdo_oci8.dll&lt;br /&gt;;extension=php_pdo_odbc.dll&lt;br /&gt;;extension=php_pdo_pgsql.dll&lt;br /&gt;;extension=php_pdo_sqlite.dll&lt;br /&gt;;extension=php_perl.dll&lt;br /&gt;;extension=php_pgsql.dll&lt;br /&gt;;extension=php_phpdoc.dll&lt;br /&gt;;extension=php_pop3.dll&lt;br /&gt;;extension=php_printer.dll&lt;br /&gt;;extension=php_pspell.dll&lt;br /&gt;;extension=php_radius.dll&lt;br /&gt;;extension=php_runkit.dll&lt;br /&gt;;extension=php_sdo.dll&lt;br /&gt;;extension=php_sdo_das_xml.dll&lt;br /&gt;;extension=php_shmop.dll&lt;br /&gt;;extension=php_smtp.dll&lt;br /&gt;;extension=php_snmp.dll&lt;br /&gt;extension=php_soap.dll&lt;br /&gt;extension=php_sockets.dll&lt;br /&gt;extension=php_sqlite.dll&lt;br /&gt;;extension=php_ssh2.dll&lt;br /&gt;;extension=php_stats.dll&lt;br /&gt;;extension=php_sybase_ct.dll&lt;br /&gt;;extension=php_threads.dll&lt;br /&gt;;extension=php_tidy.dll&lt;br /&gt;;extension=php_timezonedb.dll&lt;br /&gt;;extension=php_translit.dll&lt;br /&gt;;extension=php_win32ps.dll&lt;br /&gt;;extension=php_win32scheduler.dll&lt;br /&gt;;extension=php_win32service.dll&lt;br /&gt;;extension=php_win32std.dll&lt;br /&gt;;extension=php_xdebug.dll&lt;br /&gt;;extension=php_xmlreader.dll&lt;br /&gt;extension=php_xmlrpc.dll&lt;br /&gt;;extension=php_xmlwriter.dll&lt;br /&gt;extension=php_xsl.dll&lt;br /&gt;;extension=php_yaz.dll ; Module make problems&lt;br /&gt;extension=php_zip.dll&lt;br /&gt;;extension=php_zlib_filter.dll&lt;br /&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Setelah semuanya OK, restart webserver (gunakan XAMPP control pannel).&lt;br /&gt;&lt;br /&gt;Setelah terinstal XAMPP di Windows anda kemudian buat folder dengan nama &quot;webservice&quot; (tanpa tanda kutip) di folder htdocs di bawah folder XAMPP. Selanjutnya kita buat contoh2 skrip di bawah ini yang berfungsi sebagai server dan client.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Contoh skrip php webservice yang berjalan sebagai server (server.php)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;textarea name=&quot;code&quot; class=&quot;php&quot;&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;&lt;br /&gt;#error_reporting(E_ALL);&lt;br /&gt;set_include_path(dirname(__FILE__) . &#39;/library/&#39;);&lt;br /&gt;&lt;br /&gt;require_once(&#39;init.class.php&#39;);&lt;br /&gt;require_once(&#39;nusoap-0.7.3/lib/nusoap.php&#39;);&lt;br /&gt;&lt;br /&gt;// Create the server instance&lt;br /&gt;$server = new soap_server;&lt;br /&gt;&lt;br /&gt;// Register the method to expose&lt;br /&gt;$server-&gt;register(&#39;getDataNopol&#39;);&lt;br /&gt;&lt;br /&gt;// function getDataNopol&lt;br /&gt;function getDataNopol($nopol)&lt;br /&gt;{&lt;br /&gt; if(cekIsBlokir($nopol))&lt;br /&gt; {&lt;br /&gt;  $notes = ketNopolBlokir($nopol);&lt;br /&gt;  # return new soap_fault(&#39;Client&#39;, &#39;&#39;, sprintf(&#39;NOPOL %s telah diblokir (ket: %s %s), transaksi dibatalkan!!&#39;, $nopol, $notes[&#39;ket&#39;], $notes[&#39;ket1&#39;]), &#39;&#39;);&lt;br /&gt;  return array(&quot;pesan&quot; =&gt; sprintf(&#39;NOPOL %s telah diblokir (ket: %s %s), transaksi dibatalkan!!&#39;, $nopol, $notes[&#39;ket&#39;], $notes[&#39;ket1&#39;]));&lt;br /&gt; } else &lt;br /&gt; {&lt;br /&gt;  $init = new init();&lt;br /&gt;  $db = $init-&gt;db();&lt;br /&gt;  $db-&gt;SetFetchMode(2);&lt;br /&gt;  $query = sprintf(&quot;select * from akend where nopol=&#39;%s&#39;&quot;, $nopol);&lt;br /&gt;  $res = $db-&gt;execute($query);&lt;br /&gt;  if($res)&lt;br /&gt;  {&lt;br /&gt;   $row = $res-&gt;fetchRow();&lt;br /&gt;   if(is_array($row)) &lt;br /&gt;   {&lt;br /&gt;    // return $row; diolah lagi&lt;br /&gt;    $arr_keys = array_keys($row);&lt;br /&gt;    $arr_val = array_values($row);&lt;br /&gt;    $i=0;&lt;br /&gt;    foreach($arr_keys as $kkeys=&gt;$vkeys)&lt;br /&gt;    {&lt;br /&gt;     $val = $arr_val[$i];&lt;br /&gt;     $datas[] = strtolower($vkeys) .&quot;::&quot;. $val;&lt;br /&gt;     $i++;&lt;br /&gt;    }&lt;br /&gt;    $rdata = implode(&quot;||&quot;, $datas);&lt;br /&gt;    $service_data = array(&quot;values&quot; =&gt; $rdata);&lt;br /&gt;    return $service_data;&lt;br /&gt;   }&lt;br /&gt;   else &lt;br /&gt;     # return new soap_fault(&#39;Client&#39;, &#39;&#39;, sprintf(&#39;Data untuk Nopol %s tidak ditemukan!&#39;, $nopol), &#39;&#39;);&lt;br /&gt;     return array(&quot;pesan&quot; =&gt; sprintf(&#39;Data untuk Nopol %s tidak ditemukan!&#39;, $nopol));&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : &#39;&#39;;&lt;br /&gt;$server-&gt;service($HTTP_RAW_POST_DATA);&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;script init.class.php&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;textarea name=&quot;code&quot; class=&quot;php&quot;&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;&lt;br /&gt;include(&quot;adodb/adodb.inc.php&quot;);&lt;br /&gt;include(&quot;config.inc&quot;);&lt;br /&gt;&lt;br /&gt;class init&lt;br /&gt;{&lt;br /&gt; private $db;&lt;br /&gt;&lt;br /&gt; function __construct()&lt;br /&gt; {&lt;br /&gt;  $this-&gt;db = ADONewConnection(&#39;mysqlt&#39;); &lt;br /&gt;  $this-&gt;db-&gt;Connect(DBHOST, DBUSER, DBPASS, DBNAME);&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; public function db()&lt;br /&gt; {&lt;br /&gt;  return $this-&gt;db;&lt;br /&gt; }&lt;br /&gt; &lt;br /&gt; public function debug($data)&lt;br /&gt; {&lt;br /&gt;  print(&quot;&lt;pre&gt;&quot;);&lt;br /&gt;  print_r($data);&lt;br /&gt;  print(&quot;&lt;/pre&gt;&quot;);&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;script config.inc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;textarea name=&quot;code&quot; class=&quot;php&quot;&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;&lt;br /&gt;define(&quot;DBHOST&quot;, &quot;localhost&quot;);&lt;br /&gt;define(&quot;DBUSER&quot;, &quot;dbuser&quot;);&lt;br /&gt;define(&quot;DBPASS&quot;, &quot;dbpass&quot;);&lt;br /&gt;define(&quot;DBNAME&quot;, &quot;dbname&quot;);&lt;br /&gt;&lt;br /&gt;?&gt;&lt;br /&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight:bold;&quot;&gt;Contoh skrip foxpro yang berfungsi sebagai client dengan server SOAP beralamat di 192.168.1.200 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;textarea name=&quot;code&quot; class=&quot;vb&quot;&gt;&lt;br /&gt;oSoap = CREATE(&#39;wwSoap&#39;)&lt;br /&gt;oSoap.cServerUrl = &#39;http://192.168.1.200/webservice/server.php&#39;  &amp;&amp; Any SOAP url&lt;br /&gt;&lt;br /&gt;oSoap.AddParameter(&#39;nopol&#39;,&#39;DD3210FA&#39;)&lt;br /&gt;&lt;br /&gt;*** Create SOAP request XML&lt;br /&gt;lcRequest = oSoap.CreateSoapRequestXML(&#39;getDataNopol&#39;)&lt;br /&gt;&lt;br /&gt;MESSAGEBOX(o.cRequestXML)  &amp;&amp; lcRequest&lt;br /&gt;&lt;br /&gt;*** Call the server with Soap Request&lt;br /&gt;lcResponse = oSoap.CallSoapServer()&lt;br /&gt;IF oSoap.lError&lt;br /&gt;   MESSAGEBOX(oSoap.cResponseXML,48,&#39;ERror&#39;)&lt;br /&gt;   RETURN&lt;br /&gt;ENDIF   &lt;br /&gt;   &lt;br /&gt;MESSAGEBOX(lcResponse)  &amp;&amp; oSoap.cResponseXML&lt;br /&gt;&lt;br /&gt;lvResult = oSoap.ParseSoapResponse(lcResponse)&lt;br /&gt;? lvResult&lt;br /&gt;? VARTYPE(lvResult)&lt;br /&gt;&lt;/textarea&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Artikel terkait baca :&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://devzone.zend.com/node/view/id/689&quot; target=&quot;_blank&quot;&gt;http://devzone.zend.com/node/view/id/689&lt;br /&gt;&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://www.phpeveryday.com/pack/Web-Services-NuSOAP-Step-By-Step-Tutorial&quot; target=&quot;_blank&quot;&gt;http://www.phpeveryday.com/pack/Web-Services-NuSOAP-Step-By-Step-Tutorial&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://www.devarticles.com/c/a/PHP/Building-XML-Web-Services-with-PHP-NuSOAP/&quot; target=&quot;_blank&quot;&gt;http://www.devarticles.com/c/a/PHP/Building-XML-Web-Services-with-PHP-NuSOAP/&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://www.west-wind.com/presentations/xmlmessaging/soapwebservices.htm&quot; target=&quot;_blank&quot;&gt;http://www.west-wind.com/presentations/xmlmessaging/soapwebservices.htm&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://www.west-wind.com/presentations/XMLMessaging/xmlmessaging.htm&quot; target=&quot;_blank&quot;&gt;http://www.west-wind.com/presentations/XMLMessaging/xmlmessaging.htm&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://www.west-wind.com/presentations/xmlmessaging/xmldataservices.htm&quot; target=&quot;_blank&quot;&gt;http://www.west-wind.com/presentations/xmlmessaging/xmldataservices.htm&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style=&quot;color:black;&quot; /&gt;&lt;br /&gt;Jadwal per minggu:&lt;br /&gt;&lt;br /&gt;1. (Sabtu, 13/09/2008) Instalasi Webserver (XAMPP), pengenalan PHP dan MySQL.&lt;br /&gt;2. (Sabtu, 20/09/2008) Membuat aplikasi webservice di PHP dan pengetesan aplikasi.&lt;br /&gt;3. Membuat aplikasi client di foxpro.&lt;br /&gt;4. Studi kasus.&lt;br /&gt;&lt;br /&gt;Untuk info lebih lanjut silahkan hubungi&lt;br /&gt;&lt;a href=&quot;ymsgr:sendIM?abdul.muin&quot;&gt;&lt;img border=0 src=&quot;http://opi.yahoo.com/online?u=abdul.muin&amp;amp;m=g&amp;amp;t=2&quot;/&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Silahkan diskusi disini ...&lt;br /&gt;&lt;!-- Begin ShoutMix - http://www.shoutmix.com --&gt;&lt;br /&gt;&lt;iframe title=&quot;ndoelthea&quot; src=&quot;http://www4.shoutmix.com/?ndoelthea&quot; width=&quot;500&quot; height=&quot;300&quot; frameborder=&quot;1&quot; scrolling=&quot;auto&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://www4.shoutmix.com/?ndoelthea&quot;&gt;View shoutbox&lt;/a&gt;&lt;br /&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.shoutmix.com&quot; title=&quot;Get your own free shoutbox chat widget at ShoutMix!&quot;&gt;Free chat widget @ ShoutMix&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;!-- End ShoutMix --&gt;</content><link rel='replies' type='application/atom+xml' href='http://warunglobak.blogspot.com/feeds/1989875273554929214/comments/default' title='Posting Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7685890095058550549/1989875273554929214' title='2 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7685890095058550549/posts/default/1989875273554929214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7685890095058550549/posts/default/1989875273554929214'/><link rel='alternate' type='text/html' href='http://warunglobak.blogspot.com/2008/09/membuat-webservice-dengan-php-nusoap.html' title='Membuat Webservice dengan PHP (NuSOAP) dengan client foxpro'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12454417449437689013</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>