---
schema_version: "1"
id: 69118c25abed0debab196787a504c7a9a72631dd9247714bbbd4a9e25d58baff
title: Workday の XML と Maven のサポート - Mule 4
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/workday-connector/12.0/workday-connector-xml-maven.md
canonical_url: https://docs.mulesoft.com/jp/workday-connector/12.0/workday-connector-xml-maven
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 40bc053ffc30127f8c023e3bc433992a7a2e305cc3a1a8f748e7ea119184893d
description: MuleSoft Documentation Site
release: "12.0"
latest: false
---
# Workday の XML と Maven のサポート - Mule 4

Anypoint Studio XML エディターまたはテキストエディターから XML で Mule アプリケーションを手動でコーディングする場合、参照ステートメントを XML Mule フローおよび Apache Maven `pom.xml`​ ファイルに追加してアプリケーションで Workday にアクセスできます。

<table>
<tbody><tr>
<td class="icon">
<i class="fa icon-note" title="Note"></i>
</td>
<td class="content">
<div class="paragraph">
<p>Workday Connector を Anypoint Studio にインストールすると、Studio は自動的に XML コードに Workday Connector の名前空間およびスキーマの位置を入力し、連動関係を <code>pom.xml</code>​ ファイルに追加します。</p>
</div>
</td>
</tr>
</tbody></table>

## [](#コネクタの名前空間の追加)コネクタの名前空間の追加

次のコードを設定 XML のヘッダーの `mule`​ タグ内に貼り付けます。

```xml
http://www.mulesoft.org/schema/mule/workday
http://www.mulesoft.org/schema/mule/workday/current/mule-workday.xsd
```

次の例は、XML 内に名前空間ステートメントが配置される方法を示しています。

```xml
<mule xmlns:$2="http://www.mulesoft.org/schema/mule/$2"
	xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core"
	xmlns:http="http://www.mulesoft.org/schema/mule/http"
	xmlns:file="http://www.mulesoft.org/schema/mule/file"
	xmlns="http://www.mulesoft.org/schema/mule/core"
	xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.mulesoft.org/schema/mule/core
	http://www.mulesoft.org/schema/mule/core/current/mule.xsd
	http://www.mulesoft.org/schema/mule/file
	http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd
	http://www.mulesoft.org/schema/mule/http
	http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd
	http://www.mulesoft.org/schema/mule/ee/core
	http://www.mulesoft.org/schema/mule/ee/core/current/mule-ee.xsd
	http://www.mulesoft.org/schema/mule/$2
	http://www.mulesoft.org/schema/mule/$2/current/mule-$2.xsd">
```

## [](#pom-ファイルの連動関係の追加)POM ファイルの連動関係の追加

`pom.xml`​ Maven ファイルは Anypoint Studio によって生成され、Mule アプリケーションの連動関係が含まれます。Mule アプリケーションを手動でコーディングする場合、この XML スニペットを `pom.xml`​ ファイルに含め、コネクタへのアクセスを有効にします。

```xml
<dependency>
  <groupId>com.mulesoft.connectors</groupId>
  <artifactId>mule-workday-connector</artifactId>
  <version>12.0.0</version>
  <classifier>mule-plugin</classifier>
</dependency>
```

最新の `pom.xml`​ ファイル情報を取得する手順は、次のとおりです。

1. [Anypoint Exchange](https://www.mulesoft.com/exchange/)​ に移動します。
2. Exchange で、**\[Login (ログイン)\]**​ をクリックし、Anypoint Platform のユーザー名とパスワードを指定します。
3. Exchange で、「`Workday`​」を検索します。
4. **\[Dependency Snippets (連動関係スニペット)\]**​ をクリックします。

最新の `pom.xml`​ ファイル情報を取得するには、​[Anypoint Exchange](https://www.mulesoft.com/exchange/)​ のコネクタにアクセスして、**\[Dependency Snippets (連動関係スニペット)\]**​ をクリックします。

## [](#次のステップ)次のステップ

名前空間および `pom.xml`​ ファイルを完了したら、[例](https://docs.mulesoft.com/jp/workday-connector/12.0/workday-connector-examples)​を試すことができます。

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

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