My grandad used to say, ‘When there is a platform, there is an API.’ The same goes for Adobe Campaign Classic, which was equipped with its own programmable interface.
In a world where mentioning API typically brings REST to mind, with Adobe Campaign, we find ourselves stuck with the 2000s-breaking technology SOAP.SOAP
SOAP (Simple Object Access Protocol) is a protocol used for exchanging structured information in web services. It relies on XML as its message format and typically operates over HTTP or SMTP. Yes XML and as you might have noticed everything around adobe campaign revolves around them.WSDL
WSDL is an XML-based language used to describe the functionality offered by a web service. It defines the operations, input/output messages, and protocols for communication with the Adobe Campaign Classic application server.Role in Web Services
- WSDL provides a standard way for clients to understand the capabilities and requirements of a web service.
- It acts as a contract between the service provider and consumers.
Each database schema has methods described by a WSDL file. You can list any schema’s SOAP methods by accessing its WSDL file.
Everything kicks off with the
logon method, and when we’re feeling particularly pedantic, we wrap things up with the
xtk:session and method
<s:element name="Logon"> <s:complexType> <s:sequence> <s:element maxOccurs="1" minOccurs="1" name="sessiontoken" type="s:string"/> <s:element maxOccurs="1" minOccurs="1" name="strLogin" type="s:string"/> <s:element maxOccurs="1" minOccurs="1" name="strPassword" type="s:string"/> <s:element maxOccurs="1" minOccurs="1" name="elemParameters" type="tns:Element"/> </s:sequence> </s:complexType> </s:element>
You can find more information in the official documentation.THE API
Adobe campaign classic categorizes its API into two categoriesBusiness oriented APIs
API functionality that enables you to access specific funcitonalities of an Adobe Campaign object e.g. recipient, service, delivery. For example
nms:subscibption schema you can subscribe and unsubscribe recipient from a service. Transactional messages along with sending bulk emails all of these and more you can do via APIs.
As the name suggests, this type of API is for accessing database records of any object within Adobe Campaign Classic. Perhaps you’ve already used
xtk:session schema, specifically the write and write collection methods.
For those who can’t quite grasp the nuances of old-school technology, you can craft your own REST API over the aged SOAP Adobe Campaign API. The safety dance might get a bit tricky in this workaround, but anyway …