<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: NuSOAP Web service example file</title>
	<atom:link href="http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/</link>
	<description>Climbing, Coding, Walking, Talking, Taking Photos and other Stuff</description>
	<pubDate>Tue, 06 Jan 2009 21:53:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: q</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-1880</link>
		<dc:creator>q</dc:creator>
		<pubDate>Fri, 16 Jun 2006 19:14:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-1880</guid>
		<description>Anyone looking at this... for binary file transfer you dont want to use fileBytes. 

all you need to do is send a base64_encoded string back and forth and thats it.

if($handle = fopen($filename, "r"))
			{
				$data = fread($handle, filesize($filename));
	
				$data = base64_encode($data);
				
				fclose($handle);
				return $data;
			}
				
			return "";

... and on the client side... just base64_decode your string... write the data to a file. This is for downloading from a webservice. To upload just do vice versa.</description>
		<content:encoded><![CDATA[<p>Anyone looking at this&#8230; for binary file transfer you dont want to use fileBytes. </p>
<p>all you need to do is send a base64_encoded string back and forth and thats it.</p>
<p>if($handle = fopen($filename, &#8220;r&#8221;))<br />
            {<br />
                $data = fread($handle, filesize($filename));</p>
<pre><code>            $data = base64_encode($data);

            fclose($handle);
            return $data;
        }

        return "";
</code></pre>
<p>&#8230; and on the client side&#8230; just base64_decode your string&#8230; write the data to a file. This is for downloading from a webservice. To upload just do vice versa.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tjerk</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-279</link>
		<dc:creator>Tjerk</dc:creator>
		<pubDate>Fri, 02 Dec 2005 10:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-279</guid>
		<description>@koko:

PHP5 has built-in SOAP support, which uses the same classname: soapclient. One way of getting around this is to manually rename the soapclient class name in the nusoap.php source file.

Another way would be to recompile PHP5 without soap support</description>
		<content:encoded><![CDATA[<p>@koko:</p>
<p>PHP5 has built-in SOAP support, which uses the same classname: soapclient. One way of getting around this is to manually rename the soapclient class name in the nusoap.php source file.</p>
<p>Another way would be to recompile PHP5 without soap support</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koko</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-272</link>
		<dc:creator>koko</dc:creator>
		<pubDate>Wed, 23 Nov 2005 17:23:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-272</guid>
		<description>Hi i have trouble i using PHP 5.0.5 and apache 2, I have error redeclare class soapclient what happen with this??? and how to fix it???</description>
		<content:encoded><![CDATA[<p>Hi i have trouble i using PHP 5.0.5 and apache 2, I have error redeclare class soapclient what happen with this??? and how to fix it???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-223</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Sat, 15 Oct 2005 22:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-223</guid>
		<description>Hi,

I am new to nusoap and am trying it out. The query in reality outputs 2 rows. However, only 1 row displays on the client side.  I would like to output all the rows. How can I do it?

 I have the following code;


server
configureWSDL('xmlservice', 'urn:schedule');

$server-&#62;register("getSchedule",

array('itemname' =&#62; 'xsd:string'),
array('return' =&#62; 'xsd:string'),
'urn:schedule',
'urn:schedule#getSchedule');

$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA)
? $HTTP_RAW_POST_DATA : '';
$server-&#62;service($HTTP_RAW_POST_DATA);
?&#62;

client
call('getSchedule',

array('symbol' =&#62; '2005-10-02'));

// I used a static date so that the service returns results

echo "The info for 'Friends' is $info. ";
print ("");

?&#62;

Thanks</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am new to nusoap and am trying it out. The query in reality outputs 2 rows. However, only 1 row displays on the client side.  I would like to output all the rows. How can I do it?</p>
<p>I have the following code;</p>
<p>server<br />
configureWSDL(&#8217;xmlservice&#8217;, &#8216;urn:schedule&#8217;);</p>
<p>$server-&gt;register(&#8221;getSchedule&#8221;,</p>
<p>array(&#8217;itemname&#8217; =&gt; &#8216;xsd:string&#8217;),<br />
array(&#8217;return&#8217; =&gt; &#8216;xsd:string&#8217;),<br />
&#8216;urn:schedule&#8217;,<br />
&#8216;urn:schedule#getSchedule&#8217;);</p>
<p>$HTTP<em>RAW</em>POST<em>DATA = isset($HTTP</em>RAW<em>POST</em>DATA)<br />
? $HTTP<em>RAW</em>POST<em>DATA : &#8221;;<br />
$server-&gt;service($HTTP</em>RAW<em>POST</em>DATA);<br />
?&gt;</p>
<p>client<br />
call(&#8217;getSchedule&#8217;,</p>
<p>array(&#8217;symbol&#8217; =&gt; &#8216;2005-10-02&#8242;));</p>
<p>// I used a static date so that the service returns results</p>
<p>echo &#8220;The info for &#8216;Friends&#8217; is $info. &#8220;;<br />
print (&#8221;");</p>
<p>?&gt;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Douglass Turner</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-35</link>
		<dc:creator>Douglass Turner</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-35</guid>
		<description>Hi,

I've started playing with this nusoap example and it looks straightforward except for how a client transmits a binary file (a jpeg file for example) to the FileUpload method. 

It looks like I need to do a file upload on the client (using something lilke HTTP_upload.php) to have the file in hand, then pass this file as a param to the FileUpload method service. This can't be correct can it? What am I missing here?

Cheers,
Douglass Turner
voice/sms: +354 895 5077</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve started playing with this nusoap example and it looks straightforward except for how a client transmits a binary file (a jpeg file for example) to the FileUpload method. </p>
<p>It looks like I need to do a file upload on the client (using something lilke HTTP_upload.php) to have the file in hand, then pass this file as a param to the FileUpload method service. This can&#8217;t be correct can it? What am I missing here?</p>
<p>Cheers,<br />
Douglass Turner<br />
voice/sms: +354 895 5077</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-36</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-36</guid>
		<description>I'm gonna answer this comment with an article on using NuSoap from the client side. However its not something I do myself, I use .Net. 

In .Net you just pass in a byte array (byte[]) as the parameter - but if you consume the WSDL everything is so much easier.

In PHP you just read the file into a variable (using fread) and then pass that as the parameter to a $client-&gt;call()  method.

See &lt;a href="http://www.scottnichol.com/nusoapprogwsdl.htm" rel="nofollow"&gt;this page&lt;/a&gt; for a general description of using NuSoap with a wsdl.</description>
		<content:encoded><![CDATA[<p>I&#8217;m gonna answer this comment with an article on using NuSoap from the client side. However its not something I do myself, I use .Net. </p>
<p>In .Net you just pass in a byte array (byte[]) as the parameter - but if you consume the WSDL everything is so much easier.</p>
<p>In PHP you just read the file into a variable (using fread) and then pass that as the parameter to a $client->call()  method.</p>
<p>See <a href="http://www.scottnichol.com/nusoapprogwsdl.htm" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/www.scottnichol.com');">this page</a> for a general description of using NuSoap with a wsdl.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-37</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-37</guid>
		<description>I'm wondering if you have an example of a php client comsuming the UploadFile  web service. I was playing around with it, and the only way I can get it to work with php client is using base64_encode, and make changes in the web service to use a string instead of the unsignedByte and then using base64_decode. I can't figure out how to use byte array in php. Some tips would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>I&#8217;m wondering if you have an example of a php client comsuming the UploadFile  web service. I was playing around with it, and the only way I can get it to work with php client is using base64<em>encode, and make changes in the web service to use a string instead of the unsignedByte and then using base64</em>decode. I can&#8217;t figure out how to use byte array in php. Some tips would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: friend</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-38</link>
		<dc:creator>friend</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-38</guid>
		<description>a few client examples for each of the methods would be appreciated...

=)</description>
		<content:encoded><![CDATA[<p>a few client examples for each of the methods would be appreciated&#8230;</p>
<p>=)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nithin</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-39</link>
		<dc:creator>Nithin</dc:creator>
		<pubDate>Wed, 31 Dec 1969 19:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-39</guid>
		<description>how to register a web service which i have created ,for globally accessing it
</description>
		<content:encoded><![CDATA[<p>how to register a web service which i have created ,for globally accessing it</p>
]]></content:encoded>
	</item>
</channel>
</rss>
