---
schema_version: "1"
id: 1a3fe3e1bb4afba9728c7dbb68d2369649e51542025f82f5627790bfa30b47e3
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.11/web-service-consumer-examples.md
canonical_url: https://docs.mulesoft.com/web-service-consumer-connector/1.11/web-service-consumer-examples
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 721b6b150237b0d1ea92f9c42724d0124de8a4d1d2fe9f9443f6b9baaf5defbd
description: MuleSoft Documentation Site
release: "1.11"
latest: false
---
---
product: Web Service Consumer Connector
version: 1.11
---

# 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.11/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.11/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)
