送信非同期 REST および SOAP メッセージのデフォルトの応答タイムアウトを構成する方法Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } この記事では、 waitForResponse() メソッドを使用して、特定の呼び出しのタイムアウトを長くしながら、送信非同期 REST および SOAP メッセージのカスタム既定の応答タイムアウトを構成する方法について説明します。 次の場合にこの構成を使用します。 特定の発信コールのタイムアウト値を30秒より長く設定したい。デフォルトのタイムアウト値をシステムのデフォルトの5分より短くしたい。 Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } サポートされているすべてのリリース Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } glide.http.outbound.max_timeout.enabled プロパティが true に設定されている場合、システムは waitForResponse() メソッドまたは glide.http.outbound.max_timeout プロパティのいずれかの小さい方の値を使用します。これにより、タイムアウトが最大 30 秒に制限されます。 プロパティが false で、 waitForResponse() メソッドが使用されていない場合、システムはデフォルトの応答タイムアウトである 5 分を適用します。ユースケースによっては長すぎる場合があります。 短いデフォルトタイムアウトを維持しながら 30 秒を超えるタイムアウトを許可するには、「解決」セクションで説明されているプロパティを構成します。 Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } glide.http.outbound.max_timeout.enabled を false に設定します。REST または SOAP メッセージのデフォルトのタイムアウトを設定します。 REST メッセージの場合: glide.rest.outbound.ecc_response.timeout を秒単位で目的のタイムアウト値に設定します。SOAP メッセージの場合: glide.soap.outbound.ecc_response.timeout を秒単位で目的のタイムアウト値に設定します。 特定の発信コールに長いタイムアウトを設定するには、waitForResponse() メソッドを使用してタイムアウトを秒単位で指定します。 Related Links<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: #000000; } span { font-size: 12pt; font-family: Lato; color: #000000; } h2 { font-size: 24pt; font-family: Lato; color: black; } h3 { font-size: 18pt; font-family: Lato; color: black; } h4 { font-size: 14pt; font-family: Lato; color: black; } a { font-size: 12pt; font-family: Lato; color: #00718F; } a:hover { font-size: 12pt; color: #024F69; } a:target { font-size: 12pt; color: #032D42; } a:visited { font-size: 12pt; color: #00718f; } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } アップグレード後の送信 REST または SOAP メッセージのタイムアウト RESTResponseV2:waitForResponse(数字 timeoutSecs) SOAPResponseV2 - waitForResponse(数字 timeoutSecs)