Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
wsclientでタイムアウトを指定するための適切な方法は何ですか。
私はグリフォンコントローラーでこれを試しました:
withWs([wsdl: model.wsdl, timeout:1800000])
しかし、それは機能していないようです。
ヒントはありますか?
これを行うことで問題が解決しました:
withWs(wsdl: model.wsdl){ setConnnectionTime(1800000) ... }
それほど重要ではありませんが、次のように、呼び出しから角かっこを削除してみてください
withWs(wsdl: model.wsdl, timeout:1800000) { ... }
WsclientConnectorの101行目によると、タイムアウトパラメータはWSクライアントによって尊重される必要があります
if(params.containsKey('timeout')) client.setConnectionTimeout(params.remove('timeout'))