Connecting to SOAP API Using Java and CXF

Use Java and CXF sample code and language details here to connect your development environment to Marketing Cloud Engagement using SOAP API. CXF is a SOAP client for Java.

In order to use the configuration in this document, you must download and implement the CXF development environment.

Download CXF

You can use the connection to the SOAP API to test your calls and perform various tasks, such as sending email and retrieving tracking information.

Download CXFand follow the appropriate instructions at that site to install the service on your computer. You can use the sample code below to authenticate your installation and exchange information with the SOAP API servers. The code example below does not include all of the libraries and classes your environment may require to authenticate. Be sure to include all applicable libraries and classes in your code to ensure proper functionality.