<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Against All Odds - WebServices</title>
			<link>http://www.ppshein.net/index.cfm</link>
			<description>A blog for ColdFusion, Android, jQuery, jQueryMobile, Oracle, HL7 and other Web-based programming languages, Web Server like IIS7 and RDMS like Oracle, Microsoft SQL and MySQL.</description>
			<language>en-us</language>
			<pubDate>Wed, 22 May 2013 13:43:41 -0700</pubDate>
			<lastBuildDate>Thu, 26 Nov 2009 06:32:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>pyaephyoeshein@gmail.com</managingEditor>
			<webMaster>pyaephyoeshein@gmail.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>pyaephyoeshein@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Coldfusion Webservices and JSON</title>
				<link>http://www.ppshein.net/index.cfm/2009/11/26/coldfusion-webservices-and-json</link>
				<description>
				
				&lt;p&gt;I&apos;ve recently tested CF web services and &lt;a href=&quot;http://en.wikipedia.org/wiki/JSON&quot; target=&quot;_blank&quot;&gt;JSON&lt;/a&gt;. The outcome is incredible. Because, I&apos;m very new to &lt;a href=&quot;http://en.wikipedia.org/wiki/JSON&quot; target=&quot;_blank&quot;&gt;JSON&lt;/a&gt; and CF web services. That&apos;s why I&apos;m very proud of myself what I did. That&apos;s what I want to do in &lt;a href=&quot;http://en.wikipedia.org/wiki/Burma&quot; target=&quot;_blank&quot;&gt;Myanmar&lt;/a&gt; about synchronization two web applications over the internet for sharing data.
In these testing, I&apos;ve also used &lt;a href=&quot;http://ppshein.wordpress.com/2010/06/29/ajax-submitform/&quot; target=&quot;_blank&quot;&gt;Coldfusion ajax submitForm&lt;/a&gt;. In briefly, when user type, then will be displayed &lt;a href=&quot;http://en.wikipedia.org/wiki/JSON&quot; target=&quot;_blank&quot;&gt;JSON&lt;/a&gt; format.
I&apos;ve got some &lt;a href=&quot;http://en.wikipedia.org/wiki/JSON&quot; target=&quot;_blank&quot;&gt;JSON&lt;/a&gt; knowledge from &lt;a href=&quot;http://www.bennadel.com/&quot; target=&quot;_blank&quot;&gt;Ben Nadel&lt;/a&gt; blog.
&lt;span style=&quot;text-decoration: underline;&quot;&gt;getJSON.cfc&lt;/span&gt;
&lt;code&gt;&lt;cfcomponent output=&quot;false&quot;&gt;
&lt;cffunction name=&quot;jsonData&quot; access=&quot;remote&quot; returntype=&quot;array&quot; returnformat=&quot;json&quot; output=&quot;false&quot; hint=&quot;Return JSON Format Data&quot;&gt;
&lt;cfargument name=&quot;Text&quot; type=&quot;string&quot; required=&quot;true&quot;&gt;
&lt;cfset getJ = ArrayNew(1)&gt;
&lt;cfloop from=&quot;1&quot; to=&quot;#ListLen(Text, &quot; &quot;)#&quot; index=&quot;i&quot;&gt;
&lt;cfset getJ[i] = ListGetAt(Text, i, &quot; &quot;)&gt;
&lt;/cfloop&gt;
&lt;cfreturn getJ&gt;
&lt;/cffunction&gt;
&lt;/cfcomponent&gt;&lt;/code&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;get.cfm&lt;/span&gt;
&lt;code&gt;&lt;html&gt;
&lt;head&gt;
&lt;cfajaximport&gt;
&lt;invalidTag&gt;
function submitForm() {
ColdFusion.Ajax.submitForm(&apos;myform&apos;, 1,  &apos;formAction.cfm&apos;, 1,  callback,
errorHandler);
}
function callback(text)
{
document.getElementById(&quot;divShowMsg&quot;).innerHTML = text;
}
function errorHandler(code, msg)
{
alert(&quot;Error!!! &quot; + code + &quot;: &quot; + msg);
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;divShowMsg&quot;&gt;&lt;/div&gt;
&lt;cfform name=&quot;myform&quot;&gt;
&lt;cfinput name=&quot;mytext1&quot; size=&quot;50&quot;&gt;
&lt;input type=&quot;Button&quot; onclick=&quot;submitForm()&quot; value=&quot;WebServices JSON &quot;&gt;
&lt;/cfform&gt;
&lt;/body&gt;
&lt;/html&gt;&lt;/code&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;formAction.cfm&lt;/span&gt;
&lt;code&gt;&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Untitled&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;cfinvoke webservice=&quot;http://localhost/webservices/getJSON.cfc?wsdl&quot; method=&quot;jsonData&quot; returnvariable=&quot;strg&quot;&gt;
&lt;cfinvokeargument name=&quot;Text&quot; value=&quot;#form.mytext1#&quot; /&gt;
&lt;/cfinvoke&gt;
&lt;cfdump var=&quot;#strg#&quot;&gt;
&lt;/body&gt;
&lt;/html&gt;&lt;/code&gt;&lt;/p&gt;
				
				</description>
				
				
				<category>Ajax</category>
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>jSON</category>
				
				<category>WebServices</category>
				
				<category>CF Tag</category>
				
				<pubDate>Thu, 26 Nov 2009 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2009/11/26/coldfusion-webservices-and-json</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>cfinvoke, cffunction and cfargument</title>
				<link>http://www.ppshein.net/index.cfm/2009/10/18/cfinvoke-cffunction-and-cfargument</link>
				<description>
				
				&lt;p&gt;I&apos;m just intermediate level in WebServices such as &lt;strong&gt;cfinvoke&lt;/strong&gt;, &lt;strong&gt;cffunction&lt;/strong&gt; and &lt;strong&gt;cfargument&lt;/strong&gt; The usage of these three tags are to integrate with different language of web application and share information each other. I&apos;m not nice to clarify more of these three tags, then I&apos;ll show what I did with these three tags.&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;
&lt;cfinvoke 
	component=&quot;ContactInformation&quot; 
	method=&quot;GetContactInformation&quot; 
	returnvariable=&quot;QryContactInformation&quot;&gt;
	
	&lt;cfinvokeargument name=&quot;City&quot; value=&quot;Bagan&quot;&gt;
	
&lt;/cfinvoke&gt;
&lt;cfdump var=&quot;#QryContactInformation#&quot;&gt;
&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;strong&gt;ContactInformation.cfc&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;
&lt;cfcomponent hint=&quot;Get Information of Contact&quot;&gt;
	&lt;cffunction name=&quot;GetContactInformation&quot; access=&quot;remote&quot; returntype=&quot;query&quot;&gt;
		&lt;cfargument name=&quot;City&quot; type=&quot;string&quot; required=&quot;yes&quot;&gt;
		&lt;cfquery name=&quot;QryContactInformation&quot; datasource=&quot;#application.mydsn#&quot;&gt;
			SELECT U_ID, U_Name, U_Address FROM tbl_Contacts
		&lt;/cfquery&gt;
		&lt;cfreturn QryContactInformation&gt;
	&lt;/cffunction&gt;
&lt;/cfcomponent&gt;&lt;/code&gt;&lt;/p&gt;
				
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>WebServices</category>
				
				<category>CF Tag</category>
				
				<pubDate>Sun, 18 Oct 2009 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2009/10/18/cfinvoke-cffunction-and-cfargument</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Webservices</title>
				<link>http://www.ppshein.net/index.cfm/2009/10/16/webservices</link>
				<description>
				
				Well, I&apos;m interesting to create webservices (WSDL) in CF in these days. Because, I wanna test how to integrate two different language by webservices. Developing webservices is very simple. Ok, let&apos;s go.

&lt;strong&gt;helloWorld.cfc&lt;/strong&gt;

&lt;code&gt;
&lt;cfcomponent&gt;
&lt;cffunction name=&quot;HelloWorldMsg&quot; access=&quot;remote&quot; returntype=&quot;string&quot; output=&quot;no&quot;&gt;
&lt;cfargument name=&quot;name&quot; type=&quot;string&quot; required=&quot;yes&quot;&gt;
&lt;cfreturn &quot;Hello World : &quot; &amp;amp; arguments.name&gt;
&lt;/cffunction&gt;
&lt;/cfcomponent&gt;
&lt;/code&gt;

&lt;strong&gt;caller.cfm&lt;/strong&gt;
&lt;code&gt;
&lt;cfinvoke webservice=&quot;http://helloWorld.cfc?wsdl&quot; method=&quot;HelloWorldMsg&quot; returnvariable=&quot;msg&quot;&gt;
&lt;cfinvokeargument name=&quot;name&quot; value=&quot;PPSHEIN&quot;/&gt;
&lt;/cfinvoke&gt;
&lt;cfoutput&gt;#msg#&lt;/cfoutput&gt;
&lt;/code&gt;
				
				</description>
				
				
				<category>UDF</category>
				
				<category>WebServices</category>
				
				<pubDate>Fri, 16 Oct 2009 06:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2009/10/16/webservices</guid>
				
				
			</item>
			
		 	
			</channel></rss>