<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<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>Mostly code, sometimes something else, always slightly wacky.</description>
	<lastBuildDate>Mon, 06 Feb 2012 08:55:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: q</title>
		<link>http://www.wackylabs.net/2004/10/nusoap-web-service-example-file/#comment-73</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-73</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, &quot;r&quot;))
			{
				$data = fread($handle, filesize($filename));
	
				$data = base64_encode($data);
				
				fclose($handle);
				return $data;
			}
				
			return &quot;&quot;;

... 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>
<p>				$data = base64_encode($data);</p>
<p>				fclose($handle);<br />
				return $data;<br />
			}</p>
<p>			return &#8220;&#8221;;</p>
<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-72</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-72</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-71</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-71</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-70</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-70</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(&#039;xmlservice&#039;, &#039;urn:schedule&#039;);

$server-&gt;register(&quot;getSchedule&quot;,

array(&#039;itemname&#039; =&gt; &#039;xsd:string&#039;),
array(&#039;return&#039; =&gt; &#039;xsd:string&#039;),
&#039;urn:schedule&#039;,
&#039;urn:schedule#getSchedule&#039;);

$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA)
? $HTTP_RAW_POST_DATA : &#039;&#039;;
$server-&gt;service($HTTP_RAW_POST_DATA);
?&gt;

client
call(&#039;getSchedule&#039;,

array(&#039;symbol&#039; =&gt; &#039;2005-10-02&#039;));

// I used a static date so that the service returns results

echo &quot;The info for &#039;Friends&#039; is $info. &quot;;
print (&quot;&quot;);

?&gt;

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(&#8216;xmlservice&#8217;, &#8216;urn:schedule&#8217;);</p>
<p>$server-&gt;register(&#8220;getSchedule&#8221;,</p>
<p>array(&#8216;itemname&#8217; =&gt; &#8216;xsd:string&#8217;),<br />
array(&#8216;return&#8217; =&gt; &#8216;xsd:string&#8217;),<br />
&#8216;urn:schedule&#8217;,<br />
&#8216;urn:schedule#getSchedule&#8217;);</p>
<p>$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA)<br />
? $HTTP_RAW_POST_DATA : &#8221;;<br />
$server-&gt;service($HTTP_RAW_POST_DATA);<br />
?&gt;</p>
<p>client<br />
call(&#8216;getSchedule&#8217;,</p>
<p>array(&#8216;symbol&#8217; =&gt; &#8217;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 (&#8220;&#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-65</link>
		<dc:creator>Douglass Turner</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-65</guid>
		<description>Hi,

I&#039;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&#039;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-66</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-66</guid>
		<description>I&#039;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=&quot;http://www.scottnichol.com/nusoapprogwsdl.htm&quot; rel=&quot;nofollow&quot;&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 &#8211; 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">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-67</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-67</guid>
		<description>I&#039;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&#039;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_encode, and make changes in the web service to use a string instead of the unsignedByte and then using base64_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-68</link>
		<dc:creator>friend</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-68</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-69</link>
		<dc:creator>Nithin</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.wackylabs.net/wordpress/2004/10/04/nusoap-web-service-example-file/#comment-69</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>

