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

Avatar

Avatar

Amit_Kumar

MVP

Avatar

Amit_Kumar

MVP

Amit_Kumar
MVP

19-01-2016

I  am  following https://support.neolane.net/doc/AC6.1/en/CFG_API_Implementing_SOAP_methods.html

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.

Regards,

Amit

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

Gopalakrishnan1

Avatar

Gopalakrishnan1

Gopalakrishnan1

08-06-2016

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.

Avatar

Avatar

sonals38664149

Avatar

sonals38664149

sonals38664149

08-06-2016

Please help, if you were able to create custom soap call successfully.