ASP.NET Web サービスを構築し、Blackberry からアクセスしようとしています。複数のデバイスとシミュレーターでテストしてきましたが、正常に動作しますが、Blackberry 9000 が 1 つしかなく (これはモデルではありません。別の Blackberry 9000 で試しました)、応答待ちでスタックしています。サーバーから。これにアクセスするコードの関連セクション -
System.out.println("IN ntwk access thread, start point");
HttpConnection connection = (HttpConnection)Connector.open(serviceURL + WSNAME);
connection.setRequestMethod(HttpConnection.POST);
connection.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
connection.setRequestProperty("Content-length", Integer.toString(postData1.length));
OutputStream requestOutput = connection.openOutputStream();
requestOutput.write(postData1);
requestOutput.close();
final int responseCode = connection.getResponseCode();
if(responseCode!= HttpConnection.HTTP_OK) {
//Process the error condition
}
// Request succeeded process the data.
の後にスタックしているようconnection.getResponseCode()
です。この特定のデバイスで何が問題になっているのかを確認する方法はありますか?
ありがとう、
テジャ