---
schema_version: "1"
id: ed5a69690aa8b740e2cf1911f540f3594e66ac8bd733db1f38f9144c31864c59
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.7/web-service-consumer-examples.md
canonical_url: https://docs.mulesoft.com/jp/web-service-consumer-connector/1.7/web-service-consumer-examples
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b7bd2566c546a0263ef8c423c94e969de2c67bb442f488fcce8b275dd46c143f
description: MuleSoft Documentation Site
release: "1.7"
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.7/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.7/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)