<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
	<title>HotJobs API</title>
	<description>RSS for HotJobs API forum</description>
	<link>http://developer.yahoo.net/forum/index.php</link>
	<pubDate>Tue, 09 Feb 2010 18:57:28 -0800</pubDate>
	<ttl>99</ttl>
	<item>
		<title>After getting authentication unable to post the Job</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=4432</link>
		<description><![CDATA[Hi <br />                This is Sagar<br /><br /><br />I am passing the  Sample Request  Xml to the Hot Jobs Posting .But its giving   execption like this<br />The remote server returned an error: (401) Unauthorized . (Protool error)<br /><br />This is my Code<br /><br />byte[] Data = StringToUtf8Bytes(strRequest);<br />       HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(strPostURL);<br />       myRequest.Headers.Add("X-Yahoo-HJAuth-Token",strTokenValue);<br />       myRequest.Headers.Add("X-Yahoo-HJAuth-Timestamp", strDuration);<br />       myRequest.Headers.Add("X-Yahoo-HJAuth-Signature", strSignature);<br />//signature is the Md5 0f (requestXml,Duration,Jobid which  i s null, recieved  value token,Licennce key)<br />       myRequest.Method = "POST";<br />       myRequest.ContentLength = Data.Length;<br />       //Job Post XML Request<br />       // myRequest.Headers.Add("Content-Type", "application/x-www-form-urlencoded") <br />       myRequest.ContentType = "application/x-www-form-urlencoded";<br />       myRequest.Accept = "application/x-www-form-urlencoded";<br />       myRequest.Timeout = 100000;<br />       string RetVal = "";<br />       try<br />       {<br />           Stream newStream = myRequest.GetRequestStream();<br />           newStream.Write(Data, 0, Data.Length);<br />           newStream.Close();<br />           //Read the response. <br />           try<br />           {<br />               System.DateTime StartTime = DateTime.Now;<br />               HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse();<br />               Stream ResponseStream = myResponse.GetResponseStream();<br />               StreamReader ResponseStreamReader = new StreamReader(ResponseStream);<br />               RetVal = (RetVal + ResponseStreamReader.ReadToEnd());<br />               ResponseStreamReader.Close();<br />           }<br />           catch (WebException WebExcp)<br />           {<br />               string strRes = WebExcp.Message;<br />               string strStatusExp = WebExcp.Status.ToString();             <br />           }<br />       }<br />       catch (WebException ex)<br />       {<br />           RetVal = ex.Message;<br />       }<br />       return RetVal;]]></description>
		<pubDate>Tue, 02 Feb 2010 02:14:33 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=4432</guid>
	</item>
	<item>
		<title>API KEY Link not Working</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=4192</link>
		<description><![CDATA[When I click to get the API Key for hotjobs at <a href="http://hotjobsresources.com/technologypartners.cfm" rel="nofollow" target="ext">http://hotjobsresources.com/technologypartners.cfm</a><br /><br />I get file not found.<br /><br />Any other way to get one?]]></description>
		<pubDate>Wed, 13 Jan 2010 12:11:16 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=4192</guid>
	</item>
	<item>
		<title>API KEY Link not Working</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=4192</link>
		<description><![CDATA[Brian,<br /><br />Where is that linked from?<br /><br />Thanks,<br />Robyn Tippins<br />Community Manager, YDN]]></description>
		<pubDate>Wed, 13 Jan 2010 12:11:16 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=4192</guid>
	</item>
	<item>
		<title>Advanced request for HotJobs RSS feed is not working</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3744</link>
		<description><![CDATA[I tried the following advanced request, published as example in Yahoo HotJobs RSS feed documentation:<br /><br /><a href="http://hotjobs.yahoo.com/api/jobsearch/search_results_rss.html?keywords_all=writer" rel="nofollow" target="ext">http://hotjobs.yahoo.com/api/jobsearch/sea...ords_all=writer</a> &city1=San+Jose &state1=CA <br /><br />Instead of RSS feed I got the following error message: <br /><br />Sorry, Forbidden. You don't have permission to access this URL on this server.<br /><br />Can anyone please let me know how I can get required permission - detailed answer will be very much appreciated.<br /><br />Thanks a lot ...]]></description>
		<pubDate>Tue, 08 Dec 2009 07:17:51 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3744</guid>
	</item>
	<item>
		<title>Advanced request for HotJobs RSS feed is not working</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=3744</link>
		<description><![CDATA[Please use this url  <a href="http://hotjobs.yahoo.com/job-rss-l-San_Jose-CA-k-writer" rel="nofollow" target="ext">http://hotjobs.yahoo.com/job-rss-l-San_Jose-CA-k-writer</a><br /><br />This url can be found in  job search results page [1] below the filters on the left side of the page, its called "GET SEARCH RESULTS" click on the rss icon <br /><br />We are in the verge of updating the RSS document , sorry for the trouble <br /><br />Thanks,<br /><br />[1]. <a href="http://hotjobs.yahoo.com/job-search?src=advsearch&pageOp=search&kw_search_type=kwall&kw=writer&kw_none=&locations=San+Jose%2CCA&country=&locations=&locations=&industry=&industry=&industry=&updated_since=sixtydays&exp_level=&experience_level=&education=&salary" rel="nofollow" target="ext">http://hotjobs.yahoo.com/job-search?src=ad...ion=&salary</a>[min]=&salary[type]=yearly&commitment=FT&commitment=PT&jobtype=PERM&jobtype=CONT&travel_amount=&company=&source=&search_jobs=Search+Jobs<br /><br /><br /><br /><!--quoteo(post=10241:date=Dec 8 2009, 07&#58;17 AM:name=webboholic1954)--><div class='quote'><div class='quotetop'>QUOTE <cite>(webboholic1954 &#064; Dec 8 2009, 07&#58;17 AM) <a href="index.php?act=findpost&pid=10241"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I tried the following advanced request, published as example in Yahoo HotJobs RSS feed documentation:<br /><br /><a href="http://hotjobs.yahoo.com/api/jobsearch/search_results_rss.html?keywords_all=writer" rel="nofollow" target="ext">http://hotjobs.yahoo.com/api/jobsearch/sea...ords_all=writer</a> &city1=San+Jose &state1=CA <br /><br />Instead of RSS feed I got the following error message: <br /><br />Sorry, Forbidden. You don't have permission to access this URL on this server.<br /><br />Can anyone please let me know how I can get required permission - detailed answer will be very much appreciated.<br /><br />Thanks a lot ...<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Tue, 08 Dec 2009 07:17:51 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=3744</guid>
	</item>
	<item>
		<title>HotJobs API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2865</link>
		<description><![CDATA[Is it possible to configure (use) the API to search for and display relevant job search results based on a user's form input (from a unrelated form)?  More specifically, we have a multipage form that enables users to select a 'job category' and 'job title', as well as, contact information, i.e., first name, last name, city, state, zip code, etc.  Ideally, we would like to display relevant job search results based on the user's 'job title', 'city', 'state' and/or 'zip code'.<br /><br />Is this possible?<br /><br />How, specifically, can it be accomplished?<br /><br />Many thanks.<br /><br />Jeff -]]></description>
		<pubDate>Mon, 28 Sep 2009 10:17:54 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2865</guid>
	</item>
	<item>
		<title>Imposter Employer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2725</link>
		<description><![CDATA[I recently recieved an email from an employer claiming to be affiliated with  a company named International Design Centers, offering me a position as "US Financial Manager". This is a scam employer, using the  hotjobs website to search and choose their victim. I'm not sure if you can stop these actions or if I'm addressing my concerns towards the correct department. I have all documents, information and email messages saved and would more than happy to forward them.  Please take this as a warning!! There are predetors on your hotjobs website taking advantage of job seekers!! Please reply.  I hope I can be of assistance in your investigation on this matter.]]></description>
		<pubDate>Mon, 14 Sep 2009 18:29:03 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2725</guid>
	</item>
	<item>
		<title>Imposter Employer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2725</link>
		<description><![CDATA[Hi,<br /><br />Thanks for bringing this to our attention. The company named International Design Centers doesn't exist in our database, so they couldn't have got your email address from us. This sounds like a phishing email.<br /><br />Please forward the email you received from this company to saniye@yahoo-inc.com so that we can double check.<br /><br />Thanks,<br />Saniye<br /><br /><!--quoteo(post=7766:date=Sep 14 2009, 05&#58;29 PM:name=Nita)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Nita &#064; Sep 14 2009, 05&#58;29 PM) <a href="index.php?act=findpost&pid=7766"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I recently recieved an email from an employer claiming to be affiliated with  a company named International Design Centers, offering me a position as "US Financial Manager". This is a scam employer, using the  hotjobs website to search and choose their victim. I'm not sure if you can stop these actions or if I'm addressing my concerns towards the correct department. I have all documents, information and email messages saved and would more than happy to forward them.  Please take this as a warning!! There are predetors on your hotjobs website taking advantage of job seekers!! Please reply.  I hope I can be of assistance in your investigation on this matter.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 14 Sep 2009 18:29:03 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2725</guid>
	</item>
	<item>
		<title>Cant retrieve search results</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2123</link>
		<description><![CDATA[Hi, I'm able to successfully login and create a search, but when I try to retrieve the results, I get "Requested Resume Filter not found".<br /><br />I'm running this search:<br /><br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->&#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62;<br />                &#60;SearchCriteria&#62;<br />                   <br />                    &#60;SearchCriterion&#62;<br />                        &#60;CriterionName&#62;Keywords&#60;/CriterionName&#62;<br />                        &#60;CriterionValue&#62;engineer&#60;/CriterionValue&#62;<br />                    &#60;/SearchCriterion&#62;<br />                <br />                    &#60;SearchCriterion&#62;<br />                        &#60;CriterionName&#62;Location&#60;/CriterionName&#62;<br />                        &#60;CriterionValue&#62;<br />                        &#60;Location&#62;<br />                            &#60;Municipality&#62;Sunnyvale&#60;/Municipality&#62;<br />                            &#60;Region&#62;CA&#60;/Region&#62;<br />                            &#60;CountryCode&#62;USA&#60;/CountryCode&#62;<br />                            &#60;Radius&#62;0&#60;/Radius&#62;<br />                        &#60;/Location&#62;<br />                        &#60;/CriterionValue&#62;<br />                    &#60;/SearchCriterion&#62;<br />                <br /><br />                &#60;/SearchCriteria&#62;<!--c2--></code></pre></div><!--ec2--><br /><br /><br />and I get this response:<br /><br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->HTTP/1.1 201 Created<br />Date&#58; Wed, 15 Jul 2009 15&#58;33&#58;09 GMT<br />P3P&#58; policyref=&#34;http&#58;//p3p.yahoo.com/w3c/p3p.xml&#34;, CP=&#34;CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV&#34;<br />Location&#58; http&#58;//hj.yahooapis.com/v1/ResumeFilter/1247671989<br />Content-Location&#58; http&#58;//hj.yahooapis.com/v1/ResumeFilter/1247671989<br />Last-Modified&#58; Wed, 15 Jul 2009 15&#58;33&#58;09 GMT<br />Cache-Control&#58; private<br />Connection&#58; close<br />Transfer-Encoding&#58; chunked<br />Content-Type&#58; application/xml;charset=utf-8<br /> <br />&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;<br />&#60;ResumeFilter xmlns=&#34;http&#58;//hj.yahooapis.com/v1/schema.rng&#34; xmlns&#58;yahoo=&#34;http&#58;//www.yahooapis.com/v1/base.rng&#34; xml&#58;lang=&#34;en-US&#34; yahoo&#58;uri=&#34;http&#58;//hj.yahooapis.com/v1/ResumeFilter/1247671989&#34; yahoo&#58;updated=&#34;2009-07-15T15&#58;33&#58;09Z&#34; yahoo&#58;created=&#34;2009-07-15T15&#58;33&#58;09Z&#34; id=&#34;1247671989&#34;&#62;<br />&#60;id&#62;1247671989&#60;/id&#62;<br />&#60;ResumeCount&#62;963&#60;/ResumeCount&#62;<br />&#60;/ResumeFilter&#62;<!--c2--></code></pre></div><!--ec2--><br /><br /><br />So I issue a request for the results:<br /><br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->http&#58;//hj.yahooapis.com/v1/ResumeFilter/1247671989/Resumes;start=1;count=100<!--c2--></code></pre></div><!--ec2--><br /><br />And get the response:<br /><br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->HTTP/1.1 404 Not Found<br />Date&#58; Wed, 15 Jul 2009 15&#58;33&#58;11 GMT<br />P3P&#58; policyref=&#34;http&#58;//p3p.yahoo.com/w3c/p3p.xml&#34;, CP=&#34;CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV&#34;<br />Cache-Control&#58; private<br />Connection&#58; close<br />Transfer-Encoding&#58; chunked<br />Content-Type&#58; application/xml;charset=utf-8<br /> <br />&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;<br />&#60;yahoo&#58;error xmlns=&#34;http&#58;//hj.yahooapis.com/v1/schema.rng&#34; xmlns&#58;yahoo=&#34;http&#58;//www.yahooapis.com/v1/base.rng&#34; xml&#58;lang=&#34;en-US&#34;&#62;<br />&#60;yahoo&#58;description&#62;Requested Resume Filter not found&#60;/yahoo&#58;description&#62;<br />&#60;yahoo&#58;detail&#62;<br />&#60;ErrorCode&#62;511&#60;/ErrorCode&#62;<br />&#60;/yahoo&#58;detail&#62;<br />&#60;/yahoo&#58;error&#62;<!--c2--></code></pre></div><!--ec2--><br /><br /><br />Any idea why the Requested Resume Filter is not found?<br /><br /><br />Thanks in advance,<br /><br />Beau]]></description>
		<pubDate>Wed, 15 Jul 2009 08:39:19 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2123</guid>
	</item>
	<item>
		<title>Cant retrieve search results</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2123</link>
		<description><![CDATA[Hi Beau,<br />A Resume Filter (the search you have created) is valid only for that particular session, and does not live across sessions. You should call the search results in the same session in which you have created the search. You have created the search in one session, requested for the authentication token (which creates a new session) and then called for search results. The Authentication web service should be called only once in the beginning and the same token should be used for other web services. The token expires after 8 hours, post which you need to start a new session.<br />Thanks<br />--<br />Amit Rawat]]></description>
		<pubDate>Wed, 15 Jul 2009 08:39:19 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2123</guid>
	</item>
	<item>
		<title>Web 2.0  marketing portal web site platform</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2114</link>
		<description><![CDATA[Web 2.0  marketing portal web site platform.<br />I am looking for serious software engineer architect that would be abel to develop a  Web 2.0  marketing portal web site platform modeled from yahoo.com by the means of the Yahoo! User Interface Library coding.<br />Having a real tight budget I would rather like to find a candidates from Emerging economy <br />As this kind of platform is kind of sophisticated I would rather like to start from developping the welcome page and all its services before starting developping all the suplementary scripts of any kind of relevant sites belonging to this web portal products and services offered.<br />I also need some other kind of software developper in PHP & Perl programming language for some other projects]]></description>
		<pubDate>Tue, 14 Jul 2009 13:28:32 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2114</guid>
	</item>
	<item>
		<title>Web 2.0  marketing portal web site platform</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2114</link>
		<description><![CDATA[Please post these in the business forum.  <br /><br /><a href="http://developer.yahoo.net/forum/index.php?showforum=99" rel="nofollow" target="ext">http://developer.yahoo.net/forum/index.php?showforum=99</a><br /><br />Robyn Tippins<br />Community Manager, YDN]]></description>
		<pubDate>Tue, 14 Jul 2009 13:28:32 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2114</guid>
	</item>
	<item>
		<title>Need a PHP collaborator for a new project</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2109</link>
		<description><![CDATA[I want to develop a new online project but I need a PHp collaborator to work with. For more details, please contact me. Note that you will be part of the project but I don't have a budget for this.]]></description>
		<pubDate>Tue, 14 Jul 2009 03:15:48 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2109</guid>
	</item>
	<item>
		<title>Need a PHP collaborator for a new project</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=2109</link>
		<description><![CDATA[Please post these in the business forum.  <br /><br /><a href="http://developer.yahoo.net/forum/index.php?showforum=99" rel="nofollow" target="ext">http://developer.yahoo.net/forum/index.php?showforum=99</a><br /><br />Robyn Tippins<br />Community Manager, YDN]]></description>
		<pubDate>Tue, 14 Jul 2009 03:15:48 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=2109</guid>
	</item>
	<item>
		<title>HTTP Custom Header</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1209</link>
		<description><![CDATA[I am getting HotJob Status Code 12 (Invalid Signature) returned from my job post.<br /><br />The following is my test Java program:<br /><!--quoteo--><div class='quote'><div class='quotetop'>QUOTE <cite></cite></div><blockquote class='quotemain'><!--quotec-->package test.hotjob;<br /><br />import java.io.BufferedReader;<br />import java.io.IOException;<br />import java.io.InputStreamReader;<br />import java.io.OutputStream;<br />import java.net.HttpURLConnection;<br />import java.net.MalformedURLException;<br />import java.net.URL;<br />import java.net.URLConnection;<br />import java.security.MessageDigest;<br />import java.security.NoSuchAlgorithmException;<br /><br />public class HotJobTest<br />{<br />    private static  final   String  DEFAULT_USERNAME="myLoginb";<br />    private static  final   String  DEFAULT_PASSWORD="myPassword";<br />    private static  final   String  DEFAULT_LICENSE ="myLicense";<br /><br />    private static String REQUEST_AUTH=""<br />    + "&lt;?xml version=&#92;"1.0&#92;" encoding=&#92;"UTF-8&#92;" standalone=&#92;"yes&#92;"?&gt;&#92;n"<br />    + "&lt;atom:feed xmlns:yheader=&#92;"http://schemas.yahoo.com/ypost/jobsHeader/3.0&#92;"&#92;n"<br />    + " xmlns:atom=&#92;"http://www.w3.org/2005/Atom&#92;"&#92;n"<br />    + " xmlns:yjob=&#92;"http://schemas.yahoo.com/ypost/jobs/3.0&#92;"&#92;n"<br />    + " xmlns:ycontrol=&#92;"http://schemas.yahoo.com/ypost/control/1.0&#92;"&gt;&#92;n"<br />    + " &lt;yheader:Credential&gt;&#92;n"<br />    + " &lt;yheader:Login&gt;"+DEFAULT_USERNAME+"&lt;/yheader:Login&gt;&#92;n"<br />    + " &lt;yheader:Password&gt;"+DEFAULT_PASSWORD+"&lt;/yheader:Password&gt; &#92;n"<br />    + " &lt;yheader:Version&gt;3.0&lt;/yheader:Version&gt;&#92;n"<br />    + " &lt;yheader:LicenseKey&gt;"+DEFAULT_LICENSE+"&lt;/yheader:LicenseKey&gt;&#92;n"<br />    + " &lt;/yheader:Credential&gt;&#92;n"<br />    // + " &lt;atom:id&gt;1-EVWGO&lt;/atom:id&gt;&#92;n"<br />    + "&lt;/atom:feed&gt;&#92;n";<br /><br />    private static String REQUEST_POST=""<br />    +   "&lt;?xml version=&#92;"1.0&#92;" encoding=&#92;"UTF-8&#92;" standalone=&#92;"yes&#92;"?&gt;&#92;n"<br />    +   "&lt;atom:feed xmlns:yheader=&#92;"http://schemas.yahoo.com/ypost/jobsHeader/3.0&#92;" xmlns:atom=&#92;"http://www.w3.org/2005/Atom&#92;" xmlns:yjob=&#92;"http://schemas.yahoo.com/ypost/jobs/3.0&#92;" xmlns:ycontrol=&#92;"http://schemas.yahoo.com/ypost/control/1.0&#92;"&gt;&#92;n"<br />    +   "    &lt;yjob:ListingType&gt;SLOT&lt;/yjob:ListingType&gt;&#92;n"<br />    +   "    &lt;yjob:EmployerProfileId&gt;PROFILE_ID&lt;/yjob:EmployerProfileId&gt;&#92;n"<br />    +   "    &lt;atom:entry&gt;&#92;n"<br />    +   "        &lt;ycontrol:Operation&gt;POST&lt;/ycontrol:Operation&gt;&#92;n"<br />    +   "        &lt;yjob:Public&gt;true&lt;/yjob:Public&gt;&#92;n"<br />    +   "        &lt;yjob:PostDuration&gt;30&lt;/yjob:PostDuration&gt;&#92;n"<br />    +   "        &lt;yjob:BoldJobDuration&gt;7&lt;/yjob:BoldJobDuration&gt;&#92;n"<br />    +   "        &lt;yjob:CompanyConfidential&gt;No&lt;/yjob:CompanyConfidential&gt;&#92;n"<br />    +   "        &lt;atom:id&gt;SWEngineer-SlotNew&lt;/atom:id&gt;&#92;n"<br />    +   "        &lt;yjob:IoNumber&gt;IONUM-00001&lt;/yjob:IoNumber&gt;&#92;n"<br />    +   "        &lt;atom:title&gt;Change-EDU/EXP&lt;/atom:title&gt;&#92;n"<br />    +   "        &lt;yjob:EmployerName&gt;HJTest&lt;/yjob:EmployerName&gt;&#92;n"<br />    +   "        &lt;yjob:PartnerContact&gt;&#92;n"<br />    +   "            &lt;yjob:Name Type=&#92;"Family&#92;"&gt;Yahoo&lt;/yjob:Name&gt;&#92;n"<br />    +   "            &lt;yjob:Name Type=&#92;"Given&#92;"&gt;HJ&lt;/yjob:Name&gt;&#92;n"<br />    +   "            &lt;yjob:Phone Type=&#92;"business&#92;"&gt;5109360000&lt;/yjob:Phone&gt;&#92;n"<br />    +   "            &lt;yjob:Email Type=&#92;"business&#92;"&gt;sswami@yahoo-inc.com&lt;/yjob:Email&gt;&#92;n"<br />    +   "        &lt;/yjob:PartnerContact&gt;&#92;n"<br />    +   "        &lt;yjob:Location&gt;&#92;n"<br />    +   "            &lt;yjob:Municipality&gt;New York&lt;/yjob:Municipality&gt;&#92;n"<br />    +   "            &lt;yjob:Region&gt;NY&lt;/yjob:Region&gt;&#92;n"<br />    +   "            &lt;yjob:PostalCode&gt;10001&lt;/yjob:PostalCode&gt;&#92;n"<br />    +   "            &lt;yjob:CountryCode&gt;USA&lt;/yjob:CountryCode&gt;&#92;n"<br />    +   "        &lt;/yjob:Location&gt;&#92;n"<br />    +   "        &lt;yjob:Location&gt;&#92;n"<br />    +   "            &lt;yjob:Municipality&gt;Sunnyvale&lt;/yjob:Municipality&gt;&#92;n"<br />    +   "            &lt;yjob:Region&gt;CA&lt;/yjob:Region&gt;&#92;n"<br />    +   "            &lt;yjob:PostalCode&gt;94089&lt;/yjob:PostalCode&gt;&#92;n"<br />    +   "            &lt;yjob:CountryCode&gt;USA&lt;/yjob:CountryCode&gt;&#92;n"<br />    +   "        &lt;/yjob:Location&gt;&#92;n"<br />    +   "        &lt;yjob:Industry&gt;MIS&lt;/yjob:Industry&gt;&#92;n"<br />    +   "        &lt;yjob:Function&gt;MIS-SOFTW&lt;/yjob:Function&gt;&#92;n"<br />    +   "        &lt;yjob:HireType&gt;CONT&lt;/yjob:HireType&gt;&#92;n"<br />    +   "        &lt;yjob:Duration&gt;PT&lt;/yjob:Duration&gt;&#92;n"<br />    +   "        &lt;yjob:Experience level=&#92;"MID&#92;"&gt;5-10&lt;/yjob:Experience&gt;&#92;n"<br />    +   "        &lt;yjob:Degree pref=&#92;"0&#92;"&gt;PHD&lt;/yjob:Degree&gt;&#92;n"<br />    +   "        &lt;yjob:SalaryType&gt;Salaried&lt;/yjob:SalaryType&gt;&#92;n"<br />    +   "        &lt;yjob:SalaryFrom Currency=&#92;"USD&#92;"&gt;100000&lt;/yjob:SalaryFrom&gt;&#92;n"<br />    +   "        &lt;yjob:SalaryTo Currency=&#92;"USD&#92;"&gt;120000&lt;/yjob:SalaryTo&gt;&#92;n"<br />    +   "        &lt;yjob:AdditionalComp&gt;Negotiable&lt;/yjob:AdditionalComp&gt;&#92;n"<br />    +   "        &lt;yjob:DisplaySalary&gt;true&lt;/yjob:DisplaySalary&gt;&#92;n"<br />    +   "        &lt;yjob:TravelAmount&gt;0&lt;/yjob:TravelAmount&gt;&#92;n"<br />    +   "        &lt;yjob:EmploymentAuthorization&gt;Yes&lt;/yjob:EmploymentAuthorization&gt;&#92;n"<br />    +   "        &lt;yjob:HiringTest&gt;&lt;/yjob:HiringTest&gt;&#92;n"<br />    +   "        &lt;yjob:ApplyType&gt;O&lt;/yjob:ApplyType&gt;&#92;n"<br />    +   "        &lt;yjob:ApplySettings&gt;&#92;n"<br />    +   "            &lt;yjob:ApplyContact&gt;&#92;n"<br />    +   "                &lt;yjob:Name type=&#92;"First&#92;"&gt;First Name&lt;/yjob:Name&gt;&#92;n"<br />    +   "                &lt;yjob:Name type=&#92;"Last&#92;"&gt;Last Name&lt;/yjob:Name&gt;&#92;n"<br />    +   "                &lt;yjob:Phone type=&#92;"business&#92;"&gt;111-111-1111&lt;/yjob:Phone&gt;&#92;n"<br />    +   "            &lt;/yjob:ApplyContact&gt;&#92;n"<br />    +   "            &lt;yjob:ApplyFax&gt;Apply FAX&lt;/yjob:ApplyFax&gt;&#92;n"<br />    +   "            &lt;yjob:ApplyURL&gt;http://abc.com&lt;/yjob:ApplyURL&gt;&#92;n"<br />    +   "            &lt;yjob:ApplyEmail&gt;bhaskarr@yahoo-inc.com&lt;/yjob:ApplyEmail&gt;&#92;n"<br />    +   "            &lt;yjob:ApplyAddress&gt;&#92;n"<br />    +   "                &lt;yjob:AddressLine&gt;123 333rd Street&lt;/yjob:AddressLine&gt;&#92;n"<br />    +   "                &lt;yjob:AddressLine&gt;5th floor&lt;/yjob:AddressLine&gt;&#92;n"<br />    +   "                &lt;yjob:Municipality&gt;Oakland&lt;/yjob:Municipality&gt;&#92;n"<br />    +   "                &lt;yjob:Region&gt;CA&lt;/yjob:Region&gt;&#92;n"<br />    +   "                &lt;yjob:PostalCode&gt;94089&lt;/yjob:PostalCode&gt;&#92;n"<br />    +   "                &lt;yjob:CountryCode&gt;USA&lt;/yjob:CountryCode&gt;&#92;n"<br />    +   "            &lt;/yjob:ApplyAddress&gt;&#92;n"<br />    +   "        &lt;/yjob:ApplySettings&gt;&#92;n"<br />    +   "        &lt;atom:summary type=&#92;"text&#92;"&gt;SHORT DESCRIPTION&lt;/atom:summary&gt;&#92;n"<br />    +   "        &lt;atom:content type=&#92;"html&#92;"&gt;LONG DESCRIPTION&lt;/atom:content&gt;&#92;n"<br />    +   "    &lt;/atom:entry&gt;&#92;n"<br />    +   "&lt;/atom:feed&gt;&#92;n"<br />    ;<br /><br />    protected String requestHotJobAuth()<br />    {<br />        StringBuilder sb= new StringBuilder();<br /><br />        try<br />        {<br />            URL url = new URL( "https://hj.yahooapis.com/v1/HJAuthTokens" );<br />            URLConnection conn= url.openConnection();<br /><br />            if( conn instanceof HttpURLConnection )<br />                ((HttpURLConnection )conn).setRequestMethod( "POST" );<br /><br />            conn.setRequestProperty("Content-Type"  ,"text/xml; charset=utf-8" );<br />            conn.setRequestProperty("Content-Length", Integer.toString( REQUEST_AUTH.length()));<br /><br />            conn.setDoOutput( true );<br />            conn.setDoInput( true );<br /><br />            // Write the request out to the URL.<br />            OutputStream out = conn.getOutputStream();<br />            out.write( REQUEST_AUTH.getBytes() );<br />            out.close();<br /><br />            // Read the response from the URL.<br />            BufferedReader br =new BufferedReader(new InputStreamReader( conn.getInputStream() ));<br /><br />            for( String ln="" ; ln != null ; ln = br.readLine() )<br />            {<br />                sb.append( ln.replaceAll("&lt;" ,"&lt;" )<br />                             .replaceAll("&gt;" ,"&gt;" )<br />                             .replaceAll("&amp;" ,"&" )<br />                             .replaceAll(""" ,"&#92;"" )<br />                );<br />            }<br />            br.close();<br />        }<br />        catch( MalformedURLException mux )<br />        {<br />            System.out.print("ERROR: <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a> is malformed!");<br />        }<br />        catch( IOException iox )<br />        {<br />            System.out.print("ERROR: <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a> is NOT reachable!");<br />        }<br /><br />        return sb.toString();<br />    }<br /><br />    protected String postToHotJob()<br />    {<br />        long            tStamp  =     System.currentTimeMillis();<br />        StringBuilder   sb      = new StringBuilder();<br />        String          response=     requestHotJobAuth();<br />        String          token   =     response.substring( response.indexOf("&lt;Token&gt;")+7, response.indexOf("&lt;/Token&gt;"));<br /><br />        try<br />        {<br />            MessageDigest   msgDigest=    MessageDigest.getInstance("MD5");<br />            StringBuffer    signature=new StringBuffer();<br /><br />            msgDigest.reset();<br />            msgDigest.update( (REQUEST_POST +Long.toString(tStamp) +token +DEFAULT_LICENSE).getBytes() );<br />            byte md5[] = msgDigest.digest();<br /><br />            for(int i = 0 ; i &lt; md5.length ; i++ )<br />            {<br />                int intVal = md5[i] & 0xff;<br /><br />                if( intVal &lt; 10 )<br />                    signature.append("0");<br /><br />                signature.append( Integer.toHexString( intVal ) );<br />            }<br /><br />            URL url = new URL( "http://hj.yahooapis.com/v1/Jobs" );<br />            URLConnection conn= url.openConnection();<br /><br />            if( conn instanceof HttpURLConnection )<br />                ((HttpURLConnection )conn).setRequestMethod( "POST" );<br /><br />            conn.setRequestProperty("Content-Type"              ,"text/xml; charset=utf-8"  );<br />            conn.setRequestProperty("Content-Length"            ,Integer.toString( REQUEST_POST.length()));<br />            conn.setRequestProperty("X-Yahoo-HJAuth-Token"      ,token                      );<br />            System.out.println(     "X-Yahoo-HJAuth-Token: "    +token                      );<br />            conn.setRequestProperty("X-Yahoo-HJAuth-Timestamp"  ,Long.toString(tStamp)      );<br />            System.out.println(     "X-Yahoo-HJAuth-Timestamp: "+Long.toString(tStamp)      );<br />            conn.setRequestProperty("X-Yahoo-HJAuth-Signature"  ,signature.toString()       );<br />            System.out.println(     "X-Yahoo-HJAuth-Signature: "+signature.toString()       );<br /><br />            conn.setDoOutput( true );<br />            conn.setDoInput(  true );<br /><br />            // Write the request out to the URL.<br />            OutputStream out = conn.getOutputStream();<br />            out.write( REQUEST_POST.getBytes() );<br />            System.out.println( REQUEST_POST );<br />            out.close();<br /><br />            // Read the response from the URL.<br />            BufferedReader br =new BufferedReader(new InputStreamReader( conn.getInputStream() ));<br /><br />            for( String ln="" ; ln != null ; ln = br.readLine() )<br />            {<br />                sb.append( ln.replaceAll("&lt;" ,"&lt;" )<br />                             .replaceAll("&gt;" ,"&gt;" )<br />                             .replaceAll("&amp;" ,"&" )<br />                             .replaceAll(""" ,"&#92;"" )<br />                );<br />            }<br />            br.close();<br />        }<br />        catch (NoSuchAlgorithmException nax)<br />        {<br />            System.out.print("ERROR: Could not instantiate MD5 message digest!");<br />        }<br />        catch( MalformedURLException mux )<br />        {<br />            System.out.print("ERROR: <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a> is malformed!");<br />        }<br />        catch( IOException iox )<br />        {<br />            System.out.println( iox.getMessage() );<br />            System.out.println("ERROR: <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a> is NOT reachable!");<br />        }<br /><br />        return sb.toString();<br />    }<br /><br />    public static void main(String[] args)<br />    {<br />        HotJobTest hjAuth = new HotJobTest();<br /><br />        System.out.println( hjAuth.postToHotJob().replace("&gt;&lt;" ,"&gt;&#92;n&lt;") );<br />    }<br />}<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />The Job post is directly taken from <a href="http://developer.yahoo.com/hotjobs/job_post_api_user_guide/request-xml-sample.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/job_pos...xml-sample.html</a>.  Is there any sample Java program out there that can illustrate out how to construct the HotJob Custom HTTP X-Yahoo-HJAuth-Signature value?  If anyone can point out my mistake, I would greatly appreciate it.<br /><br />Thanks.]]></description>
		<pubDate>Fri, 17 Apr 2009 21:17:09 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1209</guid>
	</item>
	<item>
		<title>HTTP Custom Header</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1209</link>
		<description><![CDATA[<!--quoteo(post=3606:date=Apr 17 2009, 08&#58;17 PM:name=Edward L)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Edward L &#064; Apr 17 2009, 08&#58;17 PM) <a href="index.php?act=findpost&pid=3606"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I am getting HotJob Status Code 12 (Invalid Signature) returned from my job post.<br /><br />The following is my test Java program:<br /><br /><br />Is there any sample Java program out there that can illustrate out how to construct the HotJob Custom HTTP X-Yahoo-HJAuth-Signature value?  If anyone can point out my mistake, I would greatly appreciate it.<br /><br />Thanks.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br />I'm using C#, so I don't know about Java samples.  However, I was getting the same errors until I converted my MD5 hashes to lowercase hex.  If that alone doesn't do the trick, try using an online md5 hash calculator to see if your hashes match.<br /><br />Matt]]></description>
		<pubDate>Fri, 17 Apr 2009 21:17:09 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1209</guid>
	</item>
	<item>
		<title>HTTP Custom Header</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1209</link>
		<description><![CDATA[<!--quoteo(post=3644:date=Apr 20 2009, 01&#58;57 PM:name=etteuhcsttam)--><div class='quote'><div class='quotetop'>QUOTE <cite>(etteuhcsttam &#064; Apr 20 2009, 01&#58;57 PM) <a href="index.php?act=findpost&pid=3644"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I'm using C#, so I don't know about Java samples.  However, I was getting the same errors until I converted my MD5 hashes to lowercase hex.  If that alone doesn't do the trick, try using an online md5 hash calculator to see if your hashes match.<br /><br />Matt<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br />Hi etteuhcsttam:<br /><br />Could you post your C# sample for us to get an idea how to construct the signature?  I would greatly appreciate it.]]></description>
		<pubDate>Fri, 17 Apr 2009 21:17:09 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1209</guid>
	</item>
	<item>
		<title>HTTP Custom Header</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1209</link>
		<description><![CDATA[<!--quoteo(post=3757:date=Apr 22 2009, 07&#58;18 PM:name=Edward L)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Edward L &#064; Apr 22 2009, 07&#58;18 PM) <a href="index.php?act=findpost&pid=3757"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Hi etteuhcsttam:<br /><br />Could you post your C# sample for us to get an idea how to construct the signature?  I would greatly appreciate it.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Sure, here are the two overloads I use.  The main method takes a searchId, which corresponds to either SearchId for the Resume Search, Modify Search or Search Results; or ResumeId (Resumes/Resume/id is the xpath based on the XML Search Results returns) for View Resume.  Search Results and View Resume pass string.Empty for xmlRequest.<br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->        private string GetAuthSignature&#40;string xmlRequest, long timestamp&#41;<br />        {<br />            return GetAuthSignature&#40;xmlRequest, timestamp, string.Empty&#41;;<br />        }<br /><br />        private string GetAuthSignature&#40;string xmlRequest, long timestamp, string searchId&#41;<br />        {<br />            string ret = string.Empty;<br /><br />            try<br />            {<br />                if &#40;searchId == null&#41; searchId = string.Empty;<br /><br />                string sig = string.Format&#40;&#34;{0}{1}{2}{3}{4}&#34;, xmlRequest, timestamp.ToString&#40;&#41;, searchId,<br />                    m_AuthToken, m_LicenseKey&#41;;<br />                byte&#91;&#93; sigBytes = UTF8Encoding.UTF8.GetBytes&#40;sig&#41;;<br /><br />                MD5CryptoServiceProvider csp = new MD5CryptoServiceProvider&#40;&#41;;<br />                byte&#91;&#93; md5Bytes = csp.ComputeHash&#40;sigBytes&#41;;<br /><br />                // NOTE&#58; The MD5 hash is apparently case-sensitive, as this fails Y! authentication without <br />                //       the ToLower&#40;&#41;.<br />                ret = BitConverter.ToString&#40;md5Bytes&#41;.Replace&#40;&#34;-&#34;, string.Empty&#41;.ToLower&#40;&#41;;<br />            }<br />            catch { }<br /><br />            return ret;<br />        }<!--c2--></code></pre></div><!--ec2--><br /><br />Also, instead of BitConverter many MD5 hash examples show a for loop over the byte array that appends to a StringBuilder.  This works too, as long as you use .ToString("x2"), and NOT .ToString("X2").  The case of the 'x' is the only difference.<br /><br />Hope this helps!<br /><br />Matt]]></description>
		<pubDate>Fri, 17 Apr 2009 21:17:09 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1209</guid>
	</item>
	<item>
		<title>HTTP Custom Header</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1209</link>
		<description><![CDATA[Thanks for your example.  I am still getting the following returned back to me:<br /><br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->HTTP/1.1 401 Authorization Required<br />Date&#58; Mon, 08 Jun 2009 10&#58;32&#58;05 GMT<br />P3P&#58; policyref=&#34;http&#58;//p3p.yahoo.com/w3c/p3p.xml&#34;, CP=&#34;CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV&#34;<br />Cache-Control&#58; private<br />Connection&#58; close<br />Transfer-Encoding&#58; chunked<br />Content-Type&#58; application/xml;charset=utf-8<br /><br />17d    <br />&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;<br />&#60;yahoo&#58;error xmlns=&#34;http&#58;//hj.yahooapis.com/v1/schema.rng&#34; xmlns&#58;yahoo=&#34;http&#58;//www.yahooapis.com/v1/base.rng&#34; xml&#58;lang=&#34;en-US&#34;&#62;<br />&#60;yahoo&#58;description&#62;Invalid Signature&#60;/yahoo&#58;description&#62;<br />&#60;yahoo&#58;detail&#62;<br />&#60;ErrorCode&#62;12&#60;/ErrorCode&#62;<br />&#60;/yahoo&#58;detail&#62;<br />&#60;/yahoo&#58;error&#62;<br />&#60;!-- atsweb01.hj.re3.yahoo.com uncompressed/chunked Mon Jun  8 03&#58;32&#58;05 PDT 2009 --&gt;<br /><br />0<!--c2--></code></pre></div><!--ec2--><br /><br />Does anyone have a sample java program that you can post for us all?  It will be greatly appreciated.]]></description>
		<pubDate>Fri, 17 Apr 2009 21:17:09 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1209</guid>
	</item>
	<item>
		<title>HTTP Custom Header</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1209</link>
		<description><![CDATA[Finally I got something working in Java.  I have been doing something else and this project became low priority.  With the help of HJ engineer (Amit) we got it going and the following is the source code to my test program and I hope it will help you all now and  in the future.  The job example was cut-n-paste from <a href="http://developer.yahoo.com/hotjobs/job_post_api_user_guide/job-post.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/job_pos...e/job-post.html</a><br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->package test.hotjob;<br /><br />import java.io.BufferedReader;<br />import java.io.IOException;<br />import java.io.InputStreamReader;<br />import java.io.OutputStream;<br />import java.net.HttpURLConnection;<br />import java.net.MalformedURLException;<br />import java.net.URL;<br />import java.net.URLConnection;<br /><br />import java.security.MessageDigest;<br />import java.security.NoSuchAlgorithmException;<br /><br />public class HotJobTest<br />{<br />    private static  final   String  DEFAULT_ACCOUNT =&#34;1-XXXXXX&#34;;<br />    private static  final   String  DEFAULT_USERNAME=&#34;xxxxxxxxx@xmail.com&#34;;<br />    private static  final   String  DEFAULT_PASSWORD=&#34;xxxxxxxxxxxx&#34;;<br />    private static  final   String  DEFAULT_LICENSE =&#34;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&#34;;<br />    private static  final   String  DEFAULT_AUTHURL =&#34;https&#58;//hj.yahooapis.com/v1/HJAuthTokens&#34;;<br />    private static  final   String  DEFAULT_JOBSURL =&#34;http&#58;//hj.yahooapis.com/v1/Jobs&#34;;<br /><br /><br />    private static String REQUEST_AUTH=&#34;&#34;<br />    + &#34;&#60;?xml version=&#92;&#34;1.0&#92;&#34; encoding=&#92;&#34;UTF-8&#92;&#34; standalone=&#92;&#34;yes&#92;&#34;?&#62;&#92;n&#34;<br />    + &#34;&#60;atom&#58;feed xmlns&#58;yheader=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#92;&#34;&#92;n&#34;<br />    + &#34; xmlns&#58;atom=&#92;&#34;http&#58;//www.w3.org/2005/Atom&#92;&#34;&#92;n&#34;<br />    + &#34; xmlns&#58;yjob=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/jobs/3.0&#92;&#34;&#92;n&#34;<br />    + &#34; xmlns&#58;ycontrol=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/control/1.0&#92;&#34;&#62;&#92;n&#34;<br />    + &#34; &#60;yheader&#58;Credential&#62;&#92;n&#34;<br />    + &#34; &#60;yheader&#58;Login&#62;&#34;+DEFAULT_USERNAME+&#34;&#60;/yheader&#58;Login&#62;&#92;n&#34;<br />    + &#34; &#60;yheader&#58;Password&#62;&#34;+DEFAULT_PASSWORD+&#34;&#60;/yheader&#58;Password&#62; &#92;n&#34;<br />    + &#34; &#60;yheader&#58;Version&#62;3.0&#60;/yheader&#58;Version&#62;&#92;n&#34;<br />    + &#34; &#60;yheader&#58;LicenseKey&#62;&#34;+DEFAULT_LICENSE+&#34;&#60;/yheader&#58;LicenseKey&#62;&#92;n&#34;<br />    + &#34; &#60;/yheader&#58;Credential&#62;&#92;n&#34;<br />    + &#34; &#60;atom&#58;id&#62;&#34;+DEFAULT_ACCOUNT+&#34;&#60;/atom&#58;id&#62;&#92;n&#34;   //  Primary with recruiter to identify which account they represent.<br />    + &#34;&#60;/atom&#58;feed&#62;&#92;n&#34;;<br /><br />    private static String REQUEST_POST=&#34;&#34;<br />    +   &#34;&#60;?xml version=&#92;&#34;1.0&#92;&#34; encoding=&#92;&#34;UTF-8&#92;&#34; standalone=&#92;&#34;yes&#92;&#34;?&#62;&#92;n&#34;<br />    +   &#34;&#60;atom&#58;feed xmlns&#58;yheader=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#92;&#34; xmlns&#58;atom=&#92;&#34;http&#58;//www.w3.org/2005/Atom&#92;&#34; xmlns&#58;yjob=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/jobs/3.0&#92;&#34; xmlns&#58;ycontrol=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/control/1.0&#92;&#34;&#62;&#92;n&#34;<br />    +   &#34;    &#60;yjob&#58;ListingType&#62;SLOT&#60;/yjob&#58;ListingType&#62;&#92;n&#34;<br />    +   &#34;    &#60;yjob&#58;EmployerProfileId&#62;PROFILE_ID&#60;/yjob&#58;EmployerProfileId&#62;&#92;n&#34;<br />    +   &#34;    &#60;atom&#58;entry&#62;&#92;n&#34;<br />    +   &#34;        &#60;ycontrol&#58;Operation&#62;POST&#60;/ycontrol&#58;Operation&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Public&#62;true&#60;/yjob&#58;Public&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;PostDuration&#62;30&#60;/yjob&#58;PostDuration&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;BoldJobDuration&#62;7&#60;/yjob&#58;BoldJobDuration&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;CompanyConfidential&#62;No&#60;/yjob&#58;CompanyConfidential&#62;&#92;n&#34;<br />    +   &#34;        &#60;atom&#58;id&#62;SWEngineer-SlotNew&#60;/atom&#58;id&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;IoNumber&#62;IONUM-00001&#60;/yjob&#58;IoNumber&#62;&#92;n&#34;<br />    +   &#34;        &#60;atom&#58;title&#62;Change-EDU/EXP&#60;/atom&#58;title&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;EmployerName&#62;HJTest&#60;/yjob&#58;EmployerName&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;PartnerContact&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Name Type=&#92;&#34;Family&#92;&#34;&#62;Yahoo&#60;/yjob&#58;Name&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Name Type=&#92;&#34;Given&#92;&#34;&#62;HJ&#60;/yjob&#58;Name&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Phone Type=&#92;&#34;business&#92;&#34;&#62;5109360000&#60;/yjob&#58;Phone&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Email Type=&#92;&#34;business&#92;&#34;&#62;sswami@yahoo-inc.com&#60;/yjob&#58;Email&#62;&#92;n&#34;<br />    +   &#34;        &#60;/yjob&#58;PartnerContact&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Location&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Municipality&#62;New York&#60;/yjob&#58;Municipality&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Region&#62;NY&#60;/yjob&#58;Region&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;PostalCode&#62;10001&#60;/yjob&#58;PostalCode&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;CountryCode&#62;USA&#60;/yjob&#58;CountryCode&#62;&#92;n&#34;<br />    +   &#34;        &#60;/yjob&#58;Location&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Location&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Municipality&#62;Sunnyvale&#60;/yjob&#58;Municipality&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Region&#62;CA&#60;/yjob&#58;Region&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;PostalCode&#62;94089&#60;/yjob&#58;PostalCode&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;CountryCode&#62;USA&#60;/yjob&#58;CountryCode&#62;&#92;n&#34;<br />    +   &#34;        &#60;/yjob&#58;Location&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Industry&#62;MIS&#60;/yjob&#58;Industry&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Function&#62;MIS-SOFTW&#60;/yjob&#58;Function&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;HireType&#62;CONT&#60;/yjob&#58;HireType&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Duration&#62;PT&#60;/yjob&#58;Duration&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Experience level=&#92;&#34;MID&#92;&#34;&#62;5-10&#60;/yjob&#58;Experience&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Degree pref=&#92;&#34;0&#92;&#34;&#62;PHD&#60;/yjob&#58;Degree&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;SalaryType&#62;Salaried&#60;/yjob&#58;SalaryType&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;SalaryFrom Currency=&#92;&#34;USD&#92;&#34;&#62;100000&#60;/yjob&#58;SalaryFrom&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;SalaryTo Currency=&#92;&#34;USD&#92;&#34;&#62;120000&#60;/yjob&#58;SalaryTo&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;AdditionalComp&#62;Negotiable&#60;/yjob&#58;AdditionalComp&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;DisplaySalary&#62;true&#60;/yjob&#58;DisplaySalary&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;TravelAmount&#62;0&#60;/yjob&#58;TravelAmount&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;EmploymentAuthorization&#62;Yes&#60;/yjob&#58;EmploymentAuthorization&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;HiringTest&#62;&#60;/yjob&#58;HiringTest&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;ApplyType&#62;O&#60;/yjob&#58;ApplyType&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;ApplySettings&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyContact&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Name type=&#92;&#34;First&#92;&#34;&#62;First Name&#60;/yjob&#58;Name&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Name type=&#92;&#34;Last&#92;&#34;&#62;Last Name&#60;/yjob&#58;Name&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Phone type=&#92;&#34;business&#92;&#34;&#62;111-111-1111&#60;/yjob&#58;Phone&#62;&#92;n&#34;<br />    +   &#34;            &#60;/yjob&#58;ApplyContact&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyFax&#62;714-111-2222&#60;/yjob&#58;ApplyFax&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyURL&#62;http&#58;//abc.com&#60;/yjob&#58;ApplyURL&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyEmail&#62;bhaskarr@yahoo-inc.com&#60;/yjob&#58;ApplyEmail&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyAddress&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;AddressLine&#62;123 333rd Street&#60;/yjob&#58;AddressLine&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;AddressLine&#62;5th floor&#60;/yjob&#58;AddressLine&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Municipality&#62;Oakland&#60;/yjob&#58;Municipality&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Region&#62;CA&#60;/yjob&#58;Region&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;PostalCode&#62;94089&#60;/yjob&#58;PostalCode&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;CountryCode&#62;USA&#60;/yjob&#58;CountryCode&#62;&#92;n&#34;<br />    +   &#34;            &#60;/yjob&#58;ApplyAddress&#62;&#92;n&#34;<br />    +   &#34;        &#60;/yjob&#58;ApplySettings&#62;&#92;n&#34;<br />    +   &#34;        &#60;atom&#58;summary type=&#92;&#34;text&#92;&#34;&#62;SHORT DESCRIPTION&#60;/atom&#58;summary&#62;&#92;n&#34;<br />    +   &#34;        &#60;atom&#58;content type=&#92;&#34;html&#92;&#34;&#62;LONG DESCRIPTION&#60;/atom&#58;content&#62;&#92;n&#34;<br />    +   &#34;    &#60;/atom&#58;entry&#62;&#92;n&#34;<br />    +   &#34;&#60;/atom&#58;feed&#62;&#34;<br />   &#59;<br /><br />    protected String requestHotJobAuth&#40;&#41;<br />    {<br />        StringBuilder sb= new StringBuilder&#40;&#41;;<br /><br />        try<br />        {<br />            URL url = new URL&#40;  DEFAULT_AUTHURL    &#41;;<br />            HttpURLConnection   conn=&#40;HttpURLConnection&#41; url.openConnection&#40;&#41;;<br /><br />            if&#40; conn instanceof HttpURLConnection &#41;<br />                &#40;&#40;HttpURLConnection &#41;conn&#41;.setRequestMethod&#40; &#34;POST&#34; &#41;;<br /><br />            conn.setRequestProperty&#40;&#34;Content-Type&#34;  ,&#34;text/xml; charset=utf-8&#34; &#41;;<br />            conn.setRequestProperty&#40;&#34;Content-Length&#34;, Integer.toString&#40; REQUEST_AUTH.length&#40;&#41;&#41;&#41;;<br /><br />            conn.setDoOutput&#40; true &#41;;<br />            conn.setDoInput&#40; true &#41;;<br /><br />            // Write the request out to the URL.<br />            OutputStream out = conn.getOutputStream&#40;&#41;;<br />            out.write&#40; REQUEST_AUTH.getBytes&#40;&#41; &#41;;<br />            out.flush&#40;&#41;;<br />            out.close&#40;&#41;;<br /><br />            // Read the response from the URL.<br />            InputStreamReader   isr=null;<br />            // Read the stream<br />            if &#40;conn.getResponseCode&#40;&#41; &#62;= 400&#41;<br />                isr=new InputStreamReader&#40; conn.getErrorStream&#40;&#41;&#41;;  //  VIP if not you cant read the returned response!<br />            else<br />                isr=new InputStreamReader&#40; conn.getInputStream&#40;&#41;&#41;;<br /><br />            BufferedReader      br =new BufferedReader&#40; isr &#41;;<br /><br />            for&#40; String ln=&#34;&#34;&#59; ln != null&#59; ln = br.readLine&#40;&#41; &#41;<br />            {<br />                sb.append&#40; ln.replaceAll&#40;&#34;&lt;&#34; ,&#34;&#60;&#34; &#41;<br />                             .replaceAll&#40;&#34;&gt;&#34; ,&#34;&#62;&#34; &#41;<br />                             .replaceAll&#40;&#34;&amp;&#34; ,&#34;&&#34; &#41;<br />                             .replaceAll&#40;&#34;"&#34; ,&#34;&#92;&#34;&#34; &#41;<br />                &#41;;<br />            }<br />            br.close&#40;&#41;;<br />        }<br />        catch&#40; MalformedURLException mux &#41;<br />        {<br />            System.out.print&#40;&#34;ERROR&#58; &#34; +DEFAULT_AUTHURL+ &#34; is malformed!&#34;&#41;;<br />        }<br />        catch&#40; IOException iox &#41;<br />        {<br />            System.out.println&#40; iox.getMessage&#40;&#41;&#41;;<br />            System.out.print&#40;&#34;ERROR&#58; &#34; +DEFAULT_AUTHURL+ &#34; is NOT reachable!&#34;&#41;;<br />        }<br /><br />        return sb.toString&#40;&#41;;<br />    }<br /><br />    //  To convert a byte array to hexadecimal.<br />    private static  String  tosignatureHex&#40; byte bytes&#91;&#93; &#41;<br />    {<br />        StringBuffer    signatureHex=new StringBuffer&#40;&#41;;<br /><br />        for&#40;int i = 0&#59; i &#60; bytes.length&#59; i++ &#41;<br />        {<br />            String hex = Integer.toHexString&#40;0xFF & bytes&#91;i&#93;&#41;;<br />            if &#40;hex.length&#40;&#41; == 1&#41;<br />                signatureHex.append&#40;'0'&#41;;<br /><br />            signatureHex.append&#40;hex&#41;;<br />        }<br /><br />        return  signatureHex.toString&#40;&#41;;<br />    }<br /><br />    protected String postToHotJob&#40;&#41;<br />    {<br />        long            tStamp  =     System.currentTimeMillis&#40;&#41;;<br />        StringBuilder   sb      = new StringBuilder&#40;&#41;;<br /><br />        String          response=     requestHotJobAuth&#40;&#41;;  //  Get authorized.<br />        String          token   =     response.substring&#40; response.indexOf&#40;&#34;&#60;Token&#62;&#34;&#41;+7, response.indexOf&#40;&#34;&#60;/Token&#62;&#34;&#41;&#41;; //  Extract out the returned token.<br />System.out.println&#40;&#34;AuthResp----&#92;n&#34; +response&#41;;<br />System.out.println&#40;&#34;Token----&#92;n&#34;  +token&#41;;<br /><br />        URL url;<br />        HttpURLConnection conn;<br /><br />        try<br />        {<br />            MessageDigest   algorithm=    MessageDigest.getInstance&#40;&#34;MD5&#34;&#41;;<br />            StringBuffer    signatureHex=new StringBuffer&#40;&#41;;<br /><br />            algorithm.reset&#40;&#41;;<br />System.out.println&#40; &#40;REQUEST_POST +Long.toString&#40;tStamp&#41; +token +DEFAULT_LICENSE&#41; &#41;;<br />            algorithm.update&#40;   &#40;REQUEST_POST +Long.toString&#40;tStamp&#41; +token +DEFAULT_LICENSE&#41;.getBytes&#40;&#41; &#41;;<br />            byte msgDigest&#91;&#93;= algorithm.digest&#40;&#41;;<br /><br />            signatureHex.append&#40; tosignatureHex&#40;msgDigest&#41; &#41;;<br /><br />            url = new URL&#40;  DEFAULT_JOBSURL    &#41;;<br />            conn=&#40;HttpURLConnection&#41;url.openConnection&#40;&#41;;<br /><br />            if&#40; conn instanceof HttpURLConnection &#41;<br />                &#40;&#40;HttpURLConnection &#41;conn&#41;.setRequestMethod&#40; &#34;POST&#34; &#41;;<br /><br />            conn.setRequestProperty&#40;&#34;Content-Type&#34;              ,&#34;text/xml; charset=utf-8&#34;  &#41;;<br />            conn.setRequestProperty&#40;&#34;Content-Length&#34;            ,Integer.toString&#40; REQUEST_POST.length&#40;&#41;&#41;&#41;;<br />            conn.setRequestProperty&#40;&#34;X-Yahoo-HJAuth-Token&#34;      ,token                      &#41;;<br />            System.out.println&#40;     &#34;X-Yahoo-HJAuth-Token&#58; &#34;    +token                      &#41;;<br />            conn.setRequestProperty&#40;&#34;X-Yahoo-HJAuth-Timestamp&#34;  ,Long.toString&#40;tStamp&#41;      &#41;;<br />            System.out.println&#40;     &#34;X-Yahoo-HJAuth-Timestamp&#58; &#34;+Long.toString&#40;tStamp&#41;      &#41;;<br />            conn.setRequestProperty&#40;&#34;X-Yahoo-HJAuth-Signature&#34;  ,signatureHex.toString&#40;&#41;    &#41;;<br />            System.out.println&#40;     &#34;X-Yahoo-HJAuth-Signature&#58; &#34;+signatureHex.toString&#40;&#41;    &#41;;<br /><br />            conn.setDoOutput&#40; true &#41;;<br />            conn.setDoInput&#40;  true &#41;;<br /><br />            // Write the request out to the URL.<br />            OutputStream out = conn.getOutputStream&#40;&#41;;<br />            out.write&#40; REQUEST_POST.getBytes&#40;&#41; &#41;;<br />            out.flush&#40;&#41;;<br />            out.close&#40;&#41;;<br />            System.out.println&#40;&#34;&#92;nResponse Code&#58;&#34; + conn.getResponseCode&#40;&#41;&#41;;<br /><br />            // Read the response from the URL.<br />            InputStreamReader   isr=null;<br />            // Read the stream<br />            if &#40;conn.getResponseCode&#40;&#41; &#62;= 400&#41;<br />                isr=new InputStreamReader&#40; conn.getErrorStream&#40;&#41;&#41;;  //  VIP if not you cant read the returned response!<br />            else<br />                isr=new InputStreamReader&#40; conn.getInputStream&#40;&#41;&#41;;<br /><br />            BufferedReader      br =new BufferedReader&#40; isr &#41;;<br /><br />            for&#40; String ln=&#34;&#34;&#59; ln != null&#59; ln = br.readLine&#40;&#41; &#41;<br />            {<br />                sb.append&#40; ln.replaceAll&#40;&#34;&lt;&#34; ,&#34;&#60;&#34; &#41;<br />                             .replaceAll&#40;&#34;&gt;&#34; ,&#34;&#62;&#34; &#41;<br />                             .replaceAll&#40;&#34;&amp;&#34; ,&#34;&&#34; &#41;<br />                             .replaceAll&#40;&#34;"&#34; ,&#34;&#92;&#34;&#34; &#41;<br />                &#41;;<br />            }<br />            System.out.println&#40; sb.toString&#40;&#41; &#41;;<br />            br.close&#40;&#41;;<br />        }<br />        catch &#40;NoSuchAlgorithmException nax&#41;<br />        {<br />            System.out.print&#40;&#34;ERROR&#58; Could not instantiate MD5 message digest!&#34;&#41;;<br />        }<br />        catch&#40; MalformedURLException mux &#41;<br />        {<br />            System.out.print&#40;&#34;ERROR&#58; &#34; +DEFAULT_JOBSURL+ &#34; is malformed!&#34;&#41;;<br />        }<br />        catch&#40; IOException iox &#41;<br />        {<br />            System.out.println&#40; iox.getMessage&#40;&#41; &#41;;<br />            System.out.println&#40;&#34;ERROR&#58; &#34; +DEFAULT_JOBSURL+ &#34; is NOT reachable!&#34;&#41;;<br />        }<br /><br />        return sb.toString&#40;&#41;;<br />    }<br /><br />    public static void main&#40;String&#91;&#93; args&#41;<br />    {<br />        HotJobTest hjTest = new HotJobTest&#40;&#41;;<br /><br />        System.out.println&#40; hjtest.postToHotJob&#40;&#41;.replace&#40;&#34;&#62;&#60;&#34; ,&#34;&#62;&#92;n&#60;&#34;&#41; &#41;;<br />    }<br />}<!--c2--></code></pre></div><!--ec2--><br />And the following is the result returned back to me.<br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->AuthResp----<br />&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;&#60;Response&#62;&#60;ResponseCode&#62;0&#60;/ResponseCode&#62;&#60;ResponseMessage&#62;Login successful&#60;/ResponseMessage&#62;&#60;Token&#62;NTlEM0ZBMkQ5QjRGOTE5OEI0NjQ3Mjg0ODY0QzA3NkQ7c2Vzc2lvbjAxLmhqLnJlMy55YWhvby5j<br />b207dFNrZElxRkl3YWdodFVJRkhIb0xhNHNVRFJxZHlQTDBUZTRXR21waW1Idk9xcGR3VXctLTs3MTQ1<br />M<br />Dc7MzU5Mjk2OzEyNDgyMzc2MTg7ZUV3S21nQVFBN0p5WVBReU1GdDRKZy0t&#60;/Token&#62;&#60;/Response&#62;&#60;!-- atsweb01.hj.re3.yahoo.com uncompressed/chunked Tue Jul 21 21&#58;40&#58;17 PDT 2009 --&gt;<br />Token----<br />NTlEM0ZBMkQ5QjRGOTE5OEI0NjQ3Mjg0ODY0QzA3NkQ7c2Vzc2lvbjAxLmhqLnJlMy55YWhvby5jb207<br />dFNrZElxRkl3YWdodFVJRkhIb0xhNHNVRFJxZHlQTDBUZTRXR21waW1Idk9xcGR3VXctLTs3MTQ1MDc7<br />M<br />zU5Mjk2OzEyNDgyMzc2MTg7ZUV3S21nQVFBN0p5WVBReU1GdDRKZy0t<br />&#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34; standalone=&#34;yes&#34;?&#62;<br />&#60;atom&#58;feed xmlns&#58;yheader=&#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#34; xmlns&#58;atom=&#34;http&#58;//www.w3.org/2005/Atom&#34; xmlns&#58;yjob=&#34;http&#58;//schemas.yahoo.com/ypost/jobs/3.0&#34; xmlns&#58;ycontrol=&#34;http&#58;//schemas.yahoo.com/ypost/control/1.0&#34;&#62;<br />    &#60;yjob&#58;ListingType&#62;SLOT&#60;/yjob&#58;ListingType&#62;<br />    &#60;yjob&#58;EmployerProfileId&#62;PROFILE_ID&#60;/yjob&#58;EmployerProfileId&#62;<br />    &#60;atom&#58;entry&#62;<br />        &#60;ycontrol&#58;Operation&#62;POST&#60;/ycontrol&#58;Operation&#62;<br />        &#60;yjob&#58;Public&#62;true&#60;/yjob&#58;Public&#62;<br />        &#60;yjob&#58;PostDuration&#62;30&#60;/yjob&#58;PostDuration&#62;<br />        &#60;yjob&#58;BoldJobDuration&#62;7&#60;/yjob&#58;BoldJobDuration&#62;<br />        &#60;yjob&#58;CompanyConfidential&#62;No&#60;/yjob&#58;CompanyConfidential&#62;<br />        &#60;atom&#58;id&#62;SWEngineer-SlotNew&#60;/atom&#58;id&#62;<br />        &#60;yjob&#58;IoNumber&#62;IONUM-00001&#60;/yjob&#58;IoNumber&#62;<br />        &#60;atom&#58;title&#62;Change-EDU/EXP&#60;/atom&#58;title&#62;<br />        &#60;yjob&#58;EmployerName&#62;HJTest&#60;/yjob&#58;EmployerName&#62;<br />        &#60;yjob&#58;PartnerContact&#62;<br />            &#60;yjob&#58;Name Type=&#34;Family&#34;&#62;Yahoo&#60;/yjob&#58;Name&#62;<br />            &#60;yjob&#58;Name Type=&#34;Given&#34;&#62;HJ&#60;/yjob&#58;Name&#62;<br />            &#60;yjob&#58;Phone Type=&#34;business&#34;&#62;5109360000&#60;/yjob&#58;Phone&#62;<br />            &#60;yjob&#58;Email Type=&#34;business&#34;&#62;sswami@yahoo-inc.com&#60;/yjob&#58;Email&#62;<br />        &#60;/yjob&#58;PartnerContact&#62;<br />        &#60;yjob&#58;Location&#62;<br />            &#60;yjob&#58;Municipality&#62;New York&#60;/yjob&#58;Municipality&#62;<br />            &#60;yjob&#58;Region&#62;NY&#60;/yjob&#58;Region&#62;<br />            &#60;yjob&#58;PostalCode&#62;10001&#60;/yjob&#58;PostalCode&#62;<br />            &#60;yjob&#58;CountryCode&#62;USA&#60;/yjob&#58;CountryCode&#62;<br />        &#60;/yjob&#58;Location&#62;<br />        &#60;yjob&#58;Location&#62;<br />            &#60;yjob&#58;Municipality&#62;Sunnyvale&#60;/yjob&#58;Municipality&#62;<br />            &#60;yjob&#58;Region&#62;CA&#60;/yjob&#58;Region&#62;<br />            &#60;yjob&#58;PostalCode&#62;94089&#60;/yjob&#58;PostalCode&#62;<br />            &#60;yjob&#58;CountryCode&#62;USA&#60;/yjob&#58;CountryCode&#62;<br />        &#60;/yjob&#58;Location&#62;<br />        &#60;yjob&#58;Industry&#62;MIS&#60;/yjob&#58;Industry&#62;<br />        &#60;yjob&#58;Function&#62;MIS-SOFTW&#60;/yjob&#58;Function&#62;<br />        &#60;yjob&#58;HireType&#62;CONT&#60;/yjob&#58;HireType&#62;<br />        &#60;yjob&#58;Duration&#62;PT&#60;/yjob&#58;Duration&#62;<br />        &#60;yjob&#58;Experience level=&#34;MID&#34;&#62;5-10&#60;/yjob&#58;Experience&#62;<br />        &#60;yjob&#58;Degree pref=&#34;0&#34;&#62;PHD&#60;/yjob&#58;Degree&#62;<br />        &#60;yjob&#58;SalaryType&#62;Salaried&#60;/yjob&#58;SalaryType&#62;<br />        &#60;yjob&#58;SalaryFrom Currency=&#34;USD&#34;&#62;100000&#60;/yjob&#58;SalaryFrom&#62;<br />        &#60;yjob&#58;SalaryTo Currency=&#34;USD&#34;&#62;120000&#60;/yjob&#58;SalaryTo&#62;<br />        &#60;yjob&#58;AdditionalComp&#62;Negotiable&#60;/yjob&#58;AdditionalComp&#62;<br />        &#60;yjob&#58;DisplaySalary&#62;true&#60;/yjob&#58;DisplaySalary&#62;<br />        &#60;yjob&#58;TravelAmount&#62;0&#60;/yjob&#58;TravelAmount&#62;<br />        &#60;yjob&#58;EmploymentAuthorization&#62;Yes&#60;/yjob&#58;EmploymentAuthorization&#62;<br />        &#60;yjob&#58;HiringTest&#62;&#60;/yjob&#58;HiringTest&#62;<br />        &#60;yjob&#58;ApplyType&#62;O&#60;/yjob&#58;ApplyType&#62;<br />        &#60;yjob&#58;ApplySettings&#62;<br />            &#60;yjob&#58;ApplyContact&#62;<br />                &#60;yjob&#58;Name type=&#34;First&#34;&#62;First Name&#60;/yjob&#58;Name&#62;<br />                &#60;yjob&#58;Name type=&#34;Last&#34;&#62;Last Name&#60;/yjob&#58;Name&#62;<br />                &#60;yjob&#58;Phone type=&#34;business&#34;&#62;111-111-1111&#60;/yjob&#58;Phone&#62;<br />            &#60;/yjob&#58;ApplyContact&#62;<br />            &#60;yjob&#58;ApplyFax&#62;714-111-2222&#60;/yjob&#58;ApplyFax&#62;<br />            &#60;yjob&#58;ApplyURL&#62;http&#58;//abc.com&#60;/yjob&#58;ApplyURL&#62;<br />            &#60;yjob&#58;ApplyEmail&#62;bhaskarr@yahoo-inc.com&#60;/yjob&#58;ApplyEmail&#62;<br />            &#60;yjob&#58;ApplyAddress&#62;<br />                &#60;yjob&#58;AddressLine&#62;123 333rd Street&#60;/yjob&#58;AddressLine&#62;<br />                &#60;yjob&#58;AddressLine&#62;5th floor&#60;/yjob&#58;AddressLine&#62;<br />                &#60;yjob&#58;Municipality&#62;Oakland&#60;/yjob&#58;Municipality&#62;<br />                &#60;yjob&#58;Region&#62;CA&#60;/yjob&#58;Region&#62;<br />                &#60;yjob&#58;PostalCode&#62;94089&#60;/yjob&#58;PostalCode&#62;<br />                &#60;yjob&#58;CountryCode&#62;USA&#60;/yjob&#58;CountryCode&#62;<br />            &#60;/yjob&#58;ApplyAddress&#62;<br />        &#60;/yjob&#58;ApplySettings&#62;<br />        &#60;atom&#58;summary type=&#34;text&#34;&#62;SHORT DESCRIPTION&#60;/atom&#58;summary&#62;<br />        &#60;atom&#58;content type=&#34;html&#34;&#62;LONG DESCRIPTION&#60;/atom&#58;content&#62;<br />    &#60;/atom&#58;entry&#62;<br />&#60;/atom&#58;feed&#62;1248237616765NTlEM0ZBMkQ5QjRGOTE5OEI0NjQ3Mjg0ODY0QzA3NkQ7c2Vzc2lvbjAxLmhqLnJ<br />lMy55YWhvby5jb207dFNrZElxRkl3YWdodFVJRkhIb0xhNHNVRFJxZHlQTDBUZTRXR21waW1Idk9xcGR<br />3<br />VXctLTs3MTQ1MDc7MzU5Mjk2OzEyNDgyMzc2MTg7ZUV3S21nQVFBN0p5WVBReU1GdDRKZy0tdcb765f4<br />6<br />e23fb4934d76827c1bd7e52<br />X-Yahoo-HJAuth-Token&#58; NTlEM0ZBMkQ5QjRGOTE5OEI0NjQ3Mjg0ODY0QzA3NkQ7c2Vzc2lvbjAxLmhqLnJlMy55YWhvby5jb207<br />dFNrZElxRkl3YWdodFVJRkhIb0xhNHNVRFJxZHlQTDBUZTRXR21waW1Idk9xcGR3VXctLTs3MTQ1MDc7<br />M<br />zU5Mjk2OzEyNDgyMzc2MTg7ZUV3S21nQVFBN0p5WVBReU1GdDRKZy0t<br />X-Yahoo-HJAuth-Timestamp&#58; 1248237616765<br />X-Yahoo-HJAuth-Signature&#58; f1d819b4da12880e7eed60229127e373<br /><br />Response Code&#58;201<br />&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;&#60;Response&#62;&#60;ResponseCode&#62;0&#60;/ResponseCode&#62;&#60;ResponseMessage&#62;Operation successful&#60;/ResponseMessage&#62;&#60;Operation&#62;Job Posted&#60;/Operation&#62;&#60;HJInternalJobId&#62;JVJKGKO5J5W&#60;/HJInternalJobId&#62;&#60;IONumber&#62;IONUM-00001&#60;/IONumber&#62;&#60;JobID&#62;SWEngineer-SlotNew&#60;/JobID&#62;&#60;JobStatus&#62;Posted&#60;/JobStatus&#62;&#60;JobURL&#62;http&#58;//hotjobs.yahoo.com/job-JVJKGKO5J5W&#60;/JobURL&#62;&#60;JobExpiryTime&#62;11/09/20 15&#58;59&#60;/JobExpiryTime&#62;&#60;AssetConsumed&#62;&#60;AssetName&#62;JobSlot&#60;/AssetName&#62;&#60;AssetID&#62;510296&#60;/AssetID&#62;&#60;CreditsConsumed&#62;1&#60;/CreditsConsumed&#62;&#60;/AssetConsumed&#62;&#60;/Response&#62;&#60;!-- atsweb02.hj.re3.yahoo.com uncompressed/chunked Tue Jul 21 21&#58;40&#58;19 PDT 2009 --&gt;<br />&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;<br />&#60;Response&#62;<br />&#60;ResponseCode&#62;0&#60;/ResponseCode&#62;<br />&#60;ResponseMessage&#62;Operation successful&#60;/ResponseMessage&#62;<br />&#60;Operation&#62;Job Posted&#60;/Operation&#62;<br />&#60;HJInternalJobId&#62;JVJKGKO5J5W&#60;/HJInternalJobId&#62;<br />&#60;IONumber&#62;IONUM-00001&#60;/IONumber&#62;<br />&#60;JobID&#62;SWEngineer-SlotNew&#60;/JobID&#62;<br />&#60;JobStatus&#62;Posted&#60;/JobStatus&#62;<br />&#60;JobURL&#62;http&#58;//hotjobs.yahoo.com/job-JVJKGKO5J5W&#60;/JobURL&#62;<br />&#60;JobExpiryTime&#62;11/09/20 15&#58;59&#60;/JobExpiryTime&#62;<br />&#60;AssetConsumed&#62;<br />&#60;AssetName&#62;JobSlot&#60;/AssetName&#62;<br />&#60;AssetID&#62;510296&#60;/AssetID&#62;<br />&#60;CreditsConsumed&#62;1&#60;/CreditsConsumed&#62;<br />&#60;/AssetConsumed&#62;<br />&#60;/Response&#62;<br />&#60;!-- atsweb02.hj.re3.yahoo.com uncompressed/chunked Tue Jul 21 21&#58;40&#58;19 PDT 2009 --&gt;<!--c2--></code></pre></div><!--ec2--><br /><br />Remember that credentials are munged so you have to substitute it with yours.]]></description>
		<pubDate>Fri, 17 Apr 2009 21:17:09 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1209</guid>
	</item>
	<item>
		<title>HTTP Custom Header</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1209</link>
		<description><![CDATA[Oops!  used the wrong code tag.  Here is the source code.<br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->package test.hotjob;<br /><br />import java.io.BufferedReader;<br />import java.io.IOException;<br />import java.io.InputStreamReader;<br />import java.io.OutputStream;<br />import java.net.HttpURLConnection;<br />import java.net.MalformedURLException;<br />import java.net.URL;<br />import java.net.URLConnection;<br /><br />import java.security.MessageDigest;<br />import java.security.NoSuchAlgorithmException;<br /><br />public class HotJobTest<br />{<br />    private static  final   String  DEFAULT_ACCOUNT =&#34;1-XXXXXX&#34;;<br />    private static  final   String  DEFAULT_USERNAME=&#34;xxxxxxxxx@xmail.com&#34;;<br />    private static  final   String  DEFAULT_PASSWORD=&#34;xxxxxxxxxxxx&#34;;<br />    private static  final   String  DEFAULT_LICENSE =&#34;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&#34;;<br />    private static  final   String  DEFAULT_AUTHURL =&#34;https&#58;//hj.yahooapis.com/v1/HJAuthTokens&#34;;<br />    private static  final   String  DEFAULT_JOBSURL =&#34;http&#58;//hj.yahooapis.com/v1/Jobs&#34;;<br /><br /><br />    private static String REQUEST_AUTH=&#34;&#34;<br />    + &#34;&#60;?xml version=&#92;&#34;1.0&#92;&#34; encoding=&#92;&#34;UTF-8&#92;&#34; standalone=&#92;&#34;yes&#92;&#34;?&#62;&#92;n&#34;<br />    + &#34;&#60;atom&#58;feed xmlns&#58;yheader=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#92;&#34;&#92;n&#34;<br />    + &#34; xmlns&#58;atom=&#92;&#34;http&#58;//www.w3.org/2005/Atom&#92;&#34;&#92;n&#34;<br />    + &#34; xmlns&#58;yjob=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/jobs/3.0&#92;&#34;&#92;n&#34;<br />    + &#34; xmlns&#58;ycontrol=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/control/1.0&#92;&#34;&#62;&#92;n&#34;<br />    + &#34; &#60;yheader&#58;Credential&#62;&#92;n&#34;<br />    + &#34; &#60;yheader&#58;Login&#62;&#34;+DEFAULT_USERNAME+&#34;&#60;/yheader&#58;Login&#62;&#92;n&#34;<br />    + &#34; &#60;yheader&#58;Password&#62;&#34;+DEFAULT_PASSWORD+&#34;&#60;/yheader&#58;Password&#62; &#92;n&#34;<br />    + &#34; &#60;yheader&#58;Version&#62;3.0&#60;/yheader&#58;Version&#62;&#92;n&#34;<br />    + &#34; &#60;yheader&#58;LicenseKey&#62;&#34;+DEFAULT_LICENSE+&#34;&#60;/yheader&#58;LicenseKey&#62;&#92;n&#34;<br />    + &#34; &#60;/yheader&#58;Credential&#62;&#92;n&#34;<br />    + &#34; &#60;atom&#58;id&#62;&#34;+DEFAULT_ACCOUNT+&#34;&#60;/atom&#58;id&#62;&#92;n&#34;   //  Primary with recruiter to identify which account they represent.<br />    + &#34;&#60;/atom&#58;feed&#62;&#92;n&#34;;<br /><br />    private static String REQUEST_POST=&#34;&#34;<br />    +   &#34;&#60;?xml version=&#92;&#34;1.0&#92;&#34; encoding=&#92;&#34;UTF-8&#92;&#34; standalone=&#92;&#34;yes&#92;&#34;?&#62;&#92;n&#34;<br />    +   &#34;&#60;atom&#58;feed xmlns&#58;yheader=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#92;&#34; xmlns&#58;atom=&#92;&#34;http&#58;//www.w3.org/2005/Atom&#92;&#34; xmlns&#58;yjob=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/jobs/3.0&#92;&#34; xmlns&#58;ycontrol=&#92;&#34;http&#58;//schemas.yahoo.com/ypost/control/1.0&#92;&#34;&#62;&#92;n&#34;<br />    +   &#34;    &#60;yjob&#58;ListingType&#62;SLOT&#60;/yjob&#58;ListingType&#62;&#92;n&#34;<br />    +   &#34;    &#60;yjob&#58;EmployerProfileId&#62;PROFILE_ID&#60;/yjob&#58;EmployerProfileId&#62;&#92;n&#34;<br />    +   &#34;    &#60;atom&#58;entry&#62;&#92;n&#34;<br />    +   &#34;        &#60;ycontrol&#58;Operation&#62;POST&#60;/ycontrol&#58;Operation&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Public&#62;true&#60;/yjob&#58;Public&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;PostDuration&#62;30&#60;/yjob&#58;PostDuration&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;BoldJobDuration&#62;7&#60;/yjob&#58;BoldJobDuration&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;CompanyConfidential&#62;No&#60;/yjob&#58;CompanyConfidential&#62;&#92;n&#34;<br />    +   &#34;        &#60;atom&#58;id&#62;SWEngineer-SlotNew&#60;/atom&#58;id&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;IoNumber&#62;IONUM-00001&#60;/yjob&#58;IoNumber&#62;&#92;n&#34;<br />    +   &#34;        &#60;atom&#58;title&#62;Change-EDU/EXP&#60;/atom&#58;title&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;EmployerName&#62;HJTest&#60;/yjob&#58;EmployerName&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;PartnerContact&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Name Type=&#92;&#34;Family&#92;&#34;&#62;Yahoo&#60;/yjob&#58;Name&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Name Type=&#92;&#34;Given&#92;&#34;&#62;HJ&#60;/yjob&#58;Name&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Phone Type=&#92;&#34;business&#92;&#34;&#62;5109360000&#60;/yjob&#58;Phone&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Email Type=&#92;&#34;business&#92;&#34;&#62;sswami@yahoo-inc.com&#60;/yjob&#58;Email&#62;&#92;n&#34;<br />    +   &#34;        &#60;/yjob&#58;PartnerContact&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Location&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Municipality&#62;New York&#60;/yjob&#58;Municipality&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Region&#62;NY&#60;/yjob&#58;Region&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;PostalCode&#62;10001&#60;/yjob&#58;PostalCode&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;CountryCode&#62;USA&#60;/yjob&#58;CountryCode&#62;&#92;n&#34;<br />    +   &#34;        &#60;/yjob&#58;Location&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Location&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Municipality&#62;Sunnyvale&#60;/yjob&#58;Municipality&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;Region&#62;CA&#60;/yjob&#58;Region&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;PostalCode&#62;94089&#60;/yjob&#58;PostalCode&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;CountryCode&#62;USA&#60;/yjob&#58;CountryCode&#62;&#92;n&#34;<br />    +   &#34;        &#60;/yjob&#58;Location&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Industry&#62;MIS&#60;/yjob&#58;Industry&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Function&#62;MIS-SOFTW&#60;/yjob&#58;Function&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;HireType&#62;CONT&#60;/yjob&#58;HireType&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Duration&#62;PT&#60;/yjob&#58;Duration&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Experience level=&#92;&#34;MID&#92;&#34;&#62;5-10&#60;/yjob&#58;Experience&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;Degree pref=&#92;&#34;0&#92;&#34;&#62;PHD&#60;/yjob&#58;Degree&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;SalaryType&#62;Salaried&#60;/yjob&#58;SalaryType&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;SalaryFrom Currency=&#92;&#34;USD&#92;&#34;&#62;100000&#60;/yjob&#58;SalaryFrom&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;SalaryTo Currency=&#92;&#34;USD&#92;&#34;&#62;120000&#60;/yjob&#58;SalaryTo&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;AdditionalComp&#62;Negotiable&#60;/yjob&#58;AdditionalComp&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;DisplaySalary&#62;true&#60;/yjob&#58;DisplaySalary&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;TravelAmount&#62;0&#60;/yjob&#58;TravelAmount&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;EmploymentAuthorization&#62;Yes&#60;/yjob&#58;EmploymentAuthorization&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;HiringTest&#62;&#60;/yjob&#58;HiringTest&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;ApplyType&#62;O&#60;/yjob&#58;ApplyType&#62;&#92;n&#34;<br />    +   &#34;        &#60;yjob&#58;ApplySettings&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyContact&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Name type=&#92;&#34;First&#92;&#34;&#62;First Name&#60;/yjob&#58;Name&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Name type=&#92;&#34;Last&#92;&#34;&#62;Last Name&#60;/yjob&#58;Name&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Phone type=&#92;&#34;business&#92;&#34;&#62;111-111-1111&#60;/yjob&#58;Phone&#62;&#92;n&#34;<br />    +   &#34;            &#60;/yjob&#58;ApplyContact&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyFax&#62;714-111-2222&#60;/yjob&#58;ApplyFax&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyURL&#62;http&#58;//abc.com&#60;/yjob&#58;ApplyURL&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyEmail&#62;bhaskarr@yahoo-inc.com&#60;/yjob&#58;ApplyEmail&#62;&#92;n&#34;<br />    +   &#34;            &#60;yjob&#58;ApplyAddress&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;AddressLine&#62;123 333rd Street&#60;/yjob&#58;AddressLine&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;AddressLine&#62;5th floor&#60;/yjob&#58;AddressLine&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Municipality&#62;Oakland&#60;/yjob&#58;Municipality&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;Region&#62;CA&#60;/yjob&#58;Region&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;PostalCode&#62;94089&#60;/yjob&#58;PostalCode&#62;&#92;n&#34;<br />    +   &#34;                &#60;yjob&#58;CountryCode&#62;USA&#60;/yjob&#58;CountryCode&#62;&#92;n&#34;<br />    +   &#34;            &#60;/yjob&#58;ApplyAddress&#62;&#92;n&#34;<br />    +   &#34;        &#60;/yjob&#58;ApplySettings&#62;&#92;n&#34;<br />    +   &#34;        &#60;atom&#58;summary type=&#92;&#34;text&#92;&#34;&#62;SHORT DESCRIPTION&#60;/atom&#58;summary&#62;&#92;n&#34;<br />    +   &#34;        &#60;atom&#58;content type=&#92;&#34;html&#92;&#34;&#62;LONG DESCRIPTION&#60;/atom&#58;content&#62;&#92;n&#34;<br />    +   &#34;    &#60;/atom&#58;entry&#62;&#92;n&#34;<br />    +   &#34;&#60;/atom&#58;feed&#62;&#34;<br />   &#59;<br /><br />    protected String requestHotJobAuth&#40;&#41;<br />    {<br />        StringBuilder sb= new StringBuilder&#40;&#41;;<br /><br />        try<br />        {<br />            URL url = new URL&#40;  DEFAULT_AUTHURL    &#41;;<br />            HttpURLConnection   conn=&#40;HttpURLConnection&#41; url.openConnection&#40;&#41;;<br /><br />            if&#40; conn instanceof HttpURLConnection &#41;<br />                &#40;&#40;HttpURLConnection &#41;conn&#41;.setRequestMethod&#40; &#34;POST&#34; &#41;;<br /><br />            conn.setRequestProperty&#40;&#34;Content-Type&#34;  ,&#34;text/xml; charset=utf-8&#34; &#41;;<br />            conn.setRequestProperty&#40;&#34;Content-Length&#34;, Integer.toString&#40; REQUEST_AUTH.length&#40;&#41;&#41;&#41;;<br /><br />            conn.setDoOutput&#40; true &#41;;<br />            conn.setDoInput&#40; true &#41;;<br /><br />            // Write the request out to the URL.<br />            OutputStream out = conn.getOutputStream&#40;&#41;;<br />            out.write&#40; REQUEST_AUTH.getBytes&#40;&#41; &#41;;<br />            out.flush&#40;&#41;;<br />            out.close&#40;&#41;;<br /><br />            // Read the response from the URL.<br />            InputStreamReader   isr=null;<br />            // Read the stream<br />            if &#40;conn.getResponseCode&#40;&#41; &#62;= 400&#41;<br />                isr=new InputStreamReader&#40; conn.getErrorStream&#40;&#41;&#41;;  //  VIP if not you cant read the returned response!<br />            else<br />                isr=new InputStreamReader&#40; conn.getInputStream&#40;&#41;&#41;;<br /><br />            BufferedReader      br =new BufferedReader&#40; isr &#41;;<br /><br />            for&#40; String ln=&#34;&#34;&#59; ln != null&#59; ln = br.readLine&#40;&#41; &#41;<br />            {<br />                sb.append&#40; ln.replaceAll&#40;&#34;&lt;&#34; ,&#34;&#60;&#34; &#41;<br />                             .replaceAll&#40;&#34;&gt;&#34; ,&#34;&#62;&#34; &#41;<br />                             .replaceAll&#40;&#34;&amp;&#34; ,&#34;&&#34; &#41;<br />                             .replaceAll&#40;&#34;"&#34; ,&#34;&#92;&#34;&#34; &#41;<br />                &#41;;<br />            }<br />            br.close&#40;&#41;;<br />        }<br />        catch&#40; MalformedURLException mux &#41;<br />        {<br />            System.out.print&#40;&#34;ERROR&#58; &#34; +DEFAULT_AUTHURL+ &#34; is malformed!&#34;&#41;;<br />        }<br />        catch&#40; IOException iox &#41;<br />        {<br />            System.out.println&#40; iox.getMessage&#40;&#41;&#41;;<br />            System.out.print&#40;&#34;ERROR&#58; &#34; +DEFAULT_AUTHURL+ &#34; is NOT reachable!&#34;&#41;;<br />        }<br /><br />        return sb.toString&#40;&#41;;<br />    }<br /><br />    //  To convert a byte array to hexadecimal.<br />    private static  String  tosignatureHex&#40; byte bytes&#91;&#93; &#41;<br />    {<br />        StringBuffer    signatureHex=new StringBuffer&#40;&#41;;<br /><br />        for&#40;int i = 0&#59; i &#60; bytes.length&#59; i++ &#41;<br />        {<br />            String hex = Integer.toHexString&#40;0xFF & bytes&#91;i&#93;&#41;;<br />            if &#40;hex.length&#40;&#41; == 1&#41;<br />                signatureHex.append&#40;'0'&#41;;<br /><br />            signatureHex.append&#40;hex&#41;;<br />        }<br /><br />        return  signatureHex.toString&#40;&#41;;<br />    }<br /><br />    protected String postToHotJob&#40;&#41;<br />    {<br />        long            tStamp  =     System.currentTimeMillis&#40;&#41;;<br />        StringBuilder   sb      = new StringBuilder&#40;&#41;;<br /><br />        String          response=     requestHotJobAuth&#40;&#41;;  //  Get authorized.<br />        String          token   =     response.substring&#40; response.indexOf&#40;&#34;&#60;Token&#62;&#34;&#41;+7, response.indexOf&#40;&#34;&#60;/Token&#62;&#34;&#41;&#41;; //  Extract out the returned token.<br />System.out.println&#40;&#34;AuthResp----&#92;n&#34; +response&#41;;<br />System.out.println&#40;&#34;Token----&#92;n&#34;  +token&#41;;<br /><br />        URL url;<br />        HttpURLConnection conn;<br /><br />        try<br />        {<br />            MessageDigest   algorithm=    MessageDigest.getInstance&#40;&#34;MD5&#34;&#41;;<br />            StringBuffer    signatureHex=new StringBuffer&#40;&#41;;<br /><br />            algorithm.reset&#40;&#41;;<br />System.out.println&#40; &#40;REQUEST_POST +Long.toString&#40;tStamp&#41; +token +DEFAULT_LICENSE&#41; &#41;;<br />            algorithm.update&#40;   &#40;REQUEST_POST +Long.toString&#40;tStamp&#41; +token +DEFAULT_LICENSE&#41;.getBytes&#40;&#41; &#41;;<br />            byte msgDigest&#91;&#93;= algorithm.digest&#40;&#41;;<br /><br />            signatureHex.append&#40; tosignatureHex&#40;msgDigest&#41; &#41;;<br /><br />            url = new URL&#40;  DEFAULT_JOBSURL    &#41;;<br />            conn=&#40;HttpURLConnection&#41;url.openConnection&#40;&#41;;<br /><br />            if&#40; conn instanceof HttpURLConnection &#41;<br />                &#40;&#40;HttpURLConnection &#41;conn&#41;.setRequestMethod&#40; &#34;POST&#34; &#41;;<br /><br />            conn.setRequestProperty&#40;&#34;Content-Type&#34;              ,&#34;text/xml; charset=utf-8&#34;  &#41;;<br />            conn.setRequestProperty&#40;&#34;Content-Length&#34;            ,Integer.toString&#40; REQUEST_POST.length&#40;&#41;&#41;&#41;;<br />            conn.setRequestProperty&#40;&#34;X-Yahoo-HJAuth-Token&#34;      ,token                      &#41;;<br />            System.out.println&#40;     &#34;X-Yahoo-HJAuth-Token&#58; &#34;    +token                      &#41;;<br />            conn.setRequestProperty&#40;&#34;X-Yahoo-HJAuth-Timestamp&#34;  ,Long.toString&#40;tStamp&#41;      &#41;;<br />            System.out.println&#40;     &#34;X-Yahoo-HJAuth-Timestamp&#58; &#34;+Long.toString&#40;tStamp&#41;      &#41;;<br />            conn.setRequestProperty&#40;&#34;X-Yahoo-HJAuth-Signature&#34;  ,signatureHex.toString&#40;&#41;    &#41;;<br />            System.out.println&#40;     &#34;X-Yahoo-HJAuth-Signature&#58; &#34;+signatureHex.toString&#40;&#41;    &#41;;<br /><br />            conn.setDoOutput&#40; true &#41;;<br />            conn.setDoInput&#40;  true &#41;;<br /><br />            // Write the request out to the URL.<br />            OutputStream out = conn.getOutputStream&#40;&#41;;<br />            out.write&#40; REQUEST_POST.getBytes&#40;&#41; &#41;;<br />            out.flush&#40;&#41;;<br />            out.close&#40;&#41;;<br />            System.out.println&#40;&#34;&#92;nResponse Code&#58;&#34; + conn.getResponseCode&#40;&#41;&#41;;<br /><br />            // Read the response from the URL.<br />            InputStreamReader   isr=null;<br />            // Read the stream<br />            if &#40;conn.getResponseCode&#40;&#41; &#62;= 400&#41;<br />                isr=new InputStreamReader&#40; conn.getErrorStream&#40;&#41;&#41;;  //  VIP if not you cant read the returned response!<br />            else<br />                isr=new InputStreamReader&#40; conn.getInputStream&#40;&#41;&#41;;<br /><br />            BufferedReader      br =new BufferedReader&#40; isr &#41;;<br /><br />            for&#40; String ln=&#34;&#34;&#59; ln != null&#59; ln = br.readLine&#40;&#41; &#41;<br />            {<br />                sb.append&#40; ln.replaceAll&#40;&#34;&lt;&#34; ,&#34;&#60;&#34; &#41;<br />                             .replaceAll&#40;&#34;&gt;&#34; ,&#34;&#62;&#34; &#41;<br />                             .replaceAll&#40;&#34;&amp;&#34; ,&#34;&&#34; &#41;<br />                             .replaceAll&#40;&#34;"&#34; ,&#34;&#92;&#34;&#34; &#41;<br />                &#41;;<br />            }<br />            System.out.println&#40; sb.toString&#40;&#41; &#41;;<br />            br.close&#40;&#41;;<br />        }<br />        catch &#40;NoSuchAlgorithmException nax&#41;<br />        {<br />            System.out.print&#40;&#34;ERROR&#58; Could not instantiate MD5 message digest!&#34;&#41;;<br />        }<br />        catch&#40; MalformedURLException mux &#41;<br />        {<br />            System.out.print&#40;&#34;ERROR&#58; &#34; +DEFAULT_JOBSURL+ &#34; is malformed!&#34;&#41;;<br />        }<br />        catch&#40; IOException iox &#41;<br />        {<br />            System.out.println&#40; iox.getMessage&#40;&#41; &#41;;<br />            System.out.println&#40;&#34;ERROR&#58; &#34; +DEFAULT_JOBSURL+ &#34; is NOT reachable!&#34;&#41;;<br />        }<br /><br />        return sb.toString&#40;&#41;;<br />    }<br /><br />    public static void main&#40;String&#91;&#93; args&#41;<br />    {<br />        HotJobTest hjTest = new HotJobTest&#40;&#41;;<br /><br />        System.out.println&#40; hjtest.postToHotJob&#40;&#41;.replace&#40;&#34;&#62;&#60;&#34; ,&#34;&#62;&#92;n&#60;&#34;&#41; &#41;;<br />    }<br />}<!--c2--></code></pre></div><!--ec2-->]]></description>
		<pubDate>Fri, 17 Apr 2009 21:17:09 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1209</guid>
	</item>
	<item>
		<title>Looping through search results - issue with view resume</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1098</link>
		<description><![CDATA[I am working with asp.net 2.0 code and can get everything to work but now have an issue with looping through all the results.   I have it set to look through the results 20 at a time.   I can see all 20 of the resumes from the first result fine.  When I do my second loop (get next 20 resumes) I get a timeout error when I try to view the first resume.  It calls the url but I way for I would say 30 - 60 seconds before sending the error.  <br /><br />Below is an example of how the process happens.<br /><br />1) Yahoo Authorization - <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a><br />2) Grab Token from returned xml<br />3) Resume Search: <a href="http://hj.yahooapis.com/v1/ResumeFilters" rel="nofollow" target="ext">http://hj.yahooapis.com/v1/ResumeFilters</a><br />4) Search Results URL: <a href="http://hj.yahooapis.com/v1/ResumeFilter/abc123/Resumes;start=1;count=20" rel="nofollow" target="ext">http://hj.yahooapis.com/v1/ResumeFilter/ab...tart=1;count=20</a><br />4a) View Resume 1 <a href="http://hj.yahooapis.com/v1/Resume/MzMx.." rel="nofollow" target="ext">http://hj.yahooapis.com/v1/Resume/MzMx..</a>..<br />4b) View Resume 2 <a href="http://hj.yahooapis.com/v1/Resume/MzA5.." rel="nofollow" target="ext">http://hj.yahooapis.com/v1/Resume/MzA5..</a>..<br />4c) View Resume 3 <a href="http://hj.yahooapis.com/v1/Resume/MTI3.." rel="nofollow" target="ext">http://hj.yahooapis.com/v1/Resume/MTI3..</a>..<br />4d) View Resume 4 <a href="http://hj.yahooapis.com/v1/Resume/MTYy.." rel="nofollow" target="ext">http://hj.yahooapis.com/v1/Resume/MTYy..</a>..<br />4e) View Resume 5 <a href="http://hj.yahooapis.com/v1/Resume/MzY1.." rel="nofollow" target="ext">http://hj.yahooapis.com/v1/Resume/MzY1..</a>..<br />... all the way until 20 resumes have been viewed<br />5) Search Results <a href="http://hj.yahooapis.com/v1/ResumeFilter/abc123/Resumes;start=21;count=20" rel="nofollow" target="ext">http://hj.yahooapis.com/v1/ResumeFilter/ab...art=21;count=20</a><br />6) Try to View Resume URL: <a href="http://hj.yahooapis.com/v1/Resume/MzA2.." rel="nofollow" target="ext">http://hj.yahooapis.com/v1/Resume/MzA2..</a>..<br /><br />Error returned is:<br />System.Net.WebException: The operation has timed out<br />   at System.Net.HttpWebRequest.GetResponse()<br />   at CandidateFeedFinder.WebPost.Request(String sPOSTData, Boolean bAutoRedirect, Hashtable hshHeader) in C:&#92;...WebPost.vb:line 110<br /><br />Anyone seen this before?  Any advice would help greatly.  Thanks.]]></description>
		<pubDate>Sat, 04 Apr 2009 04:29:11 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1098</guid>
	</item>
	<item>
		<title>XML Request in Search Results and View Resume query</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1060</link>
		<description><![CDATA[<b>Search Results</b> (<a href="http://developer.yahoo.com/hotjobs/resume_search_user_guide/resumeSearch.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/resume_...sumeSearch.html</a>) and <b>View Resume</b> (<a href="http://developer.yahoo.com/hotjobs/resume_search_user_guide/viewResume.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/resume_...viewResume.html</a>) require to pass in the header 'X-Yahoo-HJAuth-Signature' with the first part of the signature being the XML request.  Is this the same XML Request created and sent in the <b>Resume Search</b> (<a href="http://developer.yahoo.com/hotjobs/resume_search_user_guide/resumeSearch.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/resume_...sumeSearch.html</a>)?  Or do we need to create a new xml request?  Or is it blank for this?]]></description>
		<pubDate>Fri, 27 Mar 2009 06:58:33 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1060</guid>
	</item>
	<item>
		<title>XML Request in Search Results and View Resume query</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1060</link>
		<description><![CDATA[<!--quoteo(post=3068:date=Mar 27 2009, 05&#58;58 AM:name=lleemon)--><div class='quote'><div class='quotetop'>QUOTE <cite>(lleemon &#064; Mar 27 2009, 05&#58;58 AM) <a href="index.php?act=findpost&pid=3068"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec--><b>Search Results</b> (<a href="http://developer.yahoo.com/hotjobs/resume_search_user_guide/resumeSearch.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/resume_...sumeSearch.html</a>) and <b>View Resume</b> (<a href="http://developer.yahoo.com/hotjobs/resume_search_user_guide/viewResume.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/resume_...viewResume.html</a>) require to pass in the header 'X-Yahoo-HJAuth-Signature' with the first part of the signature being the XML request.  Is this the same XML Request created and sent in the <b>Resume Search</b> (<a href="http://developer.yahoo.com/hotjobs/resume_search_user_guide/resumeSearch.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/resume_...sumeSearch.html</a>)?  Or do we need to create a new xml request?  Or is it blank for this?<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br /><br />Figured the answer.  Do not pass the xml request data, at least in the Search Results.]]></description>
		<pubDate>Fri, 27 Mar 2009 06:58:33 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1060</guid>
	</item>
	<item>
		<title>HotJob Authetication API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1045</link>
		<description><![CDATA[Hi Folks:<br /><br />I am newbies at these APIs.  I am learning to use the HotJob Authetication API by write a small static HTML page as follows:<br /><br /><!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->&lt;html&gt;<br />&lt;head&gt;<br />&lt;title&gt;Post to <a href="https://hj.yahooapis.com/v1/HJAuthTokens&lt;/title&gt;" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens&lt;/title&gt;</a><br />&lt;/head&gt;<br />&lt;body&gt;<br />&lt;form  method="post" action="https://hj.yahooapis.com/v1/HJAuthTokens"&gt;<br /><br />	&lt;textarea name="Job" cols="80" rows="20"&gt;<br />&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;<br />&lt;atom:feed  xmlns:yheader="http://schemas.yahoo.com/ypost/jobsHeader/3.0" <br />            xmlns:atom="http://www.w3.org/2005/Atom" <br />            xmlns:yjob="http://schemas.yahoo.com/ypost/jobs/3.0" <br />            xmlns:ycontrol="http://schemas.yahoo.com/ypost/control/1.0"&gt;<br />   &lt;yheader:Credential&gt; <br />       &lt;yheader:Login&gt;mylogin@gmail.com&lt;/yheader:Login&gt;<br />       &lt;yheader:Password&gt;myPassword&lt;/yheader:Password&gt; <br />       &lt;yheader:Version&gt;3.0&lt;/yheader:Version&gt;<br />       &lt;yheader:LicenseKey&gt;xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;/yheader:LicenseKey&gt;<br />   &lt;/yheader:Credential&gt; <br />&lt;/atom:feed&gt;<br />	&lt;/textarea&gt;<br />	&lt;br/&gt;<br />	&lt;input type="submit" value="Post to Yahoo"/&gt;<br />&lt;/form&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<!--fontc--></span><!--/fontc-->  <br /><br />In the above my login/password/licence are been munged  for this posting.  When I click the submit button to post the XML to the following URL: <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a> ... I got the following error back:<br /><!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto--><br />&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />&lt;yahoo:error xmlns="http://hj.yahooapis.com/v1/schema.rng" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xml:lang="en-US"&gt;<br />&lt;yahoo:description&gt;Invalid XML&lt;/yahoo:description&gt;<br />&lt;yahoo:detail&gt;<br />&lt;ErrorCode&gt;30&lt;/ErrorCode&gt;<br />&lt;/yahoo:detail&gt;<br />&lt;/yahoo:error&gt;<br />&lt;!-- atsweb02.hj.re3.yahoo.com uncompressed/chunked Wed Mar 25 23:48:02 PDT 2009 --&gt;<br /><!--fontc--></span><!--/fontc--><br /><br />The XML was validated at <a href="http://www.w3schools.com/XML/xml_validator.asp" rel="nofollow" target="ext">http://www.w3schools.com/XML/xml_validator.asp</a> and it found no errors.<br /><br />If anyone could give me some help, that's greatly appreciated.<br /><br />Thx.]]></description>
		<pubDate>Wed, 25 Mar 2009 23:56:26 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1045</guid>
	</item>
	<item>
		<title>HotJob Authetication API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1045</link>
		<description><![CDATA[This is what was received in the POST request:<br /><br />Job=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22UTF-8%22+standalone%3D%22yes%22%3F%3E%0D%0A%3Catom%3Afeed+xmlns%3Ayheader%3D%22http%3A%2F%2Fschemas.yahoo.com%2Fypost%2FjobsHeader%2F3.0%22%0D%0Axmlns%3Aatom%3D%22http%3A%2F%2Fwww.w3.org%2F2005%2FAtom%22%0D%0Axmlns%3Ayjob%3D%22http%3A%2F%2Fschemas.yahoo.com%2Fypost%2Fjobs%2F3.0%22%0D%0Axmlns%3Aycontrol%3D%22http%3A%2F%2Fschemas.yahoo.com%2Fypost%2Fcontrol%2F1.0%22%3E%0D%0A%3Cyheader%3ACredential%3E%0D%0A%3Cyheader%3ALogin%3Emylogin@gmail.com%3C%2Fyheader%3ALogin%3E%0D%0A%3Cyheader%3APassword%3EmyPassword%3C%2Fyheader%3APassword%3E%0D%0A%3Cyheader%3AVersion%3E3.0%3C%2Fyheader%3AVersion%3E%0D%0A%3Cyheader%3ALicenseKey%3Exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%3C%2Fyheader%3ALicenseKey%3E%0D%0A%3C%2Fyheader%3ACredential%3E%0D%0A%3C%2Fatom%3Afeed%3E%0D%0A<br /><br />The POST request should not contain Job=&lt;xml string&gt;; instead it should contain &lt;xml string&gt; only and that should not be URL encoded.<br /><br />Thanks<br />--<br />Amit Rawat]]></description>
		<pubDate>Wed, 25 Mar 2009 23:56:26 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1045</guid>
	</item>
	<item>
		<title>HotJob Authetication API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1045</link>
		<description><![CDATA[Thanks for your reply.<br /><br />The HTML was a quick test to see what was sent up and receive by HotJobs.  Next, I will try writing a java program to stream a message over.  Do you have a sample J2SE 5 example to accomplish the same?  It sure can expedite my implementation.]]></description>
		<pubDate>Wed, 25 Mar 2009 23:56:26 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1045</guid>
	</item>
	<item>
		<title>HotJob Authetication API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1045</link>
		<description><![CDATA[Before I try diving into and learning java I tried with the Linux "curl" with the following xml in a file called <b>hotjob-authreq.txt</b>:<br /><!--quoteo--><div class='quote'><div class='quotetop'>QUOTE <cite></cite></div><blockquote class='quotemain'><!--quotec-->&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;<br />&lt;atom:feed xmlns:yheader="http://schemas.yahoo.com/ypost/jobsHeader/3.0"<br />           xmlns:atom="http://www.w3.org/2005/Atom"<br />           xmlns:yjob="http://schemas.yahoo.com/ypost/jobs/3.0"<br />           xmlns:ycontrol="http://schemas.yahoo.com/ypost/control/1.0"&gt;<br />   &lt;yheader:Credential&gt;<br />       &lt;yheader:Login&gt;myLogin@gmail.com&lt;/yheader:Login&gt;<br />       &lt;yheader:Password&gt;myPassword&lt;/yheader:Password&gt;<br />       &lt;yheader:Version&gt;3.0&lt;/yheader:Version&gt;<br />       &lt;yheader:LicenseKey&gt;xxxxxxxxxxxxxxxxxxxxxxxx&lt;/yheader:LicenseKey&gt;<br />   &lt;yheader:Credential&gt;<br />&lt;/atom:feed&gt;<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />The command I used is <b>curl -vd @hotjob-authreq.txt <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a></b> and the following is the trace:<br /><br /><!--quoteo--><div class='quote'><div class='quotetop'>QUOTE <cite></cite></div><blockquote class='quotemain'><!--quotec-->* About to connect() to hj.yahooapis.com port 443<br />*   Trying 66.196.122.16... connected<br />* Connected to hj.yahooapis.com (66.196.122.16) port 443<br />* successfully set certificate verify locations:<br />*   CAfile: /etc/pki/tls/certs/ca-bundle.crt<br />  CApath: none<br />* SSLv2, Client hello (1):<br />SSLv3, TLS handshake, Server hello (2):<br />SSLv3, TLS handshake, CERT (11):<br />SSLv3, TLS handshake, Server key exchange (12):<br />SSLv3, TLS handshake, Server finished (14):<br />SSLv3, TLS handshake, Client key exchange (16):<br />SSLv3, TLS change cipher, Client hello (1):<br />SSLv3, TLS handshake, Finished (20):<br />SSLv3, TLS change cipher, Client hello (1):<br />SSLv3, TLS handshake, Finished (20):<br />SSL connection using DHE-RSA-AES256-SHA<br />* Server certificate:<br />*        subject: /C=US/ST=California/L=Santa Clara/O=Yahoo! Inc./OU=Yahoo/CN=hj.yahooapis.com<br />*        start date: 2008-05-09 17:21:09 GMT<br />*        expire date: 2009-05-10 17:21:09 GMT<br />*        common name: hj.yahooapis.com (matched)<br />*        issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate Authority<br />* SSL certificate verify ok.<br />&gt; POST /v1/HJAuthTokens HTTP/1.1<br />&gt; User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5<br />&gt; Host: hj.yahooapis.com<br />&gt; Accept: */*<br />&gt; Content-Length: 611<br />&gt; Content-Type: application/x-www-form-urlencoded<br />&gt;<br />&gt; &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;&lt;atom:feed xmlns:yheader="http://schemas.yahoo.com/ypost/jobsHeader/3.0"           xmlns:atom="http://www.w3.org/2005/Atom"           xmlns:yjob="http://schemas.yahoo.com/ypost/jobs/3.0"           xmlns:ycontrol="http://schemas.yahoo.com/ypost/control/1.0"&gt;   &lt;yheader:Credential&gt;        &lt;yheader:Login&gt;myLogin@gmail.com&lt;/yheader:Login&gt;       &lt;yheader:Password&gt;myPassword&lt;/yheader:Password&gt;        &lt;yheader:Version&gt;3.0&lt;/yheader:Version&gt;       &lt;yheader:LicenseKey&gt;xxxxxxxxxxxxxxxxxxxxxxxx&lt;/yheader:LicenseKey&gt;   &lt;yheader:Credential&gt; &lt;/atom:feed&gt;HTTP/1.1 400 Bad Request<br />&lt; Date: Wed, 01 Apr 2009 02:43:01 GMT<br />&lt; P3P: policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"<br />&lt; Cache-Control: private<br />&lt; Connection: close<br />&lt; Transfer-Encoding: chunked<br />&lt; Content-Type: application/xml;charset=utf-8<br />&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />&lt;yahoo:error xmlns="http://hj.yahooapis.com/v1/schema.rng" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xml:lang="en-US"&gt;<br />&lt;yahoo:description&gt;Invalid XML&lt;/yahoo:description&gt;<br />&lt;yahoo:detail&gt;<br />&lt;ErrorCode&gt;30&lt;/ErrorCode&gt;<br />&lt;/yahoo:detail&gt;<br />&lt;/yahoo:error&gt;<br />&lt;!-- atsweb02.hj.re3.yahoo.com uncompressed/chunked Tue Mar 31 19:43:01 PDT 2009 --&gt;<br />* Closing connection #0<br />* SSLv3, TLS alert, Client hello (1):<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Could anyone point out to me what I am missing?  Does anyone have an example of how to get authenticate with Hot Jobs?]]></description>
		<pubDate>Wed, 25 Mar 2009 23:56:26 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1045</guid>
	</item>
	<item>
		<title>HotJob Authetication API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1045</link>
		<description><![CDATA[<!--quoteo(post=3180:date=Mar 31 2009, 07&#58;01 PM:name=Edward L)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Edward L &#064; Mar 31 2009, 07&#58;01 PM) <a href="index.php?act=findpost&pid=3180"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Before I try diving into and learning java I tried with the Linux "curl" with the following xml in a file called <b>hotjob-authreq.txt</b>:<br /><br /><br />The command I used is <b>curl -vd @hotjob-authreq.txt <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a></b> and the following is the trace:<br /><br /><br /><br />Could anyone point out to me what I am missing?  Does anyone have an example of how to get authenticate with Hot Jobs?<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Hi Edward,<br />it is indeed an invalid xml. yheader:Credential tag is not closed properly. Second last line should be:<br />&lt;/yheader:Credential&gt;]]></description>
		<pubDate>Wed, 25 Mar 2009 23:56:26 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1045</guid>
	</item>
	<item>
		<title>HotJob Authetication API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1045</link>
		<description><![CDATA[<!--quoteo(post=3205:date=Apr 2 2009, 05&#58;19 AM:name=Amit R)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Amit R &#064; Apr 2 2009, 05&#58;19 AM) <a href="index.php?act=findpost&pid=3205"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Hi Edward,<br />it is indeed an invalid xml. yheader:Credential tag is not closed properly. Second last line should be:<br />&lt;/yheader:Credential&gt;<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br /><b>Thanks Amit.  Greatly appreciated!!!</b><br /><br />It did work after I corrected my closing &lt;yheader:Credential&gt; tag.  Is there a test page like with Monster.com (http://xml.monster.com/MonsterWebServiceToolkit/webservicetest.aspx) ?<br /><br />The result I got back from the <b>curl</b> utility is as follows:<br /><!--quoteo--><div class='quote'><div class='quotetop'>QUOTE <cite></cite></div><blockquote class='quotemain'><!--quotec-->&lt; Date: Thu, 02 Apr 2009 20:36:13 GMT<br />&lt; P3P: policyref="http://p3p.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE GOV"<br />&lt; Location: <a href="http://hj.yahooapis.com/v1/HJAuthToken/NTlEMzY0MEY3OUExM0QwMkVFNTMwNjk3MUYwNzhGNjQ7c2Vzc2lvbjAyLmhqLnJlMy55YWhvby5jb207dFNrZElxRkl3YWdodFVJRkhIb0xhNHNVRFJxZHlQTDBUZTRXR21waW1Idk9xcGR3VXctLTs3MzUwMTk7MzU5Mjk2OzEyMzg3MDQ1NzQ7QkJCaEguR2RSaFQzVHBhdXRlU2NZQS0t" rel="nofollow" target="ext">http://hj.yahooapis.com/v1/HJAuthToken/NTl...HBhdXRlU2NZQS0t</a><br />&lt; Content-Location: <a href="http://hj.yahooapis.com/v1/HJAuthToken/NTlEMzY0MEY3OUExM0QwMkVFNTMwNjk3MUYwNzhGNjQ7c2Vzc2lvbjAyLmhqLnJlMy55YWhvby5jb207dFNrZElxRkl3YWdodFVJRkhIb0xhNHNVRFJxZHlQTDBUZTRXR21waW1Idk9xcGR3VXctLTs3MzUwMTk7MzU5Mjk2OzEyMzg3MDQ1NzQ7QkJCaEguR2RSaFQzVHBhdXRlU2NZQS0t" rel="nofollow" target="ext">http://hj.yahooapis.com/v1/HJAuthToken/NTl...HBhdXRlU2NZQS0t</a><br />&lt; Last-Modified: Thu, 02 Apr 2009 20:36:14 GMT<br />&lt; Cache-Control: private<br />&lt; Connection: close<br />&lt; Transfer-Encoding: chunked<br />&lt; Content-Type: application/xml;charset=utf-8<br />&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />&lt;Response&gt;<br />&lt;ResponseCode&gt;0&lt;/ResponseCode&gt;<br />&lt;ResponseMessage&gt;Login successful&lt;/ResponseMessage&gt;<br />&lt;Token&gt;NTlEMzY0MEY3OUExM0QwMkVFNTMwNjk3MUYwNzhGNjQ7c2Vzc2lvbjAyLmhqLnJlMy55YWhvby5jb<br />207dFNrZElxRkl3YWdodFVJRkhIb0xhNHNVRFJxZHlQTDBUZTRXR21waW1Idk9xcGR3VXctLTs3MzUwM<br />T<br />k7MzU5Mjk2OzEyMzg3MDQ1NzQ7QkJCaEguR2RSaFQzVHBhdXRlU2NZQS0t&lt;/Token&gt;<br />&lt;/Response&gt;<br />&lt;!-- atsweb02.hj.re3.yahoo.com uncompressed/chunked Thu Apr  2 13:36:13 PDT 2009 --&gt;<br />* Closing connection #0<br />* SSLv3, TLS alert, Client hello (1):<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />I hope this exercise will serve as a "documentation" to all other folks that out there.  Now moving on to the next API call to post a job.  I hope it will be smoother.<br /><br />Thanks.]]></description>
		<pubDate>Wed, 25 Mar 2009 23:56:26 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1045</guid>
	</item>
	<item>
		<title>HotJob Authetication API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1045</link>
		<description><![CDATA[Hi Folks:<br /><br />Took me awhile to write this test Java program.  It is NOT dependent on any external libraries.  This is straight J2SE 1.5 and could serve as an example to other folks out there.  The login information have been munged and you need to replace it with yours.<br /><!--quoteo--><div class='quote'><div class='quotetop'>QUOTE <cite></cite></div><blockquote class='quotemain'><!--quotec-->package test.HotJob;<br /><br />import  java.io.BufferedReader;<br />import  java.io.IOException;<br />import  java.io.InputStreamReader;<br />import  java.io.OutputStream;<br />import  java.net.HttpURLConnection;<br />import  java.net.MalformedURLException;<br />import  java.net.URL;<br />import  java.net.URLConnection;<br /><br />public  class   HotJobAuth<br />{<br />    private static  String  REQUEST_AUTH=""<br />    +   "&lt;?xml version=&#92;"1.0&#92;" encoding=&#92;"UTF-8&#92;" standalone=&#92;"yes&#92;"?&gt;&#92;n"<br />    +   "&lt;atom:feed xmlns:yheader=&#92;"http://schemas.yahoo.com/ypost/jobsHeader/3.0&#92;"&#92;n"<br />    +   "           xmlns:atom=&#92;"http://www.w3.org/2005/Atom&#92;"&#92;n"<br />    +   "           xmlns:yjob=&#92;"http://schemas.yahoo.com/ypost/jobs/3.0&#92;"&#92;n"<br />    +   "           xmlns:ycontrol=&#92;"http://schemas.yahoo.com/ypost/control/1.0&#92;"&gt;&#92;n"<br />    +   "   &lt;yheader:Credential&gt;&#92;n"<br />    +   "       &lt;yheader:Login&gt;myLogin&lt;/yheader:Login&gt;&#92;n"<br />    +   "       &lt;yheader:Password&gt;myPassword&lt;/yheader:Password&gt; &#92;n"<br />    +   "       &lt;yheader:Version&gt;3.0&lt;/yheader:Version&gt;&#92;n"<br />    +   "       &lt;yheader:LicenseKey&gt;myLicenseKey&lt;/yheader:LicenseKey&gt;&#92;n"<br />    +   "   &lt;/yheader:Credential&gt;&#92;n"<br />//  +   "   &lt;atom:id&gt;1-EVWGO&lt;/atom:id&gt;&#92;n"<br />    +   "&lt;/atom:feed&gt;&#92;n";<br /><br />    protected   String  requestHotJobAuth()<br />    {<br />        StringBuilder   sb= new StringBuilder();<br /><br />        try<br />        {<br />            URL                 url = new URL( "https://hj.yahooapis.com/v1/HJAuthTokens" );<br />            URLConnection       conn= url.openConnection();<br /><br />            if( conn instanceof HttpURLConnection )<br />              ((HttpURLConnection )conn).setRequestMethod( "POST" );<br /><br />            conn.setRequestProperty("Content-Type"  ,"text/xml; charset=utf-8"          );<br />            conn.setRequestProperty("Content-Length", Integer.toString( REQUEST_AUTH.length()));<br /><br />            conn.setDoOutput(        true  );<br />            conn.setDoInput(         true  );<br /><br />            //  Write the request out to the URL.<br />            OutputStream    out =   conn.getOutputStream();<br />            out.write(      REQUEST_AUTH.getBytes()   );<br />            out.close();<br /><br />            //  Read the response from the URL.<br />            BufferedReader  br  =new BufferedReader(new InputStreamReader( conn.getInputStream() ));<br /><br />            for( String ln="" ; ln != null ; ln = br.readLine() )<br />            {<br />                sb.append( ln.replaceAll("&lt;"     ,"&lt;"    )<br />                             .replaceAll("&gt;"     ,"&gt;"    )<br />                             .replaceAll("&amp;"    ,"&"    )<br />                             .replaceAll("""   ,"&#92;""   )<br />                         );<br />            }<br />            br.close();<br />        }<br />        catch(  MalformedURLException   mux )<br />        {<br />            System.out.print("ERROR: <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a> is malformed!");<br />        }<br />        catch(  IOException             iox )<br />        {<br />            System.out.print("ERROR: <a href="https://hj.yahooapis.com/v1/HJAuthTokens" rel="nofollow" target="ext">https://hj.yahooapis.com/v1/HJAuthTokens</a> is NOT reachable!");<br />        }<br /><br />        return  sb.toString();<br />    }<br /><br /><br />    public static void main(String[] args)<br />    {<br />        HotJobAuth  hjAuth = new HotJobAuth();<br /><br />        System.out.println( hjAuth.requestHotJobAuth().replace("&gt;&lt;" ,"&gt;&#92;n&lt;") );<br />    }<br />}<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br />The result I got back is:<br /><!--quoteo--><div class='quote'><div class='quotetop'>QUOTE <cite></cite></div><blockquote class='quotemain'><!--quotec-->&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />&lt;Response&gt;<br />&lt;ResponseCode&gt;0&lt;/ResponseCode&gt;<br />&lt;ResponseMessage&gt;Login successful&lt;/ResponseMessage&gt;<br />&lt;Token&gt;NTlERjhCMzhFRkM3ODhERTg0QUEwRDJFMTIwQ0FFQjQ7c2Vzc2lvbjAyLmhqLnJlMy55YWhvby5jb<br />207dFNrZElxRkl3YWdodFVJRkhIb0xhNHNVRFJxZHlQTDBUZTRXR21waW1Idk9xcGR3VXctLTs3MzUwM<br />T<br />k7MzU5Mjk2OzEyMzk5MTQ2ODE7Uzc2WXdJZ1RUSTdTVFpHRmdybWRoQS0t&lt;/Token&gt;<br />&lt;/Response&gt;<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br />Enjoy.]]></description>
		<pubDate>Wed, 25 Mar 2009 23:56:26 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1045</guid>
	</item>
	<item>
		<title>HotJob Authetication API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=1045</link>
		<description><![CDATA[Do u really know computer programming?<br /><br /><br /><!--quoteo(post=3539:date=Apr 16 2009, 12&#58;55 PM:name=Edward L)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Edward L &#064; Apr 16 2009, 12&#58;55 PM) <a href="index.php?act=findpost&pid=3539"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Hi Folks:<br /><br />Took me awhile to write this test Java program.  It is NOT dependent on any external libraries.  This is straight J2SE 1.5 and could serve as an example to other folks out there.  The login information have been munged and you need to replace it with yours.<br /><br />The result I got back is:<br /><br />Enjoy.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Wed, 25 Mar 2009 23:56:26 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=1045</guid>
	</item>
	<item>
		<title>Resume Search API with asp.net help</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=997</link>
		<description><![CDATA[I have created some asp.net code that logs in properly and gets a Token.  I then try and pass new search information but get the following error:<br />The remote server returned an error: (400) Bad Request.<br /><br />The xml I am passing is:<br />&lt;?xml version="1.0" encoding="utf-8" standalone="yes"?&gt;&lt;SearchCriteria&gt;&lt;SearchCriterion&gt;&lt;CriterionName&gt;Keywords&lt;/CriterionName&gt;&lt;CriterionValue&gt;SAS&lt;/CriterionValue&gt;&lt;/SearchCriterion&gt;&lt;SearchCriterion&gt;&lt;CriterionName&gt;Location&lt;/CriterionName&gt;&lt;CriterionValue&gt;&lt;Location&gt;&lt;Municipality&gt;Burnsville&lt;/Municipality&gt;&lt;Region&gt;MN&lt;/Region&gt;&lt;PostalCode&gt;55306&lt;/PostalCode&gt;&lt;CountryCode /&gt;&lt;Radius&gt;5&lt;/Radius&gt;&lt;/Location&gt;&lt;/CriterionValue&gt;&lt;/SearchCriterion&gt;&lt;/SearchCriteria&gt;<br /><br />Is there a way to test if:<br />1) I am passing the right info to Yahoo?<br />2) See if my md5 is generated properly?<br />3) Am I passing headers properly?<br /><br /><!--c1--><div class='code generic'><div class='codetop'>CODE</div><pre class='codemain'><code><!--ec1-->   Private Sub btnXML_Click&#40;ByVal sender As System.Object, ByVal e As System.EventArgs&#41; Handles btnXML.Click<br />        Dim sXML As String = &#34;&#34;<br />        Dim sRetVal As String = &#34;&#34;<br />        Dim sToken As String = &#34;&#34;<br />        Dim sLicenseKey As String = &#34;xxxxxxxxxxxxxxxxxxxxxxxxxxx&#34;  '&#60;--- PUT YOUR LicenseKey value here<br />        Dim sLogin As String = &#34;name@domain.com&#34;  '&#60;--- PUT YOUR Login VALUE HERE<br />        Dim sPassword As String = &#34;password&#34;  '&#60;-- PUT YOUR password VALUE HERE<br />        Dim sAccountID As String = &#34;1-33XX-9999&#34;  '&#60;-- PUT YOUR AccountID VALUE HERE<br /><br />        'Create Authentication XML to get Token<br />        sXML = fnYahooXMLLogin&#40;sLicenseKey, sLogin, sPassword, sAccountID&#41;<br /><br />        Dim cYahoo As New WebPost<br /><br />        'Yahoo Authorization<br />        cYahoo.URL = &#34;https&#58;//hj.yahooapis.com/v1/HJAuthTokens&#34;<br />        cYahoo.Referer = &#34;&#34;<br />        sRetVal = cYahoo.Request&#40;sXML, True&#41;<br /><br />        'Take XML results and get Token value<br />        Dim xDoc As XmlDocument = New XmlDocument<br />        xDoc.LoadXml&#40;sRetVal&#41;<br /><br />        Dim xRoot As XmlNode = xDoc.DocumentElement<br />        sToken = xRoot.SelectSingleNode&#40;&#34;Token&#34;&#41;.ChildNodes&#40;0&#41;.Value<br /><br />        'Start getting values to pass to search<br />        Dim sTimestamp As String = getUnixTimeStamp&#40;Now&#40;&#41;&#41;.ToString&#40;&#41;<br />        Dim sYahooResumeRequest As String = fnYahooXMLSearch&#40;&#34;SAS&#34;&#41;<br />        Dim sYahooSignature As String = String.Format&#40;&#34;{0}{1}{2}{3}{4}&#34;, sYahooResumeRequest, sTimestamp, &#34;&#34;, sToken, sLicenseKey&#41;<br /><br />        'Create hashtable to store Yahoo headers<br />        Dim hshHeader As New Hashtable&#40;&#41;<br />        hshHeader.Add&#40;&#34;X-Yahoo-HJAuth-Token&#34;, sToken&#41;<br />        hshHeader.Add&#40;&#34;X-Yahoo-HJAuth-Timestamp&#34;, sTimestamp&#41;<br />        hshHeader.Add&#40;&#34;X-Yahoo-HJAuth-Signature&#34;, fnMD5Hash&#40;sYahooSignature&#41;&#41;<br /><br />        'Pass values to Yahoo post<br />        cYahoo.URL = &#34;http&#58;//hj.yahooapis.com/v1/ResumeFilters&#34;<br />        cYahoo.Referer = &#34;&#34;<br />        sRetVal = cYahoo.Request&#40;sYahooResumeRequest, True, hshHeader&#41;<br />        txtSearchResults.Text = sRetVal<br /><br />	'Return value is &#34;The remote server returned an error&#58; &#40;400&#41; Bad Request.&#34;<br />    End Sub<br /><br /><br />#Region &#34; getUnixTimeStamp &#34;<br />    Public Shared Function getUnixTimeStamp&#40;ByVal date_time_convert As Date&#41; As Long<br />        Dim date_time_base As New DateTime&#40;1970, 1, 1, 0, 0, 0, 0&#41;<br /><br />        Dim span As TimeSpan = date_time_convert.ToUniversalTime&#40;&#41; - date_time_base<br /><br />        Return CLng&#40;span.TotalSeconds&#41;<br />    End Function<br />#End Region<br /><br />#Region &#34; fnMD5Hash &#34;<br />    Function fnMD5Hash&#40;ByVal sPwd As String&#41; As String<br />        Dim inputPasswordBytes&#40;&#41; As Byte = System.Text.Encoding.Default.GetBytes&#40;sPwd&#41;<br /><br />        Dim hash&#40;&#41; As Byte<br />        ' get hash<br />        Dim md5 As New System.Security.Cryptography.MD5CryptoServiceProvider<br />        hash = md5.ComputeHash&#40;inputPasswordBytes&#41;<br /><br />        ' convert hash value to hex string<br />        Dim sOutput As String = &#34;&#34;<br />        Dim outputByte As Byte<br />        For Each outputByte In hash<br />            ' convert each byte to a Hexadecimal upper case string<br />            sOutput &= outputByte.ToString&#40;&#34;x2&#34;&#41;<br />        Next outputByte<br /><br />        Return sOutput<br />    End Function<br />#End Region<br /><br />#Region &#34; fnYahooXMLSearch &#34;<br />    Function fnYahooXMLSearch&#40;ByVal sKeywords As String&#41; As String<br />        Dim sOutput As String = &#34;&#34;<br /><br />        Dim settings As New XmlWriterSettings&#40;&#41;<br />        settings.CheckCharacters = True<br />        settings.CloseOutput = True<br /><br />        ' Create the XmlWriter object and write some content.<br />        Dim strm As MemoryStream = New MemoryStream&#40;&#41;<br />        Dim writer As XmlWriter = XmlWriter.Create&#40;strm, settings&#41;<br /><br />        writer.WriteStartDocument&#40;True&#41;<br />        writer.WriteStartElement&#40;&#34;SearchCriteria&#34;&#41;<br /><br />        writer.WriteStartElement&#40;&#34;SearchCriterion&#34;&#41;<br />        writer.WriteElementString&#40;&#34;CriterionName&#34;, &#34;Keywords&#34;&#41;<br />        writer.WriteElementString&#40;&#34;CriterionValue&#34;, sKeywords&#41;<br />        writer.WriteEndElement&#40;&#41;<br /><br />        writer.WriteStartElement&#40;&#34;SearchCriterion&#34;&#41;<br />        writer.WriteElementString&#40;&#34;CriterionName&#34;, &#34;Location&#34;&#41;<br /><br />        writer.WriteStartElement&#40;&#34;CriterionValue&#34;&#41;<br />        writer.WriteStartElement&#40;&#34;Location&#34;&#41;<br />        writer.WriteElementString&#40;&#34;Municipality&#34;, &#34;Burnsville&#34;&#41;<br />        writer.WriteElementString&#40;&#34;Region&#34;, &#34;MN&#34;&#41;<br />        writer.WriteElementString&#40;&#34;PostalCode&#34;, &#34;55306&#34;&#41;<br />        writer.WriteElementString&#40;&#34;CountryCode&#34;, &#34;&#34;&#41;<br />        writer.WriteElementString&#40;&#34;Radius&#34;, &#34;5&#34;&#41;<br />        writer.WriteEndElement&#40;&#41;<br />        writer.WriteEndElement&#40;&#41;<br />        writer.WriteEndElement&#40;&#41;<br /><br />        writer.WriteEndElement&#40;&#41;<br />        writer.WriteEndDocument&#40;&#41;<br />        writer.Flush&#40;&#41;<br />        sOutput = GetStringFromMemoryStream&#40;strm&#41;<br />        writer.Close&#40;&#41;<br /><br />        Return sOutput<br />    End Function<br />#End Region<br /><br />#Region &#34; fnYahooXMLLogin &#34;<br />    Function fnYahooXMLLogin&#40;ByVal sLicenseKey As String, ByVal sLogin As String, ByVal sPassword As String, ByVal sAccountID As String&#41; As String<br />        Dim sXML As String = &#34;&#34;<br /><br />        Dim settings As New XmlWriterSettings&#40;&#41;<br />        settings.CheckCharacters = True<br />        settings.CloseOutput = True<br />        ' indent the output and insert line breaks<br />        'settings.Indent = True<br /><br />        ' start each attribute on a new line<br />        'settings.NewLineOnAttributes = True<br /><br />        ' Create the XmlWriter object and write some content.<br />        Dim strm As MemoryStream = New MemoryStream&#40;&#41;<br />        Dim writer As XmlWriter = XmlWriter.Create&#40;strm, settings&#41;<br /><br />        writer.WriteStartDocument&#40;True&#41;<br />        writer.WriteComment&#40;&#34;Created at &#34; & DateTime.Now.ToString&#40;&#34;hh&#58;mm&#58;ss&#34;&#41;&#41;<br />        writer.WriteStartElement&#40;&#34;atom&#34;, &#34;feed&#34;, &#34;http&#58;//www.w3.org/2005/Atom&#34;&#41;<br /><br />        writer.WriteAttributeString&#40;&#34;xmlns&#34;, &#34;yheader&#34;, Nothing, &#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#34;&#41;<br />        writer.WriteAttributeString&#40;&#34;xmlns&#34;, &#34;atom&#34;, Nothing, &#34;http&#58;//www.w3.org/2005/Atom&#34;&#41;<br />        writer.WriteAttributeString&#40;&#34;xmlns&#34;, &#34;yjob&#34;, Nothing, &#34;http&#58;//schemas.yahoo.com/ypost/jobs/3.0&#34;&#41;<br />        writer.WriteAttributeString&#40;&#34;xmlns&#34;, &#34;ycontrol&#34;, Nothing, &#34;http&#58;//schemas.yahoo.com/ypost/control/1.0&#34;&#41;<br /><br />        writer.WriteStartElement&#40;&#34;Credential&#34;, &#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#34;&#41;<br />        writer.WriteElementString&#40;&#34;Login&#34;, &#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#34;, sLogin&#41;<br />        writer.WriteElementString&#40;&#34;Password&#34;, &#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#34;, sPassword&#41;<br />        writer.WriteElementString&#40;&#34;Version&#34;, &#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#34;, &#34;3.0&#34;&#41;<br />        writer.WriteElementString&#40;&#34;LicenseKey&#34;, &#34;http&#58;//schemas.yahoo.com/ypost/jobsHeader/3.0&#34;, sLicenseKey&#41;<br />        writer.WriteEndElement&#40;&#41;<br />        writer.WriteComment&#40;&#34;Account ID. Required if the user is a member of multiple accounts&#34;&#41;<br /><br />        'writer.WriteElementString&#40;SecurityElement.Escape&#40;&#34;atom&#58;id&#34;&#41;, &#34;1-12PF-1280&#34;&#41;<br />        writer.WriteElementString&#40;&#34;id&#34;, &#34;http&#58;//www.w3.org/2005/Atom&#34;, sAccountID&#41;<br />        writer.WriteEndElement&#40;&#41;<br />        writer.WriteEndDocument&#40;&#41;<br />        writer.Flush&#40;&#41;<br />        sXML = GetStringFromMemoryStream&#40;strm&#41;<br />        writer.Close&#40;&#41;<br /><br />        Return sXML<br />    End Function<br />#End Region<br /><br />'-------------------------------------------------------<br />' WebPost.vb<br />'-------------------------------------------------------<br />Imports Microsoft.VisualBasic<br />Imports System.IO<br />Imports System.Net<br />Imports System.Text<br />Imports System.Text.RegularExpressions<br /><br /><br />Public Class WebPost<br />    Public Sub New&#40;&#41;<br />        MyBase.New&#40;&#41;<br /><br />        'Add any initialization after the InitializeComponent&#40;&#41; call<br />        m_sURL = String.Empty<br />        m_sReferer = String.Empty<br />        m_sUserAgent = &#34;Mozilla/4.0 &#40;compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322&#41;&#34;<br /><br />        m_hwrRequest = Nothing<br />        m_hwrResponse = Nothing<br />        m_ccCookies = New CookieCollection&#40;&#41;<br />    End Sub<br />#Region &#34; Instance variables &#34;<br />    Private m_sUserAgent As String<br />    Private m_hwrRequest As HttpWebRequest<br />    Private m_hwrResponse As HttpWebResponse<br />    Private m_ccCookies As CookieCollection<br />    Private m_sReferer As String<br />    Private m_sURL As String<br />#End Region<br /><br />    Public ReadOnly Property Cookies&#40;&#41; As CookieCollection<br />        Get<br />            Return m_ccCookies<br />        End Get<br />    End Property<br /><br />    Public Property URL&#40;&#41; As String<br />        Get<br />            Return m_sURL<br />        End Get<br />        Set&#40;ByVal Value As String&#41;<br />            m_sURL = Value<br />        End Set<br />    End Property<br /><br />    Public Property Referer&#40;&#41; As String<br />        Get<br />            Return m_sReferer<br />        End Get<br />        Set&#40;ByVal Value As String&#41;<br />            m_sReferer = Value<br />        End Set<br />    End Property<br /><br />    Public Function Request&#40;ByVal sPOSTData As String, Optional ByVal bAutoRedirect As Boolean = False, Optional ByVal hshHeader As Hashtable = Nothing&#41; As String<br />        Dim uriSite As Uri<br />        Dim sReturn As String<br />        Dim srReader As StreamReader<br /><br />        sReturn = String.Empty<br />        Try<br />            ' Setup request<br />            uriSite = New Uri&#40;m_sURL&#41;<br />            m_hwrRequest = DirectCast&#40;WebRequest.Create&#40;uriSite&#41;, HttpWebRequest&#41;<br />            m_hwrRequest.Referer = m_sReferer<br />            m_hwrRequest.UserAgent = m_sUserAgent<br />            m_hwrRequest.AllowAutoRedirect = bAutoRedirect<br />            m_hwrRequest.AllowWriteStreamBuffering = True<br />            m_hwrRequest.KeepAlive = False<br />            m_hwrRequest.Accept = &#34;image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*&#34;<br /><br />           <br />            ''Set cookies if any<br />            'If m_ccCookies.Count &#62; 0 Then<br />            '    m_hwrRequest.CookieContainer = New CookieContainer&#40;&#41;<br />            '    m_hwrRequest.CookieContainer.Add&#40;m_ccCookies&#41;<br />            'End If<br /><br />            'If POST data then set here<br />            If Not &#40;sPOSTData Is Nothing&#41; AndAlso sPOSTData.Length &#62; 0 Then<br />                Dim stWS As Stream<br />                Dim aeEnc As ASCIIEncoding<br />                Dim baBuf As Byte&#40;&#41;<br /><br />                aeEnc = New ASCIIEncoding&#40;&#41;<br />                baBuf = aeEnc.GetBytes&#40;sPOSTData&#41;<br /><br />                m_hwrRequest.Method = &#34;POST&#34;<br />                m_hwrRequest.ContentLength = baBuf.Length<br />                m_hwrRequest.ContentType = &#34;application/x-www-form-urlencoded&#34;<br />                If Not &#40;hshHeader Is Nothing&#41; = True Then<br />                    For Each de As DictionaryEntry In hshHeader<br />                        m_hwrRequest.Headers.Add&#40;de.Key.ToString, de.Value.ToString&#41;<br />                    Next<br />                End If<br /><br /><br />                stWS = m_hwrRequest.GetRequestStream&#40;&#41;<br />                stWS.Write&#40;baBuf, 0, baBuf.Length&#41;<br />                stWS.Close&#40;&#41;<br />                'm_hwrRequest.AllowAutoRedirect = True<br />            End If<br /><br /><br />            m_hwrResponse = DirectCast&#40;m_hwrRequest.GetResponse&#40;&#41;, HttpWebResponse&#41;<br /><br />            srReader = New StreamReader&#40;m_hwrResponse.GetResponseStream&#40;&#41;&#41;<br />            sReturn = srReader.ReadToEnd&#40;&#41;<br />            srReader.Close&#40;&#41;<br /><br /><br />            Me.Referer = m_hwrResponse.ResponseUri.AbsoluteUri<br />            'Catch wex As Exception<br />            '    sReturn &= wex.Message.ToString & vbCrLf<br /><br />        Catch ex As Exception<br />            sReturn &= ex.ToString & vbCrLf<br /><br />        End Try<br /><br />        Return sReturn<br />    End Function<br />End Class<!--c2--></code></pre></div><!--ec2-->]]></description>
		<pubDate>Thu, 19 Mar 2009 11:56:18 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=997</guid>
	</item>
	<item>
		<title>Resume Search API with asp.net help</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=997</link>
		<description><![CDATA[HI,<br /><br />With 400 (Bad Request) response, you will also get the XML in the response body, which describes the error which was encountered. The connection should not be terminated as soon as 400 is received in the response header, instead the whole response body should be read.<br /><br />In this particular case, the error is invalid location. CountryCode is a mandatory field in a location, hence supply USA as the CountryCode value in the XML.<br /><br />Thanks]]></description>
		<pubDate>Thu, 19 Mar 2009 11:56:18 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=997</guid>
	</item>
	<item>
		<title>Resume Search API response Schemas?</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=609</link>
		<description><![CDATA[Yahoo Team:<br /><br />Where can I find the Resume Search API response XML Schemas?  I am specifically interested in the "View Resume"  and the "Search Results" response XML Schemas.  <br /><br />For example, I am trying to understand the multiplicity and structure of nested children for elements under the root " Resume" element of the "View Resume" response so I can correctly map in internally.<br /><br />Thank You,<br />Mark A.<br />PegaSoft]]></description>
		<pubDate>Tue, 13 Jan 2009 10:11:56 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=609</guid>
	</item>
	<item>
		<title>Resume Search API response Schemas?</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=609</link>
		<description><![CDATA[<!--quoteo(post=1784:date=Jan 13 2009, 10&#58;11 AM:name=mark_arsh)--><div class='quote'><div class='quotetop'>QUOTE <cite>(mark_arsh &#064; Jan 13 2009, 10&#58;11 AM) <a href="index.php?act=findpost&pid=1784"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Yahoo Team:<br /><br />Where can I find the Resume Search API response XML Schemas?  I am specifically interested in the "View Resume"  and the "Search Results" response XML Schemas.  <br /><br />For example, I am trying to understand the multiplicity and structure of nested children for elements under the root " Resume" element of the "View Resume" response so I can correctly map in internally.<br /><br />Thank You,<br />Mark A.<br />PegaSoft<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />I replied to this via email, but I also wanted to post here:<br /><br />Here is a link to the entire Resume API user guide: <a href="http://developer.yahoo.com/hotjobs/" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/</a> <br /><br />Here are a couple pages that show Success Response XML code:<br /><a href="http://developer.yahoo.com/hotjobs/resume_search_user_guide/viewResume.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/resume_...viewResume.html</a><br /><a href="http://developer.yahoo.com/hotjobs/resume_search_user_guide/resumeSearch.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/resume_...sumeSearch.html</a>]]></description>
		<pubDate>Tue, 13 Jan 2009 10:11:56 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=609</guid>
	</item>
	<item>
		<title>Resume Search API response Schemas?</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=609</link>
		<description><![CDATA[SearchResults.xsd<br /><br />&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;<br />    &lt;xs:element name="Resumes"&gt;<br />        &lt;xs:complexType&gt;<br />            &lt;xs:sequence&gt;<br />                &lt;xs:element name="Resume" maxOccurs="1000"&gt;<br />                    &lt;xs:complexType&gt;<br />                        &lt;xs:sequence&gt;<br />                            &lt;xs:element name="id" type="xs:string"/&gt;<br />                            &lt;xs:element name="CandidateID" type="xs:positiveInteger"/&gt;<br />                            &lt;xs:element name="CandidateResumeID" type="xs:positiveInteger"/&gt;<br />                            &lt;xs:element name="FirstName" type="xs:string"/&gt;<br />                            &lt;xs:element name="LastName" type="xs:string"/&gt;<br />                            &lt;xs:element name="City" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="State" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="Province" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="Country" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="HireType" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="DesiredSalary" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="Title" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="Employer" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="Experience" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="WorkAuthCountry" type="xs:string" minOccurs="0" maxOccurs="3"/&gt;<br />                            &lt;xs:element name="LastUpdated" type="xs:string"/&gt;<br />                            &lt;xs:element name="Degree" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="Duration" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="TravelPreference" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="Language" minOccurs="0" maxOccurs="3"&gt;<br />                                &lt;xs:complexType&gt;<br />                                    &lt;xs:simpleContent&gt;<br />                                        &lt;xs:extension base="xs:string"&gt;<br />                                            &lt;xs:attribute name="Proficiency" type="xs:string"/&gt;<br />                                        &lt;/xs:extension&gt;<br />                                    &lt;/xs:simpleContent&gt;<br />                                &lt;/xs:complexType&gt;<br />                            &lt;/xs:element&gt;<br />                            &lt;xs:element name="Industry" type="xs:string" maxOccurs="2"/&gt;<br />                        &lt;/xs:sequence&gt;<br />                    &lt;/xs:complexType&gt;<br />                &lt;/xs:element&gt;<br />            &lt;/xs:sequence&gt;<br />        &lt;/xs:complexType&gt;<br />    &lt;/xs:element&gt;<br />&lt;/xs:schema&gt;]]></description>
		<pubDate>Tue, 13 Jan 2009 10:11:56 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=609</guid>
	</item>
	<item>
		<title>Resume Search API response Schemas?</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=609</link>
		<description><![CDATA[Resume.xsd<br /><br />&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;<br />    &lt;xs:element name="Resume"&gt;<br />        &lt;xs:complexType&gt;<br />            &lt;xs:sequence&gt;<br />                &lt;xs:element name="id" type="xs:string"/&gt;<br />                &lt;xs:element name="CandidateID" type="xs:positiveInteger"/&gt;<br />                &lt;xs:element name="CandidateResumeID" type="xs:positiveInteger"/&gt;<br />                &lt;xs:element name="FirstName" type="xs:string"/&gt;<br />                &lt;xs:element name="LastName" type="xs:string"/&gt;<br />                &lt;xs:element name="Email" type="xs:string"/&gt;<br />                &lt;xs:element name="Street" type="xs:string" minOccurs="0" maxOccurs="2"/&gt;<br />                &lt;xs:element name="City" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="State" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="Province" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="Country" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="PostalCode" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="Phone" type="xs:string" minOccurs="0" maxOccurs="2"/&gt;<br />                &lt;xs:element name="Experience" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="Industry" type="xs:string" maxOccurs="2"/&gt;<br />                &lt;xs:element name="WorkAuthCountry" type="xs:string" minOccurs="0" maxOccurs="3"/&gt;<br />                &lt;xs:element name="USSecurityClearance" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="Language" minOccurs="0" maxOccurs="3"&gt;<br />                    &lt;xs:complexType&gt;<br />                        &lt;xs:simpleContent&gt;<br />                            &lt;xs:extension base="xs:string"&gt;<br />                                &lt;xs:attribute name="Proficiency" type="xs:string"/&gt;<br />                            &lt;/xs:extension&gt;<br />                        &lt;/xs:simpleContent&gt;<br />                    &lt;/xs:complexType&gt;<br />                &lt;/xs:element&gt;<br />                &lt;xs:element name="DesiredSalary" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="Duration" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="HireType" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="TravelPreference" type="xs:string" minOccurs="0"/&gt;<br />                &lt;xs:element name="RelocationPreference" type="xs:string" minOccurs="0" maxOccurs="unbounded"/&gt;<br />                &lt;xs:element name="WorkExperience" minOccurs="0" maxOccurs="unbounded"&gt;<br />                    &lt;xs:complexType&gt;<br />                        &lt;xs:sequence&gt;<br />                            &lt;xs:element name="Company" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="Title" type="xs:string" minOccurs="0"/&gt;<br />                        &lt;/xs:sequence&gt;<br />                    &lt;/xs:complexType&gt;<br />                &lt;/xs:element&gt;<br />                &lt;xs:element name="Education" minOccurs="0" maxOccurs="unbounded"&gt;<br />                    &lt;xs:complexType&gt;<br />                        &lt;xs:sequence&gt;<br />                            &lt;xs:element name="School" type="xs:string" minOccurs="0"/&gt;<br />                            &lt;xs:element name="Degree" type="xs:string" minOccurs="0"/&gt;<br />                        &lt;/xs:sequence&gt;<br />                    &lt;/xs:complexType&gt;<br />                &lt;/xs:element&gt;<br />                &lt;xs:element name="ResumeText" type="xs:string"/&gt;<br />            &lt;/xs:sequence&gt;<br /><br />            &lt;xs:attribute name="id" type="xs:string" use="required" /&gt;<br /><br />        &lt;/xs:complexType&gt;<br />    &lt;/xs:element&gt;<br />&lt;/xs:schema&gt;]]></description>
		<pubDate>Tue, 13 Jan 2009 10:11:56 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=609</guid>
	</item>
	<item>
		<title>hotjobs advanced rss feed broken</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=567</link>
		<description><![CDATA[try it here... <a href="http://hotjobs.yahoo.com/api/jobsearch/search_results_rss.html?keywords_all=writer&city1=San+Jose" rel="nofollow" target="ext">http://hotjobs.yahoo.com/api/jobsearch/sea...;city1=San+Jose</a> &state1=CA<br />just does not work. is there a new url?]]></description>
		<pubDate>Mon, 05 Jan 2009 00:51:06 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=567</guid>
	</item>
	<item>
		<title>hotjobs advanced rss feed broken</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=567</link>
		<description><![CDATA[<!--quoteo(post=1646:date=Jan 5 2009, 12&#58;51 AM:name=anticlickwise)--><div class='quote'><div class='quotetop'>QUOTE <cite>(anticlickwise &#064; Jan 5 2009, 12&#58;51 AM) <a href="index.php?act=findpost&pid=1646"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->try it here... <a href="http://hotjobs.yahoo.com/api/jobsearch/search_results_rss.html?keywords_all=writer&city1=San+Jose" rel="nofollow" target="ext">http://hotjobs.yahoo.com/api/jobsearch/sea...;city1=San+Jose</a> &state1=CA<br />just does not work. is there a new url?<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />that's exactly the same problem i've had, i posted to the forum but heard nothing back yet ...<br /><br />any Yahoo Developers out there looking at this ? please help!]]></description>
		<pubDate>Mon, 05 Jan 2009 00:51:06 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=567</guid>
	</item>
	<item>
		<title>hotjobs advanced rss feed broken</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=567</link>
		<description><![CDATA[<!--quoteo(post=1646:date=Jan 5 2009, 12&#58;51 AM:name=anticlickwise)--><div class='quote'><div class='quotetop'>QUOTE <cite>(anticlickwise &#064; Jan 5 2009, 12&#58;51 AM) <a href="index.php?act=findpost&pid=1646"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->try it here... <a href="http://hotjobs.yahoo.com/api/jobsearch/search_results_rss.html?keywords_all=writer&city1=San+Jose" rel="nofollow" target="ext">http://hotjobs.yahoo.com/api/jobsearch/sea...;city1=San+Jose</a> &state1=CA<br />just does not work. is there a new url?<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Hi,<br />This forum is for the HotJobs APIs for recruiters. I have redirected your queries to the right place and will post the response as soon as I get it.<br />AFAIK the new/correct url is like <a href="http://hotjobs.yahoo.com/job-rss-k-java-c-Technology-d-FT-d-PT-j-PERM-j-CONT-h-java" rel="nofollow" target="ext">http://hotjobs.yahoo.com/job-rss-k-java-c-...M-j-CONT-h-java</a>]]></description>
		<pubDate>Mon, 05 Jan 2009 00:51:06 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=567</guid>
	</item>
	<item>
		<title>hotjobs advanced rss feed broken</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=567</link>
		<description><![CDATA[The new URL is:<br /><br /><a href="http://hotjobs.yahoo.com/api/search/search_results_rss.html?." rel="nofollow" target="ext">http://hotjobs.yahoo.com/api/search/search...lts_rss.html?.</a>..]]></description>
		<pubDate>Mon, 05 Jan 2009 00:51:06 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=567</guid>
	</item>
	<item>
		<title>Job RSS Feed is broken</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=552</link>
		<description><![CDATA[hello, i've been playing around with the RSS feeds and they seem to be broken to me, first of all i tried to look for something outside the USA and the results i get are still in the US:<br /><br />USA Search:<br /><a href="http://hotjobs.yahoo.com/rss/0/USA/-/-/MIS/java" rel="nofollow" target="ext">http://hotjobs.yahoo.com/rss/0/USA/-/-/MIS/java</a><br />Canada Search:<br /><a href="http://hotjobs.yahoo.com/rss/0/CAN/-/-/MIS/java" rel="nofollow" target="ext">http://hotjobs.yahoo.com/rss/0/CAN/-/-/MIS/java</a><br /><br />in fact, any country you try will result in USA results ???<br /><br />also the advanced request is completely broken, i always get a 403 Firbidden error page.<br /><br />note that you also said the basic RSS request is the same as the one used in HotJobs search site ... but that is not true, when I do a search on the site, the RSS generated is completely different:<br /><br /><a href="http://hotjobs.yahoo.com/job-rss-k-java-c-Technology-d-FT-d-PT-j-PERM-j-CONT-h-java" rel="nofollow" target="ext">http://hotjobs.yahoo.com/job-rss-k-java-c-...M-j-CONT-h-java</a><br /><br />its not even the same syntax ??<br /><br />what's going on here ?<br />I'm I loosing it? or is it broken? <br /><br />thanks for you help.]]></description>
		<pubDate>Thu, 01 Jan 2009 13:48:27 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=552</guid>
	</item>
	<item>
		<title>Job RSS Feed is broken</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=552</link>
		<description><![CDATA[<!--quoteo(post=1608:date=Jan 1 2009, 01&#58;48 PM:name=Ahmad Nassri)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Ahmad Nassri &#064; Jan 1 2009, 01&#58;48 PM) <a href="index.php?act=findpost&pid=1608"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->hello, i've been playing around with the RSS feeds and they seem to be broken to me, first of all i tried to look for something outside the USA and the results i get are still in the US:<br /><br />USA Search:<br /><a href="http://hotjobs.yahoo.com/rss/0/USA/-/-/MIS/java" rel="nofollow" target="ext">http://hotjobs.yahoo.com/rss/0/USA/-/-/MIS/java</a><br />Canada Search:<br /><a href="http://hotjobs.yahoo.com/rss/0/CAN/-/-/MIS/java" rel="nofollow" target="ext">http://hotjobs.yahoo.com/rss/0/CAN/-/-/MIS/java</a><br /><br />in fact, any country you try will result in USA results ???<br /><br />also the advanced request is completely broken, i always get a 403 Firbidden error page.<br /><br />note that you also said the basic RSS request is the same as the one used in HotJobs search site ... but that is not true, when I do a search on the site, the RSS generated is completely different:<br /><br /><a href="http://hotjobs.yahoo.com/job-rss-k-java-c-Technology-d-FT-d-PT-j-PERM-j-CONT-h-java" rel="nofollow" target="ext">http://hotjobs.yahoo.com/job-rss-k-java-c-...M-j-CONT-h-java</a><br /><br />its not even the same syntax ??<br /><br />what's going on here ?<br />I'm I loosing it? or is it broken? <br /><br />thanks for you help.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Hi,<br />This forum is for the HotJobs APIs for recruiters. I have redirected your queries to the right place and will post the response as soon as I get it. <br />To see the jobs in Canada, user should be in ca.hotjobs.yahoo.com i.e, <a href="http://ca.hotjobs.yahoo.com/rss/0/CAN/-/-/MIS/java" rel="nofollow" target="ext">http://ca.hotjobs.yahoo.com/rss/0/CAN/-/-/MIS/java</a>]]></description>
		<pubDate>Thu, 01 Jan 2009 13:48:27 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=552</guid>
	</item>
	<item>
		<title>Job RSS Feed is broken</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=552</link>
		<description>We have revamped the RSS URL Format and the documentation will be updated ASAP. To get an idea of the new format pls look at the rss link in Hotjobs search result page.</description>
		<pubDate>Thu, 01 Jan 2009 13:48:27 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=552</guid>
	</item>
	<item>
		<title>Getting started in Java</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=503</link>
		<description><![CDATA[I'm looking to get something up and running quickly with the Hotjobs Resumé Search API. <br /><br /><ol type='1'><li>The Java <a href="http://developer.yahoo.com/download/download.html" rel="nofollow" target="ext">samples provided</a> are for the general Yahoo search API only. Are there samples for the resume search API?</li><li>Are there XML schema definitions available? That would at least allow JAXB to auto-generate classes.</li><li>Is there a <a href="http://en.wikipedia.org/wiki/Web_Application_Description_Language" rel="nofollow" target="ext">WADL</a> available for this API? That would allow JAX-WS to auto-generate stubs for everything.</li></ol><br /><br />Basically, I'm trying to exhaust all possibilities before I start making manual HTTP requests, and writing a bunch of result handling code by hand.]]></description>
		<pubDate>Wed, 10 Dec 2008 07:44:04 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=503</guid>
	</item>
	<item>
		<title>Hot jobs API testing for developer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=457</link>
		<description><![CDATA[I need to work with API in hot jobs. How can I test my code for hotjobs functionalities and also What about License key for developping and real application ?<br />I hv applied for License key yesterday morning, but I did not received any mail yet.<br /><br />Please give me suggetion quickly regarding this, so I can complete this soon.<br /><br /><br />Thanks<br />Prattik]]></description>
		<pubDate>Mon, 01 Dec 2008 21:03:53 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=457</guid>
	</item>
	<item>
		<title>Hot jobs API testing for developer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=457</link>
		<description><![CDATA[I have responded to the email you sent the API email alias.<br /><br />Thank you.<br /><br />Matt Nolan<br />Technical Operations Associate <br /><br /><!--quoteo(post=1265:date=Dec 1 2008, 09&#58;03 PM:name=prattik)--><div class='quote'><div class='quotetop'>QUOTE <cite>(prattik &#064; Dec 1 2008, 09&#58;03 PM) <a href="index.php?act=findpost&pid=1265"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I need to work with API in hot jobs. How can I test my code for hotjobs functionalities and also What about License key for developping and real application ?<br />I hv applied for License key yesterday morning, but I did not received any mail yet.<br /><br />Please give me suggetion quickly regarding this, so I can complete this soon.<br /><br /><br />Thanks<br />Prattik<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 01 Dec 2008 21:03:53 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=457</guid>
	</item>
	<item>
		<title>Hot jobs API testing for developer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=457</link>
		<description><![CDATA[Thank you for your support, I hv sent back the require information.<br /><br /><!--quoteo(post=1272:date=Dec 2 2008, 06&#58;15 AM:name=mattpnolan)--><div class='quote'><div class='quotetop'>QUOTE <cite>(mattpnolan &#064; Dec 2 2008, 06&#58;15 AM) <a href="index.php?act=findpost&pid=1272"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I have responded to the email you sent the API email alias.<br /><br />Thank you.<br /><br />Matt Nolan<br />Technical Operations Associate<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 01 Dec 2008 21:03:53 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=457</guid>
	</item>
	<item>
		<title>Hot jobs API testing for developer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=457</link>
		<description><![CDATA[It is very good for developer. I am just confusing about about header in the api documentation.<br />"HTTP custom header". can anyone tell me what I can write in "X-Yahoo-HJAuth-Signature"? like any example....<br /><br />Thanking you,<br />Mittal   <br /><!--quoteo(post=1312:date=Dec 3 2008, 03&#58;43 AM:name=prattik)--><div class='quote'><div class='quotetop'>QUOTE <cite>(prattik &#064; Dec 3 2008, 03&#58;43 AM) <a href="index.php?act=findpost&pid=1312"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Thank you for your support, I hv sent back the require information.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 01 Dec 2008 21:03:53 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=457</guid>
	</item>
	<item>
		<title>Hot jobs API testing for developer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=457</link>
		<description><![CDATA[You will need to create first account, then you will get the license key for posting the JOB. Use that key and other values which specify in documentation, tell me if you may have other question on it. <br /><br />Prattik<br /><br /><!--quoteo(post=1362:date=Dec 6 2008, 08&#58;40 AM:name=vmittalp@ymail.com)--><div class='quote'><div class='quotetop'>QUOTE <cite>(vmittalp@ymail.com &#064; Dec 6 2008, 08&#58;40 AM) <a href="index.php?act=findpost&pid=1362"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->It is very good for developer. I am just confusing about about header in the api documentation.<br />"HTTP custom header". can anyone tell me what I can write in "X-Yahoo-HJAuth-Signature"? like any example....<br /><br />Thanking you,<br />Mittal<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 01 Dec 2008 21:03:53 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=457</guid>
	</item>
	<item>
		<title>Hot jobs API testing for developer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=457</link>
		<description><![CDATA[I am very exhausted to solve this error. I also got this problem in last 2-3 days. I am working on PHP, and ever get the error in posting the JOB through API.<br />I hv only the problem for signature, it says the signature incorrect even I tried many posibilities on it.<br />I hv put the sample code for header section, please give me solution if any one have.<br /><br />========================================================<br />language = PHP,CURL<br />$request = XML of Authentication from where I got the token<br />$token    = Hotjobs response gave the token for successfully login<br />time()      =  current time and midnight, January 1, 1970 UTC.<br />$liiense_key = license key got when registration.<br />$header[]   = array wil be use for pass in header for request the post job.<br />references  link  = <a href="http://developer.yahoo.com/hotjobs/job_post_api_user_guide/http-headers.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/job_pos...tp-headers.html</a><br /><br />                $header[] = "Content-type: text/xml"; <br />	$header[] = "Content-length:".strlen($request); <br />	$header[] = "X-Yahoo-HJAuth-Token:".$token; <br />	$header[] = "X-Yahoo-HJAuth-Timestamp:".time();<br />	$header[] = "X-Yahoo-HJAuth-Signature:".md5($request.time().''.$token.$license_key);<br />=========================================================<br />It caught the error in signature, I don't know what I am doing wrong in it. Please give anyone solution me ASAP. <br /><br />Thank You,<br />Prattik<br /><br /><br /><!--quoteo(post=1375:date=Dec 7 2008, 09&#58;23 PM:name=prattik)--><div class='quote'><div class='quotetop'>QUOTE <cite>(prattik &#064; Dec 7 2008, 09&#58;23 PM) <a href="index.php?act=findpost&pid=1375"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->You will need to create first account, then you will get the license key for posting the JOB. Use that key and other values which specify in documentation, tell me if you may have other question on it. <br /><br />Prattik<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 01 Dec 2008 21:03:53 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=457</guid>
	</item>
	<item>
		<title>Hot jobs API testing for developer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=457</link>
		<description><![CDATA[this might be helpful:<br />.<br />.<br />$requestXML  = XML containing the job details.<br />$token = token string returned by authentication API<br />$lkey = license key<br />.<br />.<br />$time = time();<br />$signature = md5($requestXML . $time . $token . $lkey);<br /><br />$headers = array(<br />"X-Yahoo-HJAuth-Token: ".$token,<br />"X-Yahoo-HJAuth-Signature: ".$signature,<br />"X-Yahoo-HJAuth-Timestamp: ".$time<br />);<br />.<br />.<br />.<br /><br /><!--quoteo(post=1443:date=Dec 11 2008, 03&#58;02 AM:name=prattik)--><div class='quote'><div class='quotetop'>QUOTE <cite>(prattik &#064; Dec 11 2008, 03&#58;02 AM) <a href="index.php?act=findpost&pid=1443"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->I am very exhausted to solve this error. I also got this problem in last 2-3 days. I am working on PHP, and ever get the error in posting the JOB through API.<br />I hv only the problem for signature, it says the signature incorrect even I tried many posibilities on it.<br />I hv put the sample code for header section, please give me solution if any one have.<br /><br />========================================================<br />language = PHP,CURL<br />$request = XML of Authentication from where I got the token<br />$token    = Hotjobs response gave the token for successfully login<br />time()      =  current time and midnight, January 1, 1970 UTC.<br />$liiense_key = license key got when registration.<br />$header[]   = array wil be use for pass in header for request the post job.<br />references  link  = <a href="http://developer.yahoo.com/hotjobs/job_post_api_user_guide/http-headers.html" rel="nofollow" target="ext">http://developer.yahoo.com/hotjobs/job_pos...tp-headers.html</a><br /><br />                $header[] = "Content-type: text/xml"; <br />	$header[] = "Content-length:".strlen($request); <br />	$header[] = "X-Yahoo-HJAuth-Token:".$token; <br />	$header[] = "X-Yahoo-HJAuth-Timestamp:".time();<br />	$header[] = "X-Yahoo-HJAuth-Signature:".md5($request.time().''.$token.$license_key);<br />=========================================================<br />It caught the error in signature, I don't know what I am doing wrong in it. Please give anyone solution me ASAP. <br /><br />Thank You,<br />Prattik<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 01 Dec 2008 21:03:53 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=457</guid>
	</item>
	<item>
		<title>Hot jobs API testing for developer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=457</link>
		<description><![CDATA[Hi,<br />we can post the job succesfully but we have a problem in edit and delete the job. In the document it has specified to use method PUT and DELETE for edit and delete the job respectively. <br /><br />When we tried to do edit or delete we offen got the message "HTTP Method PUT not allowed".<br />It says server may be not supported this method.<br /><br />We are using the curl in PHP and for set this http method we have set parameter <br /><br />i.e<br />set URL for edit : <a href="http://hj.yahooapis.com/v1/Job/&lt;JobId&gt;" rel="nofollow" target="ext">http://hj.yahooapis.com/v1/Job/&lt;JobId&gt;</a> =&gt; so I set this to "http://hj.yahooapis.com/v1/Job/?HJInternalJobId=JXOEBSRTF9K"<br />curl_setopt($this-&gt;ch, CURLOPT_CUSTOMREQUEST, "PUT");<br /><br />can you give me idea how to set these http method?<br />It will be very good if you can send the sample example for edit job.<br /><br /><br /><!--quoteo(post=1465:date=Dec 15 2008, 02&#58;49 AM:name=Amit R)--><div class='quote'><div class='quotetop'>QUOTE <cite>(Amit R &#064; Dec 15 2008, 02&#58;49 AM) <a href="index.php?act=findpost&pid=1465"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->this might be helpful:<br />.<br />.<br />$requestXML  = XML containing the job details.<br />$token = token string returned by authentication API<br />$lkey = license key<br />.<br />.<br />$time = time();<br />$signature = md5($requestXML . $time . $token . $lkey);<br /><br />$headers = array(<br />"X-Yahoo-HJAuth-Token: ".$token,<br />"X-Yahoo-HJAuth-Signature: ".$signature,<br />"X-Yahoo-HJAuth-Timestamp: ".$time<br />);<br />.<br />.<br />.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 01 Dec 2008 21:03:53 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=457</guid>
	</item>
	<item>
		<title>Hot jobs API testing for developer</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=457</link>
		<description><![CDATA[Ok now problem is solved,<br />I was using the jobid which I found in actual URL when editing job manually.<br />we need to use job id which we have been inserted while job posting.<br /><br /><!--quoteo(post=1498:date=Dec 17 2008, 06&#58;14 AM:name=prattik)--><div class='quote'><div class='quotetop'>QUOTE <cite>(prattik &#064; Dec 17 2008, 06&#58;14 AM) <a href="index.php?act=findpost&pid=1498"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Hi,<br />we can post the job succesfully but we have a problem in edit and delete the job. In the document it has specified to use method PUT and DELETE for edit and delete the job respectively. <br /><br />When we tried to do edit or delete we offen got the message "HTTP Method PUT not allowed".<br />It says server may be not supported this method.<br /><br />We are using the curl in PHP and for set this http method we have set parameter <br /><br />i.e<br />set URL for edit : <a href="http://hj.yahooapis.com/v1/Job/&lt;JobId&gt;" rel="nofollow" target="ext">http://hj.yahooapis.com/v1/Job/&lt;JobId&gt;</a> =&gt; so I set this to "http://hj.yahooapis.com/v1/Job/?HJInternalJobId=JXOEBSRTF9K"<br />curl_setopt($this-&gt;ch, CURLOPT_CUSTOMREQUEST, "PUT");<br /><br />can you give me idea how to set these http method?<br />It will be very good if you can send the sample example for edit job.<!--QuoteEnd--></blockquote></div><!--QuoteEEnd-->]]></description>
		<pubDate>Mon, 01 Dec 2008 21:03:53 -0800</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=457</guid>
	</item>
	<item>
		<title>Hot Jobs Search API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=241</link>
		<description><![CDATA[Hey everyone,<br />I am looking for a hotjobs search API to generate XML and also lat and long coords for jobs on hotjobs so that I can make a maps mashup.  Any ideas?<br />Thanks!]]></description>
		<pubDate>Thu, 23 Oct 2008 11:27:57 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=241</guid>
	</item>
	<item>
		<title>Hot Jobs Search API</title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=241</link>
		<description><![CDATA[<!--quoteo(post=600:date=Oct 23 2008, 10&#58;27 AM:name=jobtargeter)--><div class='quote'><div class='quotetop'>QUOTE <cite>(jobtargeter &#064; Oct 23 2008, 10&#58;27 AM) <a href="index.php?act=findpost&pid=600"><{POST_SNAPBACK}></a></cite></div><blockquote class='quotemain'><!--quotec-->Hey everyone,<br />I am looking for a hotjobs search API to generate XML and also lat and long coords for jobs on hotjobs so that I can make a maps mashup.  Any ideas?<br />Thanks!<!--QuoteEnd--></blockquote></div><!--QuoteEEnd--><br /><br />Hi,<br />Right now there is no such API to get the jobs from hotjobs, but there is RSS feed for job searches.  For example,  <a href="http://hotjobs.yahoo.com/job-rss-l-San_Francisco-CA" rel="nofollow" target="ext">http://hotjobs.yahoo.com/job-rss-l-San_Francisco-CA</a> shows jobs in San Francisco, CA. Only restriction is that it displays only top 50 results. <br />Current set of APIs are for recruiters and the search API is for the recruiters to search the candidates.<br />Thanks]]></description>
		<pubDate>Thu, 23 Oct 2008 11:27:57 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=241</guid>
	</item>
	<item>
		<title><![CDATA[Welcome to the Yahoo! Developer Network's discussion forum for the Yahoo! HotJobs APIs]]></title>
		<link>http://developer.yahoo.net/forum/index.php?showtopic=164</link>
		<description><![CDATA[Welcome to the Yahoo! Developer Network's discussion forum for the Yahoo! HotJobs APIs. This forum is to discuss, how to use the Yahoo! HotJobs web services to post the jobs or to search the resumes. Any feedback or suggestion is always welcomed. My name is Amit Rawat and I am one of the moderator on this forum. Thanks and welcome again.]]></description>
		<pubDate>Thu, 25 Sep 2008 23:42:57 -0700</pubDate>
		<guid>http://developer.yahoo.net/forum/index.php?showtopic=164</guid>
	</item>
</channel>
</rss><!-- blog1.developer.re2.yahoo.com uncompressed/chunked Tue Feb  9 20:26:04 PST 2010 -->
