Skip to main content

Posts

Showing posts with the label http

Siebel eScript for sending information to http site using EAI HTTP Transport Business Service

Below is the eScript for sending information to http site. Business Service: EAI HTTP Transport Method: SendReceive eScript: var sUrl = "http URL on which you want to send/ receive information"; var sRequest =""; var oService = TheApplication().GetService("EAI HTTP Transport"); var oInputs = TheApplication().NewPropertySet(); var oOutputs = TheApplication().NewPropertySet(); oInputs.SetProperty("HTTPRequestBodyTemplate", sRequest); oInputs.SetProperty("HTTPRequestMethod", "POST"); oInputs.SetProperty("HTTPRequestURLTemplate", sUrl); oService.InvokeMethod("SendReceive", oInputs, oOutputs); var Prop1 = oOutputs.urlProp1