<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ricardo Parente&#039;s Blog &#187; XML</title>
	<atom:link href="http://ricardo.parente.us/category/xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://ricardo.parente.us</link>
	<description>ColdFusion Developers Network</description>
	<lastBuildDate>Fri, 10 Feb 2012 17:13:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Invoking a Webservice Using CFHTTP</title>
		<link>http://ricardo.parente.us/2010/08/invoking-a-webservice-using-cfhttp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=invoking-a-webservice-using-cfhttp</link>
		<comments>http://ricardo.parente.us/2010/08/invoking-a-webservice-using-cfhttp/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 20:20:15 +0000</pubDate>
		<dc:creator>rparente</dc:creator>
				<category><![CDATA[CFML]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[CFHTTP]]></category>
		<category><![CDATA[RPC]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[Webservice]]></category>

		<guid isPermaLink="false">http://ricardo.parente.us/?p=3052</guid>
		<description><![CDATA[I found this article by James Netherton on a discussion list of CF-Brasil group. I needed that long time ago, when I had to import some data from a PHP web application. I tried his code and it works perfectly, so I&#8217;m linking to his blog so you may use that code too if you [...]]]></description>
			<content:encoded><![CDATA[<p>I found this article by <a title="James Netherton" href="http://www.jamesnetherton.com/blog/about-me.php" target="_blank"><strong>James Netherton</strong></a> on a discussion list of CF-Brasil group.</p>
<p>I needed that long time ago, when I had to import some data from a PHP web application. I tried his code and it works perfectly, so I&#8217;m linking to his blog so you may use that code too if you need.</p>
<p><a title="Ivoking a Webservice Using CFHTTP" href="http://www.jamesnetherton.com/blog/2007/01/14/Invoking-a-webservice-using-CFHTTP/" target="_blank">Invoking a Webservice Using CFHTTP</a></p>
<p>Here is his code for the component:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
5
6
7
</pre>
<pre>&lt;cfcomponent output=&quot;false&quot; style=&quot;rpc&quot;&gt;
&lt;cffunction name=&quot;addNumbers&quot; access=&quot;remote&quot; returntype=&quot;numeric&quot; output=&quot;false&quot;&gt;
&lt;cfargument name=&quot;firstNumber&quot; type=&quot;string&quot; required=&quot;true&quot;/&gt;
&lt;cfargument name=&quot;secondNumber&quot; type=&quot;string&quot; required=&quot;true&quot;/&gt;
&lt;cfreturn arguments.firstNumber + arguments.secondNumber/&gt;
&lt;/cffunction&gt;
&lt;/cfcomponent&gt;</pre>
</div>
<p>Here is his code for the test:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre>
<pre>&lt;!--- You&#039;d need to strip any whitespace before passing to CFHTTP ---&gt;
&lt;cfsavecontent variable=&quot;soap&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;soapenv:Envelope xmlns:soapenv=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;
&lt;soapenv:Body&gt;
&lt;ns1:addNumbers soapenv:encodingStyle=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot; xmlns:ns1=&quot;http://directorypath&quot;&gt;
&lt;firstNumber xsi:type=&quot;xsd:string&quot;&gt;100&lt;/firstNumber&gt;
&lt;secondNumber xsi:type=&quot;xsd:string&quot;&gt;10&lt;/secondNumber&gt;
&lt;/ns1:addNumbers&gt;
&lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;
&lt;/cfsavecontent&gt;

&lt;!--- Note that there&#039;s no ?wsdl appendage to the url ---&gt;
&lt;cfhttp url=&quot;http://myserver/webservice.cfc&quot; method=&quot;post&quot;&gt;
&lt;cfhttpparam type=&quot;header&quot; name=&quot;content-type&quot; value=&quot;text/xml&quot;&gt;
&lt;cfhttpparam type=&quot;header&quot; name=&quot;SOAPAction&quot; value=&quot;&quot;&gt;
&lt;cfhttpparam type=&quot;header&quot; name=&quot;content-length&quot; value=&quot;#len(soap)#&quot;&gt;
&lt;cfhttpparam type=&quot;header&quot; name=&quot;charset&quot; value=&quot;utf-8&quot;&gt;
&lt;cfhttpparam type=&quot;xml&quot; name=&quot;message&quot; value=&quot;#trim(soap)#&quot;&gt;
&lt;/cfhttp&gt;

&lt;!--- Dump out a nice representation of the SOAP response ---&gt;
&lt;cfdump var=&quot;#xmlParse(cfhttp.FileContent)#&quot;&gt;</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://ricardo.parente.us/2010/08/invoking-a-webservice-using-cfhttp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Parsing Large XML File Into ColdFusion XML Object</title>
		<link>http://ricardo.parente.us/2009/08/parsing-large-xml-file-into-coldfusion-xml-object/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=parsing-large-xml-file-into-coldfusion-xml-object</link>
		<comments>http://ricardo.parente.us/2009/08/parsing-large-xml-file-into-coldfusion-xml-object/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 13:17:57 +0000</pubDate>
		<dc:creator>rparente</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[Java File Read]]></category>
		<category><![CDATA[Large XML File]]></category>
		<category><![CDATA[Parsing XML]]></category>
		<category><![CDATA[XML Object]]></category>

		<guid isPermaLink="false">http://ricardo.parente.us/?p=883</guid>
		<description><![CDATA[Last week I had a big headache trying to import a 165MB XML file. I couldn&#8217;t even open it with any browse and reading it with ColdFusion gave me 500 errors, exceeded heap size, JRun closed connection, etc&#8230; The solution I found was to read the file line-by-line using Java and creating blocks of XML [...]]]></description>
			<content:encoded><![CDATA[<br />
<b>Fatal error</b>:  Cannot redeclare class Highlighter_Xml in <b>/home1/ricards2/public_html/wp-content/plugins/fv-code-highlighter/Includes/Highlighter/Xml.php</b> on line <b>63</b><br />

