Reply to this topicStart new topic
Cant retrieve search results
ebtrezan
post Jul 15 2009, 07:39 AM
Post #1
Group: Members
Posts: 1



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".

I'm running this search:

CODE
<?xml version="1.0" encoding="UTF-8"?>
<SearchCriteria>

<SearchCriterion>
<CriterionName>Keywords</CriterionName>
<CriterionValue>engineer</CriterionValue>
</SearchCriterion>

<SearchCriterion>
<CriterionName>Location</CriterionName>
<CriterionValue>
<Location>
<Municipality>Sunnyvale</Municipality>
<Region>CA</Region>
<CountryCode>USA</CountryCode>
<Radius>0</Radius>
</Location>
</CriterionValue>
</SearchCriterion>


</SearchCriteria>



and I get this response:

CODE
HTTP/1.1 201 Created
Date: Wed, 15 Jul 2009 15:33:09 GMT
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"
Location: http://hj.yahooapis.com/v1/ResumeFilter/1247671989
Content-Location: http://hj.yahooapis.com/v1/ResumeFilter/1247671989
Last-Modified: Wed, 15 Jul 2009 15:33:09 GMT
Cache-Control: private
Connection: close
Transfer-Encoding: chunked
Content-Type: application/xml;charset=utf-8

<?xml version="1.0" encoding="utf-8"?>
<ResumeFilter xmlns="http://hj.yahooapis.com/v1/schema.rng" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xml:lang="en-US" yahoo:uri="http://hj.yahooapis.com/v1/ResumeFilter/1247671989" yahoo:updated="2009-07-15T15:33:09Z" yahoo:created="2009-07-15T15:33:09Z" id="1247671989">
<id>1247671989</id>
<ResumeCount>963</ResumeCount>
</ResumeFilter>



So I issue a request for the results:

CODE
http://hj.yahooapis.com/v1/ResumeFilter/1247671989/Resumes;start=1;count=100


And get the response:

CODE
HTTP/1.1 404 Not Found
Date: Wed, 15 Jul 2009 15:33:11 GMT
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"
Cache-Control: private
Connection: close
Transfer-Encoding: chunked
Content-Type: application/xml;charset=utf-8

<?xml version="1.0" encoding="utf-8"?>
<yahoo:error xmlns="http://hj.yahooapis.com/v1/schema.rng" xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xml:lang="en-US">
<yahoo:description>Requested Resume Filter not found</yahoo:description>
<yahoo:detail>
<ErrorCode>511</ErrorCode>
</yahoo:detail>
</yahoo:error>



Any idea why the Requested Resume Filter is not found?


Thanks in advance,

Beau
Go to the top of the page
 
+Quote Post
Amit
post Jul 18 2009, 05:08 AM
Post #2
Group: Yahoos
Posts: 11



Hi Beau,
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.
Thanks
--
Amit Rawat
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



rss YDN Forum RSS feeds

YDN Content Copyright © 2010 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network - Send Your Suggestions