Java Code Samples

This page contains code samples written to help Java developers work with the Marketing Cloud SOAP API.

What Are Java Code Samples

These code samples illustrate common actions a Java developer might perform when working with the Marketing Cloud SOAP API.

Why Use Java Code Samples

These code samples can help you understand how to perform certain actions in a Java environment. These code samples can be modified or changed to match your needs.

Some of these code samples may have issues when sending double-byte characters. If you encounter these issues, please update the code to use Axis2 or a similar Java client whenever possible.

Available Java Code Samples