Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8851

Web service and interactive form Adobe10

$
0
0

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 myURL = "https://my304900.crm.ondemand.com/sap(cz1TSUQlM2FBTk9OJTNhdmFjaWt1al9LVUpfMDAlM2FYa2NHSzFGS3haOXdDTGd0U2ZIZUVYc1h1YmtURlM5aHoxM09zUWF3LUFUVA==)/ap/ui/repository";

 

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

});


Viewing all articles
Browse latest Browse all 8851

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>