我试图在Play框架中调用Web服务(具有自签名SSL证书)使用以下函数:
public static play.libs.F.Promise<Result> webcall() {
String feedUrl = "https://10.0.1.1/client/api";
final play.libs.F.Promise<Result> resultPromise = WS.url(feedUrl).get().map(
new Function<WS.Response, Result>() {
public Result apply(WS.Response response) {
return ok("Feed title:" + response.asJson().findPath("title").toString());
}
}
);
return resultPromise;
}
Run Code Online (Sandbox Code Playgroud)
它在日志中抛出以下错误,
[error] play - Cannot invoke the action, eventually got an error: java.net.ConnectException: General SSLEngine problem to https://10.0.1.1/client/api
[error] application -
! @6fpimpnp6 - Internal server error, for (GET) [/webcall] ->
play.api.Application$$anon$1: Execution exception[[ConnectException: General SSLEngine problem to https://10.0.1.1/client/api]]
at play.api.Application$class.handleError(Application.scala:293) ~[play_2.10.jar:2.2.0]
at play.api.DefaultApplication.handleError(Application.scala:399) [play_2.10.jar:2.2.0] …Run Code Online (Sandbox Code Playgroud) 在延迟(使用impoersonate = no)将值发送到WIX到CA,我使用set属性和值
使用session.CustomActionData ["key"]在CA中收集数据;
有没有办法从CA发回数据到WIX
<Property Id="RESTART" Secure="yes" Value="false" />
Run Code Online (Sandbox Code Playgroud)
我立即使用,
session["RESTART"] = "true"
Run Code Online (Sandbox Code Playgroud)
...如何在延迟CA中实现此目的