---
schema_version: "1"
id: df1738ea363c67435b74de4b3b8915b82c4a12275b2d39ed0bb7cda1c969a348
title: Web Service Consumer Connector のバージョン 2.0 へのアップグレードおよび移行
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/web-service-consumer-connector/2.0/web-service-consumer-upgrade-migrate.md
canonical_url: https://docs.mulesoft.com/jp/web-service-consumer-connector/2.0/web-service-consumer-upgrade-migrate
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 0434228e14afe0433d68f375ba0c58df46316088ae01cb8559a93d69fbdab228
description: MuleSoft Documentation Site
release: "2.0"
latest: true
---
# Web Service Consumer Connector のバージョン 2.0 へのアップグレードおよび移行

Web Service Consumer Connector をバージョン 2.x にアップグレードします。

## [](#サポートされているアップグレードパス)サポートされているアップグレードパス

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 50%;">
<col style="width: 50%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">開始バージョン</th>
<th class="tableblock halign-left valign-top">終了バージョン</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>1.x</p>
</div></div></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>2.x</p>
</div></div></td>
</tr>
</tbody>
</table>

## [](#このリリースでの変更)このリリースでの変更

Web Service Consumer Connector 2.0 には次の変更内容が含まれます。

- Web Service Consumer Connector (およびその連動関係) が Java 17 のみと互換性があるようになりました。
- 最新の開発プラクティスに沿い、引き続きセキュアでサポートされているライブラリとの互換性を保てるように、Web Service Consumer Connector は Spring 5.x から Spring 6.x にアップグレードされます。

## [](#アップグレード前提条件)アップグレード前提条件

アップグレードを実行する前に、復元する必要がある場合に備えて、ファイル、データ、および設定のバックアップを作成する必要があります。

## [](#アップグレード手順)アップグレード手順

以下の手順でアップグレードを実行します。

1. Anypoint Studio で、プロジェクトを右クリックし、​**\[Manage Dependencies (連動関係の管理)\]**​ > ​**\[Manage Modules (モジュールを管理)\]**​ を選択します。
2. `[Web Service Consumer Connector - Mule 4]`​ を選択し、​**\[Update version (バージョンを更新)\]**​ をクリックします。
3. **\[Apply and Close (適用して閉じる)\]**​ をクリックします。
4. Mule プロジェクトの ​`pom.xml`​ ファイルで Web Service Consumer Connector の連動関係のバージョンが ​`2.0.0`​ であることを確認します。

または、Mule プロジェクトの ​`pom.xml`​ ファイルで Web Service Consumer Connector 連動関係バージョンを手動で更新するか、単に更新済みのコネクタをプロジェクトに追加することもできます。

### [](#アップグレードを確認する)アップグレードを確認する

コネクタをアップグレードしたら、次の手順に従ってアップグレードを検証します。

1. Studio の ​**\[Problems (問題)\]**​ または ​**\[Console (コンソール)\]**​ ビューでエラーがないことを確認します。
2. プロジェクトの ​`pom.xml`​ ファイルに問題がないことを確認します。
3. 接続をテストして、操作が機能することを確認します。

## [](#トラブルシューティング)トラブルシューティング

パラメーターのキャッシュおよびメタデータのキャッシュで問題がある場合、Anypoint Studio の再起動をお試しください。

### [](#アップグレードの復元)アップグレードの復元

以前のバージョンの Web Service Consumer Connector に戻す必要がある場合、プロジェクトの ​`pom.xml`​ の Web Service Consumer Connector 連動関係バージョン ​`2.0.0`​ を前のバージョンに変更します。

Anypoint Studio でプロジェクトの ​`pom.xml`​ を更新する必要があります。

## [](#関連情報)関連情報

- [Anypoint Connector の概要](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)
- [Web Service Consumer Connector リファレンス](https://docs.mulesoft.com/jp/web-service-consumer-connector/2.0/web-service-consumer-reference)
- [MuleSoft ヘルプセンター](https://help.mulesoft.com)