Dear experts,
have you ever try to use web service in Adobe Livecycle?
I want to use interactive form to create / update / read a custom business object.
This is the code in adobe livecycle after a button on-click action. I am not sure if the code is correct.
form1.subform1.CreateBtn::click - (JavaScript, client)
var input1 = form1.subform1.ProductConfigID.rawValue;
var input2 = form1.subform1.Description.rawValue;
var myURL = "https://my0000000.crm.ondemand.com/sap/bc/srt/scs/sap/yykh726zly_priceconfiguration?wsdl";
var myProxy = SOAP.connect(myURL);
var myAuthen = {
Username : "username",
Password : "password"
};
var myAction = "http://0000000-one-off.sap.com/YKH726ZLY_/YKH726ZLY_PriceConfiguration/CreateRequest";
var myRequest = {
"http://0000000-one-off.sap.com/YKH726ZLY_" : ProdConfCreateRequest(
{ProdConf : {
ProductConfigID : input1,
Description : input2
}
}
)
};
var response = SOAP.request({
cURL : myURL,
oRequest : myRequest,
cAction : myAction,
oAuthentication : myAuthen
});
Many thanks and happy Holidays
Cheers
Linh