J# Url problem

Hi!

I'm using a code in java to login to a site. I suppose the java code should work in j# (the port looks ok). However, when I try to login with a java sdk it logs in (i used java 1.5) but when I try with J# I get all the xml like in the java version but it fails.

The code I'm using is the "Step 2" available here:

http://wiki.hattrick.org/CHPP_Development/Java/Login_examples

(i just cut the connection.close() method).

Any idea of what may be wrong? Apparently, the url seems ok..

Thanks in advance.

RR

[721 byte] By [Beetlebum] at [2007-12-21]
# 1

Beetle,

I tried this url after creating username and password manualy whether this is problem with the site.

I got the following xml with ActionSuccessful is false.

<?xml version="1.0" ?>

- <HattrickData>
<FileName>default.asp</FileName>
<Version>1.0</Version>
<FetchedDate>2006-06-26 16:42:27</FetchedDate>
<ActionType>login</ActionType>
<ActionSuccessful>False</ActionSuccessful>
<TimeOut>False</TimeOut>
</HattrickData>

can you provide me sample code to check your scenario?

regards,

Raj Thilak

RajThilak at 2007-9-10 > top of Msdn Tech,Visual J#,Visual J# General...