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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!

How to add a custom soap method to your new schema?


Community Advisor

I  am  following

after following the steps mentioned in the above link

created a js by i.e cus1:subscription.js

in this JS i have a function

function cus1_subscription_Subscribe(service,recipient,event){

//code here


now in my webapp scrip i am trying to call this method like cus1.subscription.Subscribe(service,recipient,event); but i am getting one error like cus1 is undefined

How can i resolve this? it would be great if you can point me to the OOTB implementation of nms.subscription.Subscribe(service,recipient,false) i.e location of this file in adobe campaign console.



0 Replies


Level 1

Hi Sonal,

     Try to create a method in the corresponding schema. In that method, use the javascript file name. And try to call the method from the webapp. you cannot simply call the javascript function without defining the method in the schema.