谢谢楼上哥们,我还原JAVA 源码 也没有找到 关键部分。主要的在下面的函数 ,转换部分 没有找到。
public static Hashtable a(String paramString, Hashtable paramHashtable)
{
String str1;
if (paramHashtable.get("BODY/jsessionidStr") != null)
{
str1 = (String)paramHashtable.get("BODY/jsessionidStr");
Object localObject = paramHashtable.remove("BODY/jsessionidStr");
}
for (String str2 = str1; ; str2 = null)
{
byte[] arrayOfByte = h.h(h.a("ROOT", paramHashtable));
PrintStream localPrintStream1 = System.out;
StringBuilder localStringBuilder1 = new StringBuilder("xml request=======");
String str3 = h.a("ROOT", paramHashtable);
String str4 = str3;
localPrintStream1.println(str4);
java.net.Proxy localProxy;
URL localURL1;
if ((ApplicationConfig.d != null) && (ApplicationConfig.d.equals("cmwap")))
{
String str5 = android.net.Proxy.getDefaultHost();
int i = android.net.Proxy.getDefaultPort();
InetSocketAddress localInetSocketAddress = new InetSocketAddress(str5, i);
Proxy.Type localType = Proxy.Type.HTTP;
localProxy = new java.net.Proxy(localType, localInetSocketAddress);
localURL1 = new URL(paramString);
a = localURL1;
}
URL localURL2;
for (HttpURLConnection localHttpURLConnection = (HttpURLConnection)localURL1.openConnection(localProxy); ; localHttpURLConnection = (HttpURLConnection)localURL2.openConnection())
{
localHttpURLConnection.setDoOutput(1);
localHttpURLConnection.setDoInput(1);
localHttpURLConnection.setRequestMethod("POST");
localHttpURLConnection.setUseCaches(0);
localHttpURLConnection.setInstanceFollowRedirects(1);
localHttpURLConnection.setConnectTimeout(80000);
localHttpURLConnection.setReadTimeout(50000);
localHttpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
localHttpURLConnection.setRequestProperty("Connection", "Keep-Alive");
localHttpURLConnection.setRequestProperty("Charset", "UTF-8");
if (str2 != null)
{
PrintStream localPrintStream2 = System.out;
String str6 = "PICCODE###########" + str2;
localPrintStream2.println(str6);
String str7 = "JSESSIONID=" + str2;
localHttpURLConnection.setRequestProperty("Cookie", str7);
}
OutputStream localOutputStream = localHttpURLConnection.getOutputStream();
DataOutputStream localDataOutputStream = new DataOutputStream(localOutputStream);
localDataOutputStream.write(arrayOfByte);
localDataOutputStream.flush();
localDataOutputStream.close();
PrintStream localPrintStream3 = System.out;
StringBuilder localStringBuilder2 = new StringBuilder("response code======:");
int j = localHttpURLConnection.getResponseCode();
String str8 = j;
localPrintStream3.println(str8);
String str9 = h.a(a(localHttpURLConnection.getInputStream()));
PrintStream localPrintStream4 = System.out;
String str10 = "xml response========:" + str9;
localPrintStream4.println(str10);
return h.i(str9);
localURL2 = new URL(paramString);
a = localURL2;
}
}
}