<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/discussions/f/integrations/5114/we-are-in-the-process-of-creating-a-process-to-validate-the-accuracy-of-an-addre</link><description>We are in the process of creating a process to validate the accuracy of an address and retrieve latitude and longitude values. We are attempting to use the Google Maps Geocoding API for this purpose. We are a Google Maps for Business API customer, which</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/19102?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2015 16:19:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6f02f0ab-a66a-415b-84a4-752a230e1ac7</guid><dc:creator>Justin</dc:creator><description>Great, happy to help&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/19077?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2015 01:45:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ecbf8ac-757d-48b1-9b23-b807197f602a</guid><dc:creator>Josh</dc:creator><description>I changed to Commons Codec 1.10 and specified the charset as UTF-8 and the issue is gone.  I did some more research and it turns out that Commons Codec 1.4 was the culprit.  The encodeBase64String method in 1.4 used multi-line chunking, placing a \\r\&lt;br /&gt; at the end of each line, even if the there is only one line.  That was changed in 1.5 to single-line non-chunking.  Thank you very much for your help!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/19073?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 23:02:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea0a5ca8-1d07-470b-9ceb-c05431d5b75e</guid><dc:creator>Josh</dc:creator><description>Well, that&amp;#39;s one difference.  I&amp;#39;m using 1.4.  Also, I noticed when retrieving the byte array from the resource string, you&amp;#39;re specifying the charset, where I&amp;#39;m allowing it to use the system default.  I&amp;#39;m going to adjust my code and see if I get results similar to yours.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/19071?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 22:39:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:eae460d7-60b8-40d5-be60-b3410e501f09</guid><dc:creator>Justin</dc:creator><description>1.9&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/19070?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 22:32:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c2e34aba-de8c-44cc-a9c0-c0cf5c04f97f</guid><dc:creator>Josh</dc:creator><description>What version of the Commons library are you using?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/19069?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 22:09:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:022a3612-a198-464d-8795-fc7ac5292e40</guid><dc:creator>Justin</dc:creator><description>Some quick googling says sometimes Base64 encode/decode can do that (&lt;a href="http://stackoverflow.com/questions/9341047/carriage-return-issue-decoding-base64-from-java-and-sending-to-browser)"&gt;stackoverflow.com/.../carriage-return-issue-decoding-base64-from-java-and-sending-to-browser)&lt;/a&gt;, but you are using the same Apache Commons class I am, so I&amp;#39;m not sure that&amp;#39;s it. I&amp;#39;m attaching the code I use - notable differences are it doesn&amp;#39;t use secure credential store and the algorithms are hardcoded.&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/SignGoogleUrlWithKey.java"&gt;SignGoogleUrlWithKey.java&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/19064?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 20:32:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:682b30e6-fc6e-4941-955d-91309c906742</guid><dc:creator>Josh</dc:creator><description>Figured it out.  Turns out, my signature value contained two non-printable characters (carriage return and line feed).  These are being added somewhere when generating the signature within my custom expression, but I&amp;#39;m not sure where.  I&amp;#39;ve attached the class I created that generates the signature.  Any idea where the CR and LF characters might be getting appended?&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/UrlSigner.java"&gt;UrlSigner.java&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/19060?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 19:25:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:889fc65b-271e-4779-9c93-2faf98cb9d5d</guid><dc:creator>Justin</dc:creator><description>I typed out the URL from your request and added in my keys and I can get httpquery to work. Have you tried manually entering the URL you want into httpquery(), to eliminate any potential issues with directly using the returned value from the signing expression? A network capture might also help shed some light on what is going across the wire.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/httpquery-success.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/httpquery-success.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/19059?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2015 19:07:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4d5b50fc-2c88-44cc-9177-d2ff3006fba3</guid><dc:creator>Josh</dc:creator><description>When I attempt to use a!httpQuery, I get the error &amp;quot;Illegal character in query at index 165&amp;quot; (index will change based on URL length, but it&amp;#39;s always the last character).  If I use httpget, which is an expression from the Web And XML Extensions shared component, the results come back just fine (see attached).  For reference, here&amp;#39;s the GM_generateGeocodeURL rule content:&lt;br /&gt;=with(&lt;br /&gt;  local!address: join({route.routePointAddr, route.routePointCity, route.routePointState, route.routePointZip}, &amp;quot;,&amp;quot;),&lt;br /&gt;  local!safe_address: substitute(local!address, &amp;quot; &amp;quot;, &amp;quot;+&amp;quot;),&lt;br /&gt;  local!initial_url:  cons!GOOGLE_MAPS_GEOCODE_URL_XML &amp;amp; &amp;quot;?address=&amp;quot; &amp;amp; local!safe_address &amp;amp; &amp;quot;&amp;amp;client=&amp;quot; &amp;amp; cons!GOOGLE_MAPS_CLIENT_ID,&lt;br /&gt;  local!signature: generategooglemapssignature(&lt;br /&gt;    url: local!initial_url,&lt;br /&gt;    secure_credential_store_key: &amp;quot;google.maps.for.business&amp;quot;,&lt;br /&gt;    secure_credential_store_attribute_key: &amp;quot;crytpo.key&amp;quot;,&lt;br /&gt;    algorithm_name: &amp;quot;HmacSHA1&amp;quot;&lt;br /&gt;  ),&lt;br /&gt;  local!initial_url &amp;amp; &amp;quot;&amp;amp;signature=&amp;quot; &amp;amp; local!signature&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/5025.Capture.PNG"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/5025.Capture.PNG" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: We are in the process of creating a process to validate the accuracy of an addre</title><link>https://community.appian.com/thread/18968?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2015 17:30:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dab92471-7e91-4636-9186-550b7c258802</guid><dc:creator>Justin</dc:creator><description>I&amp;#39;ve had customers integrate with Maps for Business, with plans to do expand to the Geocoding API. I ran a quick test with the same pattern I&amp;#39;ve used for Maps, and I get successful results (see attachment - keys redacted)&lt;br /&gt;&lt;br /&gt;What issue are you having while sending the value?&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/geocode_5F00_test.png"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/18/geocode_5F00_test.png" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>