----------------------------------------------------------------------------------->
please help me
When I written this line to browser
http://wherein.yahooapis.com/v1/document?d...ntent=Arlington
<error xml:lang="en">
<description>405 Method Not Allowed</description>
<detail>Method not allowed for this URI
</detail>
</error>
I just show this message 7 hour
No google-god
No yahoo-god
give me holy~
I solved it
but other problem is
when use flex to get result
result is
<rss version="2.0" xml:lang="en" xmlns="http://wherein.yahooapis.com/v1/schema_rss" xmlns:georss="http://www.georss.org/georss" xmlns:cl="http://wherein.yahooapis.com/v1/cle" xmlns:xml="http://www.w3.org/XML/1998/namespace">
<channel>
<title>Yahoo! Content Location Engine</title>
<link><![CDATA[http://wherein.yahooapis.com]]></link>
<description>Yahoo! Content Location Engine That Extracts Places from documents</description>
<ttl>5</ttl>
<pubDate>Sun, 28 Jun 2009 02:24:42 PDT</pubDate>
<copyright>Copyright © 2009 Yahoo! Inc. All rights reserved.</copyright>
<item>
not contain <?xml 1.0 ......>
any guy help me.
flex code
<mx:HTTPService id="YahooPlaceMaker"
url="http://wherein.yahooapis.com/v1/document"
result="ResultGetPlaceMaker(event)"
fault="FaultGetPlaceMaker(event)"
method="POST"
resultFormat="e4x"
useProxy="false"
request="xml"
contentType="application/x-www-form-urlencoded"
showBusyCursor="true"
/>
and call httpservice code is
private function UsingPlaceMaker():void
{
var params:Object = new Object();
//params.inputLanguage ="eu-kr"
params.documentTitle ="I want Korea";
params.documentContent ="Korea";//txt1.text;
//params.autoDisambiguate = false;
params.outputType = 'rss';
params.documentType = 'text/plain';
params.appid ='uQfoNBXV34G9uifKaSWrQcise2hh3pVlK1g8Nr2p.nCIu3NPGmC5h43sIuszUFc-';
YahooPlaceMaker.send(params);
}
why I can't
<?xml version="1.0" encoding="utf-8"?> <-- this line