Search the web
Sign In
New User? Sign Up
ydn-dotnet · CLOSED: Yahoo! .NET Developer Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Try to get contacts using "GetAuthenticatedServiceDataSet" method bu   Message List  
Reply | Forward Message #253 of 263 |
Re: Try to get contacts using "GetAuthenticatedServiceDataSet" method but error

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








Sat Jan 24, 2009 6:59 am

yourlandnet
Offline Offline
Send Email Send Email

Forward
Message #253 of 263 |
Expand Messages Author Sort by Date

I am using Asp.net 2.0. There are several methods in Authentication.dll "GetAuthenticatedServiceString" works well, it can return string what I want. But...
yourlandnet
Offline Send Email
Jan 23, 2009
7:20 am

... 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...
docbliny
Online Now Send Email
Jan 23, 2009
6:23 pm

But the problem is that "GetAuthenticatedServiceString" works. What "GetAuthenticatedServiceString" return is like this: <?xml version="1.0" encoding="UTF-8"...
yourlandnet
Offline Send Email
Jan 24, 2009
6:59 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help