良い日でセキュリティチェックアダプタを統合私がSwagger(石鹸サービス)でテストしたときにうまく動作します。MobileFirst 8.0 - userloginのアダプタ、そしてもう一つは、HttpAdapterJs(Javascriptのアダプタ)、HttpAdapterJsされている - 問題1は、セキュリティチェックであり、私は2つのアダプタを変更した</p> <p>、JavaScriptのHTTPのSOAPアダプター
AdapterAPIを使用してUserLoginアダプタからアダプタHttpAdapterJsを呼び出すと、null値が返されます。その後
HttpUriRequest req = adaptersAPI.createJavascriptAdapterRequest("HTTPAdapterJS", "getAuthenticationService", URLEncoder.encode(user_name, "UTF-8"), URLEncoder.encode(pass_word); org.apache.http.HttpResponse response = adaptersAPI.executeAdapterRequest(req);
- セキュリティチェックのクラスがAdapterAPI許可されていません。
私の次のソリューションも動作しません:
私は新しいクラスを作成していると私はまだそれがnull値をretun、データを取得するためにオブジェクトと呼ばれます。
ServiceEmpImp testService = new ServiceEmpImp(); JSONObject objectJson= testService.validateAuthenticationfromService(dataAuth);
他の解決策はありますか?