Skip to main content
Level 1
May 1, 2026
Question

Need help with xtk:builder#UpdateDb XML parameter structure (Beginner)

  • May 1, 2026
  • 2 replies
  • 86 views

Hi everyone,

I am a beginner with Adobe Campaign Classic and I am trying to automate a database schema synchronization using the SOAP APIs.

I’m looking at the xtk:builder#UpdateDb method. The documentation mentions it requires an XML parameters argument, but it doesn't provide the internal structure or the attributes supported by this XML.

I have already successfully run BuildUpdateSchemaDiff, but I'm stuck on how to properly format the UpdateDb call to actually execute the changes.

Could someone provide an example of the XML structure for the parameters argument?

 

2 replies

david--garcia
Level 10
May 5, 2026

I’d be wiling to give it a go, please share the request/script for BuildUpdateSchemaDiff and I will figure out the rest.

https://www.linkedin.com/in/david-garcia-uk/ | https://martech.network
debarghaAuthor
Level 1
May 6, 2026

Actually I used BuildUpdateOneSchemaDiff. I am using a payload generator by parsing the wsdl into the payload. the request method looks like this:
 

def build_update_one_schema_diff(self, namespace , name , useNamingConventions):
gen_req = soapRequests(
method="BuildUpdateOneSchemaDiff",
wsdl_json_path="schemaJsonCollection/xtk_builder.json",
parameters={
"sessiontoken": os.getenv("ADOBE_SESSION_TOKEN"),
"strSchemaId": f"{namespace}:{name}",
"useNamingConventions": useNamingConventions
}
)
gen_res = gen_req.send_request(url=os.getenv("ADOBE_INSTANCE_URL"))
return gen_req , gen_res

it essentially generates this payload 
 

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:xtk:builder">
<soapenv:Header/>
<soapenv:Body>
<urn:BuildUpdateOneSchemaDiff>
<urn:sessiontoken>{sessiontoken}</urn:sessiontoken>
<urn:strSchemaId>{namespace}:{name}</urn:strSchemaId>
<urn:bUseNamingConventions>{useNamingConventions}</urn:bUseNamingConventions>
</urn:BuildUpdateOneSchemaDiff>
</soapenv:Body>
</soapenv:Envelope>


 

david--garcia
Level 10
May 5, 2026

Please share your current working soap call/request for BuildUpdateSchemaDiff I will try to figure out the rest.

https://www.linkedin.com/in/david-garcia-uk/ | https://martech.network