From: stand4love <sta...@16...> - 2015-03-06 13:19:44
|
Hi, (the message is not shown correctly in my previous email, so I resend it) I scrape the code from my project, and create a minimum test project. Thank you very much if you can take a look at this issue. You can load it into eclipse, and then run the App#main method. It will generate log in the appLogs directory inside the project (it already has one generated). And when the following line appears in the console: DEBUG com.metest.metest.App - Make request: https://omeo.alipay.com/service/checkcode?sessionID=386e26a43c02761f36e51a7ecb31836e&t=0.5163806172962445 You can see a verifyCode.jpg is generated in the project's root directory, you need to enter the verify code into verifyCode.txt file, which will be picked up by the code (the code will wait for 40 seconds, which gives you enough time to enter the verify code). And I believe you need to open the https://auth.alipay.com/login/index.htm page with UTF-8 encoding in order to view page & js properly. It is always better to have a case that others don't spend time to reach what you already have. I guess the Chinese character thingy really needs to be fixed, please verify if your case is similar to https://sourceforge.net/p/htmlunit/bugs/1623/, and lets' try to find a fix there. I have error processing https://a.alipayobjects.com/authcenter/login/1.2.2/js/login.js, and real chrome shows garbage characters. Please provide your local complete project and your complete java code to take this further. 2015-03-06 stand4love |