---
schema_version: "1"
id: 35f3094b6e9a849c65f051655ef2f5fde805b185bdfd8a599adf32efdbd5649b
title: Web Service Consumer Connector Examples
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/web-service-consumer-connector/1.12/web-service-consumer-examples.md
canonical_url: https://docs.mulesoft.com/web-service-consumer-connector/1.12/web-service-consumer-examples
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 8a03bcfbcb08d49f7ca9cc28fb5b61779a9ebe33548b067df44d25840827ab5d
description: MuleSoft Documentation Site
release: "1.12"
latest: false
---
---
product: Web Service Consumer Connector
version: 1.12
---

# Web Service Consumer Connector Examples

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

The following examples illustrate how to configure Anypoint Connector for Web Service Consumer (Web
Service Consumer) Connector operations both in Anypoint Studio and the XML editor.

- [Web Service Consumer Connector Example 1](https://docs.mulesoft.com/web-service-consumer-connector/1.12/web-service-example-1) This example transforms a
  variable value into XML and pass that value to the Web Service Consumer Connector, which
  subsequently consumes a web service.

- [Web Service Consumer Connector Example 2](https://docs.mulesoft.com/web-service-consumer-connector/1.12/web-service-example-2) This example list an inventory
  of t-shirts and the Web Service Consumer Connector returns if there is an error such as
  `BAD_RESPONSE` or `EMPTY_RESPONSE`.

## See Also

- [Introduction to Anypoint Connectors](https://docs.mulesoft.com/connectors/introduction/introduction-to-anypoint-connectors)

- [Salesforce Help](https://help.salesforce.com)
