Hey guys,
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
form1.subform1.CreateBtn::click - (JavaScript, client)
var input1 = form1.subform1.ProductConfigID.rawValue;
var input2 = form1.subform1.Description.rawValue;
var myProxy = SOAP.connect(myURL);
var myAuthen = {
Username : "studioadmin",
Password : "Welcome3"
};
var myAction = "http://0001114789-one-off.sap.com/YKH726ZLY_/YKH726ZLY_PriceConfiguration/CreateRequest";
var myRequest = {
"http://0001114789-one-off.sap.com/YKH726ZLY_" : ProdConfCreateRequest(
{ProdConf : {
ProductConfigID : input1,
Description : input2
}
}
)
};
var response = SOAP.request({
cURL : myURL,
oRequest : myRequest,
cAction : myAction,
oAuthentication : myAuthen
});