Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Logs for external SOAP API call to Adobe Campaign

ACCUser19
Level 1
Level 1

Hi,

I would like to know whether it is possible to debug an incoming SOAP API call from an external system that would insert/update data to recipient table. The instance is Adobe hosted. I would like to check the API parameters or any errors popped up during the update operation.

1 Accepted Solution
Milan_Vucetic
Correct answer by
Community Advisor
Community Advisor

Hi @ACCUser19  if you extend Recipient schema with new method for insert/update you may create and link Javascript file where you can set up logInfo/logError/logWarning functions within specific use cases (when you want to have log, what to print, etc...), and later have logs into web.log file each time action happened.

There is a default method in Recipient schema called updateProfile which you may call with regular and wrong parameters and check if any logs are triggered by default and how they look like.

Regards,

Milan

View solution in original post

3 Replies
Milan_Vucetic
Correct answer by
Community Advisor
Community Advisor

Hi @ACCUser19  if you extend Recipient schema with new method for insert/update you may create and link Javascript file where you can set up logInfo/logError/logWarning functions within specific use cases (when you want to have log, what to print, etc...), and later have logs into web.log file each time action happened.

There is a default method in Recipient schema called updateProfile which you may call with regular and wrong parameters and check if any logs are triggered by default and how they look like.

Regards,

Milan

View solution in original post

ACCUser19
Level 1
Level 1

Hi @Milan_Vucetic 

Thank you for your answer. Do you have any samples or documentation for adding custom method to schema?
Also, I would like to debug an API that has occurred a few days ago. So if there is some option that I can use right away, would be very helpful.

Milan_Vucetic
Community Advisor
Community Advisor

Hi @ACCUser19 

you may start with this link.

Once you understand the process you will notice some existing code in AC based on which you may define your method. It is not too hard but at the same time is not straightforward. You will need some basic JS and XML knowledge otherwise suggest to hire consultants or person with experience in order to avoid that jeopardize current setup.

Regards,
Milan