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

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

Avatar

Avatar
Validate 10
MVP
Amit_Kumar
MVP

Likes

329 likes

Total Posts

649 posts

Correct Reply

231 solutions
Top badges earned
Validate 10
Validate 1
Establish
Give Back 50
Give Back 5
View profile

Avatar
Validate 10
MVP
Amit_Kumar
MVP

Likes

329 likes

Total Posts

649 posts

Correct Reply

231 solutions
Top badges earned
Validate 10
Validate 1
Establish
Give Back 50
Give Back 5
View profile
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
Boost 1
Level 1
Gopalakrishnan1
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
Gopalakrishnan1
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Gopalakrishnan1
Level 1

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
Validate 1
Level 1
sonals38664149
Level 1

Like

1 like

Total Posts

13 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Validate 1
Level 1
sonals38664149
Level 1

Like

1 like

Total Posts

13 posts

Correct Reply

3 solutions
Top badges earned
Validate 1
Boost 1
Affirm 3
Affirm 1
View profile
sonals38664149
Level 1

08-06-2016

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