---
schema_version: "1"
id: 7deaf996c0e58d11e5d8e53d62764ca641cd375b9998afc40fb15807bfbaa491
title: Web Service Consumer Connector の例
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/web-service-consumer-connector/1.11/web-service-consumer-examples.md
canonical_url: https://docs.mulesoft.com/jp/web-service-consumer-connector/1.11/web-service-consumer-examples
source_site: docs.mulesoft.com
content_type: documentation
content_hash: fc2785a61182a2a5a4384ec8fa93f2ba149a0588d35bf5d00e0c86bf6c7db25a
description: MuleSoft Documentation Site
release: "1.11"
latest: false
---
# Web Service Consumer Connector の例

次の例は、Anypoint Studio と XML エディターの両方で Web サービスコンシューマー用 Anypoint Connector (Web Service Consumer Connector) の操作を設定する方法を示しています。

- [Web Service Consumer Connector の例 1](https://docs.mulesoft.com/jp/web-service-consumer-connector/1.11/web-service-example-1) この例は、変数値を XML に変換し、以後 Web サービスをコンシュームする Web Service Consumer Connector にその値を渡す方法を示しています。
- [Web Service Consumer Connector の例 2](https://docs.mulesoft.com/jp/web-service-consumer-connector/1.11/web-service-example-2) この例では T シャツの在庫がリストされ、Web Service Consumer Connector により、​`BAD_RESPONSE`​ や ​`EMPTY_RESPONSE`​ などのエラーがあるかどうかが返されます。

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

- [Anypoint Connector の概要](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)
- [MuleSoft ヘルプセンター](https://help.mulesoft.com)