Best Practices for Business Functions Calling Business Services
When a need for calling a web service from within JD Edwards EnterpriseOne occurs, a business function is required to make that call. To preserve changes that you have made to the JD Edwards EnterpriseOne business function when you upgrade or update your system, Oracle recommends that you create a new business function specifically for this task. This web service consumer business function can be called by a JD Edwards EnterpriseOne application or business function. Processing in this web service business function would include:
Initialize XML.
Build XML.
Call the API that calls the business service.
Map the response.
Handle errors.
Return to the calling business function.