<?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: SOAP on the Google App Engine platform</title>
	<atom:link href="http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/</link>
	<description>Thoughts on Software Development and Engineering</description>
	<lastBuildDate>Thu, 05 Jan 2012 16:35:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: BradleyAllen</title>
		<link>http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/comment-page-1/#comment-164905</link>
		<dc:creator>BradleyAllen</dc:creator>
		<pubDate>Tue, 09 Mar 2010 22:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=180#comment-164905</guid>
		<description>Ok just noticed there was one more set of code to copy and try, it reads:

To create the client you use the same WSDL file with wsdl2py again. This actually generates the same class files and you need the same libraries in place to run it. The following example client will test the service:

but what should that code be named? if I run the same wsdl file and same wsdl2py again the code below this never gets used.  It appears to be a .py file, i named it client.py and ran client.py bradz.wsdl file and it got 4 errors:

C:\Users\myfiles\bradley\bradley&gt;client.py bradz.wsdl  &lt;--in DOS cmd shell
Traceback (most recent call last):
  File &quot;C:\Users\myfiles\bradley\bradley\client.py&quot;, line 9, in 
    rsp = port.Echo(msg)
  File &quot;C:\Users\myfiles\bradley\bradley\EchoServer_client.py&quot;, line 40, in Echo
    response = self.binding.Receive(EchoResponse.typecode)
  File &quot;C:\Users\myfiles\bradley\bradley\ZSI\client.py&quot;, line 531, in Receive
    self.ReceiveSOAP(**kw)
  File &quot;C:\Users\myfiles\bradley\bradley\ZSI\client.py&quot;, line 416, in ReceiveSOAP
    &#039;Response is &quot;%s&quot;, not &quot;text/xml&quot;&#039; % self.reply_headers.type)
TypeError: Response is &quot;text/plain&quot;, not &quot;text/xml&quot;

Could you please clarify a bit on this step?</description>
		<content:encoded><![CDATA[<p>Ok just noticed there was one more set of code to copy and try, it reads:</p>
<p>To create the client you use the same WSDL file with wsdl2py again. This actually generates the same class files and you need the same libraries in place to run it. The following example client will test the service:</p>
<p>but what should that code be named? if I run the same wsdl file and same wsdl2py again the code below this never gets used.  It appears to be a .py file, i named it client.py and ran client.py bradz.wsdl file and it got 4 errors:</p>
<p>C:\Users\myfiles\bradley\bradley&gt;client.py bradz.wsdl  &lt;&#8211;in DOS cmd shell<br />
Traceback (most recent call last):<br />
  File &quot;C:\Users\myfiles\bradley\bradley\client.py&quot;, line 9, in<br />
    rsp = port.Echo(msg)<br />
  File &#034;C:\Users\myfiles\bradley\bradley\EchoServer_client.py&#034;, line 40, in Echo<br />
    response = self.binding.Receive(EchoResponse.typecode)<br />
  File &#034;C:\Users\myfiles\bradley\bradley\ZSI\client.py&#034;, line 531, in Receive<br />
    self.ReceiveSOAP(**kw)<br />
  File &#034;C:\Users\myfiles\bradley\bradley\ZSI\client.py&#034;, line 416, in ReceiveSOAP<br />
    &#039;Response is &#034;%s&#034;, not &#034;text/xml&#034;&#039; % self.reply_headers.type)<br />
TypeError: Response is &#034;text/plain&#034;, not &#034;text/xml&#034;</p>
<p>Could you please clarify a bit on this step?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BradleyAllen</title>
		<link>http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/comment-page-1/#comment-164903</link>
		<dc:creator>BradleyAllen</dc:creator>
		<pubDate>Tue, 09 Mar 2010 22:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=180#comment-164903</guid>
		<description>Got an error in the echo.py file, it was missing a &quot; on line 9, 
portType=&quot;&quot;)

worked, but as copied from the website it was like this
portType=&quot;) &lt;-- error

and the wsdl2py had to be renamed with a .py extension and then it worked, at least in how i used it with dos, may not have put the python at the front after thinking about it...

and what it says is nothing to see hear?  where does this come from? how to add a button and text box to echo what i send it? or etc?
thanks</description>
		<content:encoded><![CDATA[<p>Got an error in the echo.py file, it was missing a &#034; on line 9,<br />
portType=&#034;")</p>
<p>worked, but as copied from the website it was like this<br />
portType=&#034;) &lt;&#8211; error</p>
<p>and the wsdl2py had to be renamed with a .py extension and then it worked, at least in how i used it with dos, may not have put the python at the front after thinking about it&#8230;</p>
<p>and what it says is nothing to see hear?  where does this come from? how to add a button and text box to echo what i send it? or etc?<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy</title>
		<link>http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/comment-page-1/#comment-144031</link>
		<dc:creator>Jeremy</dc:creator>
		<pubDate>Tue, 28 Jul 2009 18:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=180#comment-144031</guid>
		<description>I&#039;m able to get as far as the &quot;No resource for get&quot; step but run into trouble after that. Am I supposed to actually run the wsdl2py for a second time and overwrite the previously generated files? I&#039;ve created the example client to test the service but still get the &quot;no resource for get&quot; message. Do I have to create a new mapping for the example client? Thanks for any help</description>
		<content:encoded><![CDATA[<p>I&#039;m able to get as far as the &#034;No resource for get&#034; step but run into trouble after that. Am I supposed to actually run the wsdl2py for a second time and overwrite the previously generated files? I&#039;ve created the example client to test the service but still get the &#034;no resource for get&#034; message. Do I have to create a new mapping for the example client? Thanks for any help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Memorysaver</title>
		<link>http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/comment-page-1/#comment-142578</link>
		<dc:creator>Memorysaver</dc:creator>
		<pubDate>Fri, 26 Jun 2009 21:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=180#comment-142578</guid>
		<description>Thanks for you great soap tutorial. I follow your tutorial and everything works great. Howerver, my project need to build soap client in window mobile device and connect to the cloud.  According to MSDN , it indicates that &quot;The .NET Compact Framework does not support all the code generated by the Web Services Description Language Tool (Wsdl.exe). However, applications that use Web services can use the generated proxy when you add a Web reference to a Smart Device project in Visual Studio.&quot;  As a result, I need to locate the wsdl file that I upload in my web service, right ?  Please help me about how to locate my wsdl by trying http://memory-saver.appspot.com/echo?wsdl (&quot;echo&quot; is my operation), but it comes out some weird wsdl stuff.  Thank you for reading my comment. I am really appreciate your help.</description>
		<content:encoded><![CDATA[<p>Thanks for you great soap tutorial. I follow your tutorial and everything works great. Howerver, my project need to build soap client in window mobile device and connect to the cloud.  According to MSDN , it indicates that &#034;The .NET Compact Framework does not support all the code generated by the Web Services Description Language Tool (Wsdl.exe). However, applications that use Web services can use the generated proxy when you add a Web reference to a Smart Device project in Visual Studio.&#034;  As a result, I need to locate the wsdl file that I upload in my web service, right ?  Please help me about how to locate my wsdl by trying <a href="http://memory-saver.appspot.com/echo?wsdl" rel="nofollow">http://memory-saver.appspot.com/echo?wsdl</a> (&#034;echo&#034; is my operation), but it comes out some weird wsdl stuff.  Thank you for reading my comment. I am really appreciate your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carson</title>
		<link>http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/comment-page-1/#comment-142329</link>
		<dc:creator>carson</dc:creator>
		<pubDate>Mon, 22 Jun 2009 13:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=180#comment-142329</guid>
		<description>kien vu,

It doesn&#039;t look like you are incrementing your index when you iterate over v2. My guess would be that the result isn&#039;t built like you think it should be.</description>
		<content:encoded><![CDATA[<p>kien vu,</p>
<p>It doesn&#039;t look like you are incrementing your index when you iterate over v2. My guess would be that the result isn&#039;t built like you think it should be.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kien vu</title>
		<link>http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/comment-page-1/#comment-141815</link>
		<dc:creator>kien vu</dc:creator>
		<pubDate>Mon, 15 Jun 2009 03:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=180#comment-141815</guid>
		<description>Hi there!
Thank you for your sample. It was really useful for me. But I have a problem with array type. can you please help me? how to return an array data.  I try this:
&lt;blockquote&gt;
@soapmethod(GetValueRequest.typecode, GetValueResponse.typecode, operation=&#039;GetValue&#039;, soapaction=&#039;GetValue&#039;)
    def soap_GetValue(self, request, response, **kw):
        msg = request
        result = GetValueResponse()
        
        v2=self.get_Value(msg._sourceid,msg._key,msg._tag,msg._fromtime,msg._totime,msg._email,msg._from,msg._limit)
        i = 0 
        for v1 in v2:
          result[i]._sourceid = v1.sid
          result[i]._value = v1.rvalue
          result[i]._geocode = v1.geocode
          result[i]._publish = v1.publish
          result[i]._tag = v1.rtag
          result[i]._dtime = v1.rtime
        return request,result
&lt;/blockquote&gt;

with GetValueResponse is an array. And i got this error:
ArrayOfGetValueResult_Holder instance has no attribute &#039;_sourceid&#039;

What should i do? please help me...</description>
		<content:encoded><![CDATA[<p>Hi there!<br />
Thank you for your sample. It was really useful for me. But I have a problem with array type. can you please help me? how to return an array data.  I try this:</p>
<blockquote><p>
@soapmethod(GetValueRequest.typecode, GetValueResponse.typecode, operation=&#039;GetValue&#039;, soapaction=&#039;GetValue&#039;)<br />
    def soap_GetValue(self, request, response, **kw):<br />
        msg = request<br />
        result = GetValueResponse()</p>
<p>        v2=self.get_Value(msg._sourceid,msg._key,msg._tag,msg._fromtime,msg._totime,msg._email,msg._from,msg._limit)<br />
        i = 0<br />
        for v1 in v2:<br />
          result[i]._sourceid = v1.sid<br />
          result[i]._value = v1.rvalue<br />
          result[i]._geocode = v1.geocode<br />
          result[i]._publish = v1.publish<br />
          result[i]._tag = v1.rtag<br />
          result[i]._dtime = v1.rtime<br />
        return request,result
</p></blockquote>
<p>with GetValueResponse is an array. And i got this error:<br />
ArrayOfGetValueResult_Holder instance has no attribute &#039;_sourceid&#039;</p>
<p>What should i do? please help me&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albert Drouart</title>
		<link>http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/comment-page-1/#comment-140802</link>
		<dc:creator>Albert Drouart</dc:creator>
		<pubDate>Wed, 03 Jun 2009 04:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=180#comment-140802</guid>
		<description>This was a great tutorial!  Just a note to other readers if you try and use zope-interface-3.5.1 (the current version) you&#039;ll have problems because of dependencies on setuptools (which is problematic in google appengine&#039;s environment).... I recommend you stick with 3.5.0 to work through this example.

Thanks again!</description>
		<content:encoded><![CDATA[<p>This was a great tutorial!  Just a note to other readers if you try and use zope-interface-3.5.1 (the current version) you&#039;ll have problems because of dependencies on setuptools (which is problematic in google appengine&#039;s environment)&#8230;. I recommend you stick with 3.5.0 to work through this example.</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: earthStrapped</title>
		<link>http://www.ioncannon.net/programming/180/soap-on-the-google-app-engine-platform/comment-page-1/#comment-115764</link>
		<dc:creator>earthStrapped</dc:creator>
		<pubDate>Thu, 15 Jan 2009 02:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=180#comment-115764</guid>
		<description>Awesome, awesome, awesome.

Thank you for sharing this.</description>
		<content:encoded><![CDATA[<p>Awesome, awesome, awesome.</p>
<p>Thank you for sharing this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.127 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-01-13 09:34:43 -->

