How to call third party web service in ABSL
This article introduces the knowledge of "how to call a third-party web service in ABSL". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
/ * Add your SAP Business ByDesign scripting language implementation for: Business Object: CustomerQuote Node: Root Action: triggerOutboundDeliveru Note:-To access the elements of the business object node, use path expressions, for example, this.. -To use code completion, press CTRL+J. * / import ABSL;if (this.OutboundDeliveryID.IsInitial () = = false) {raise already_delivered.Create ("E"); return;} var HttpMethod = "GET"; var HttpResource = ""; / / not requiredvar ContentType = ""; / / not requiredvar Body = "" / / not requiredvar HeaderParameter: collectionof NameAndValue; / / not requiredvar URLParameter: collectionof NameAndValue;var URLParameterEntry: NameAndValue;URLParameterEntry.Name = "SoID"; URLParameterEntry.Value = this.ID.content;URLParameter.Add (URLParameterEntry); var response = WebServiceUtilities.ExecuteRESTService ("JerryExternalService", "JerryExternal", HttpMethod, HttpResource,URLParameter, HeaderParameter,ContentType, Body); this.OutboundDeliveryID = response.Content;raise delivery_message.Create ("S", this.OutboundDeliveryID) This is the end of the content of "how to call a third-party web service in ABSL". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!