But the problem is that "GetAuthenticatedServiceString" works.
What "GetAuthenticatedServiceString" return is like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE search-response SYSTEM
"http://l.yimg.com/us.yimg.com/lib/pim/r/abook/xml/2/pheasant.dtd"><search-respo\
nse><contact
cid="1"><nickname fid="2">lan</nickname><email
fid="3">yourlandnet@...</email><name
fid="1"><first>alan</first><last>lan</last></name></contact></search-response><!\
--
web233.address.pim.mud.yahoo.com uncompressed/chunked Fri Jan 23
17:38:39 PST 2009 -->
I think there is something wrong with DTD in the XML, because Ican't
load above XML string to XmlDocument, but it's successful if I only
load the content in <search-response> node.
Thanks.
--- In ydn-dotnet@yahoogroups.com, "docbliny" <tomi@...> wrote:
>
> > "GetAuthenticatedServiceString" works well, it can return string what
> > The remote server returned an error: (404) Not Found.
> >
> > What happens? Anyone can help me? Thanks~
>
> The server is returning a 404 error code which means that the URL you
> are using is incorrect (page not found). Check the address for
> correctness/typos and try again.
>
> //Tomi B.
>