i develop a send sms function, i create a table(smsApiservice:cus), the method(SendSingleSms) at the table, and the cus:smsApiservice.js, then i should had a wsdl url can find, such as 'http://localhost:8080/nl/jsp/schemawsdl.jsp?schema=cus:smsApiservice',
and i use the postman to via the url, it report below issue:
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @wankang,
I believe we already have a solution to your issue on the other thread that you have posted: https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/jst-310001-error-w...
Please let me know in case you still want to keep this thread open for more inputs from the Community.
Thanks!
Views
Replies
Total Likes
Hello @wankang
You need to have properly set the methods in your schema XML
...
<methods>
<method library="cus:smsApiservice.js" name="SendSingleSMS" static="true">
<!-- in out arguments-->
...
Where library should be saved under JavaScript codes folder and be called exactly the same even with .js extension.
Then inside the library you have to have function which has to return arguments as you have defined in the methods of schema.
var cus_smsApiservice_SendSingleSms(arg){
//do something
}
Marcel
that's great. it's a name incorrect. it should like "cus_smsApiservice_SendSingleSms"
Views
Replies
Total Likes
Hi @wankang,
I believe we already have a solution to your issue on the other thread that you have posted: https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/jst-310001-error-w...
Please let me know in case you still want to keep this thread open for more inputs from the Community.
Thanks!
Views
Replies
Total Likes