0

Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/html4/strict.dtd

Hi guys,

I tried to implement a BBauth login mechanism for my website, and i strictly followed what is written here:

http://developer.yahoo.com/java/howto-BBauthJava.html

and eventually i can forward to the Yahoo login page, successfully login, click on the EULA Agree button, then
Yahoo returns to my website and at the moment i say:

InputStream rstream = method.getResponseBodyAsStream();

I get the following exception:

java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/html4/strict.dtd
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav
a:1261)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unkn
own Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(Unknown Source)


Has anyone else got the same problem?

by
3 Replies

Recent Posts

in Java Development