text
stringlengths
65
20k
You can also schedule this integration to run at a date, time, and frequency of your choosing.See Define the Integration Schedule.4.Monitor the execution of the integration flow and view the access token.a.On the Configuration Editor page, select the integration flow.b.Click Run , then click Track Instances .c.On the Track Instances page: i.You'll see the integration flow of the recipe being triggered and executing successfully.The recipe now fetches an access token from OHIP.ii.Select the row of the integration instance that just executed, and click View Details .The Activity Stream pane appears displaying the access token as a log message.You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.
See Define the Integration Schedule.4.Monitor the execution of the integration flow and view the access token.a.On the Configuration Editor page, select the integration flow.b.Click Run , then click Track Instances .c.On the Track Instances page: i.You'll see the integration flow of the recipe being triggered and executing successfully.The recipe now fetches an access token from OHIP.ii.Select the row of the integration instance that just executed, and click View Details .The Activity Stream pane appears displaying the access token as a log message.You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.
4.Monitor the execution of the integration flow and view the access token.a.On the Configuration Editor page, select the integration flow.b.Click Run , then click Track Instances .c.On the Track Instances page: i.You'll see the integration flow of the recipe being triggered and executing successfully.The recipe now fetches an access token from OHIP.ii.Select the row of the integration instance that just executed, and click View Details .The Activity Stream pane appears displaying the access token as a log message.You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.
a.On the Configuration Editor page, select the integration flow.b.Click Run , then click Track Instances .c.On the Track Instances page: i.You'll see the integration flow of the recipe being triggered and executing successfully.The recipe now fetches an access token from OHIP.ii.Select the row of the integration instance that just executed, and click View Details .The Activity Stream pane appears displaying the access token as a log message.You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.
b.Click Run , then click Track Instances .c.On the Track Instances page: i.You'll see the integration flow of the recipe being triggered and executing successfully.The recipe now fetches an access token from OHIP.ii.Select the row of the integration instance that just executed, and click View Details .The Activity Stream pane appears displaying the access token as a log message.You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.
c.On the Track Instances page: i.You'll see the integration flow of the recipe being triggered and executing successfully.The recipe now fetches an access token from OHIP.ii.Select the row of the integration instance that just executed, and click View Details .The Activity Stream pane appears displaying the access token as a log message.You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.
The recipe now fetches an access token from OHIP.ii.Select the row of the integration instance that just executed, and click View Details .The Activity Stream pane appears displaying the access token as a log message.You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.
ii.Select the row of the integration instance that just executed, and click View Details .The Activity Stream pane appears displaying the access token as a log message.You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .
The Activity Stream pane appears displaying the access token as a log message.You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.
You can use this access token to call the required Oracle Hospitality APIs.See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.
See Calling Oracle Hospitality APIs .Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.
Related Documentation Using the REST Adapter with Oracle Integration Oracle Integration Starter Recipes The starter recipes are basic integrations that required no additional setup.Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.
Use them to see how easy it is to activate, run, view results, and monitor an integration between endpoints.Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .
Topics: Calculate Total Balance Concatenate Messages Echo Request Get Incident Details Get Weather Data Increment the Sequence Variable within a Loop Integration Perform Mathematical Operations Get Stocks Data Say Hello World Say Hello World InvokeAppendix A Oracle Integration Starter Recipes A-191Say Hello World Map Data Invoke Send Files from Your Application by Email Transfer a File Use Multiple Verbs and Resources Invoke Work with Files on FTP Servers Calculate Total Balance Use this recipe to calculate the total balance for a group of credit cards using the for each action, and log the result to the activity stream.Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .
Note: This recipe is available as Oracle Soap Library Calculator ForLoop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .
Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.
The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.
No support is provided for this recipe.Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.
Overview The integration in this recipe iterates through an array of credit cards using the for each action, and calculates the total balance.The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.
The integration receives an array of credit cards in the SOAP request, and then calculates and logs the total balance for all the credit cards in the array.It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.
It uses the JavaScript library Oracle-Library-Calculator to add up the total balance, and the logger action to log the result.The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.
The integration that results from installing this recipe is named: Oracle Soap Library Calculator ForLoop .To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.
To run this integration the input you provide must use WS-Security UsernameToken authentication and specify a user, a password, a token, and a time stamp.Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.
Use the user and password that you use to access your Oracle Integration instance.Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.
Input Example <soapenv:Envelope xmlns:aut="http://www.autoloan.com/ns/autoloan" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http:// docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsu:Timestamp wsu:Id=" TS-A0B5B6EE369353695016143639393465 "> <wsu:Created> 2021-02-26T18:25:39.346Z </wsu:Created> <wsu:Expires> 2021-02-26T18:26:39.346Z </wsu:Expires> </wsu:Timestamp> <wsse:UsernameToken wsu:Id=" UsernameToken-A0B5B6EE369353695016143635403723 "> <wsse:Username> your_user_name </wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-username-token-profile-1.0#PasswordText"> password </wsse:Password>Appendix A Oracle Integration Starter Recipes A-192 <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401- wss-soap-message-security-1.0#Base64Binary"> lyzXqn9Ai17AyC/n+5pDpA== </wsse:Nonce> <wsu:Created> 2021-02-26T18:19:00.372Z </wsu:Created> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <aut:creditCards> <!--1 or more repetitions:--> <aut:CreditCard> <aut:CARD_NUMBER>5105 1051 0510 5100</aut:CARD_NUMBER> <aut:BALANCE>151</aut:BALANCE> <aut:LOAN_AMOUNT>100</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3782 8224 6310 005</aut:CARD_NUMBER> <aut:BALANCE>94</aut:BALANCE> <aut:LOAN_AMOUNT>80</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> <aut:CreditCard> <aut:CARD_NUMBER>3530 1113 3330 0000</aut:CARD_NUMBER> <aut:BALANCE>37</aut:BALANCE> <aut:LOAN_AMOUNT>20</aut:LOAN_AMOUNT> <aut:CREDIT_RATE>4</aut:CREDIT_RATE> </aut:CreditCard> </aut:creditCards> </soapenv:Body> </soapenv:Envelope> Output Example This image shows the logged message in the activity stream.The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.
The total balance for this example is 282.Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.
Appendix A Oracle Integration Starter Recipes A-193 System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.
Before you run the integration created with this recipe, you must configure the connection to the SOAP service: To create a connection to the SOAP service, follow the steps described in Create a SOAP Adapter Connection in Using the SOAP Adapter with Oracle Integration .Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.
Related Documentation To learn more about the adapters used in this recipe, see Using the SOAP Adapter with Oracle Integration .Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.
Concatenate Messages Use this recipe to create and invoke a JavaScript callout activity to concatenate messages.This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.
This recipe uses the REST Adapter in an orchestrated integration.Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.
Note: This recipe is available as Oracle Integration REST | Concatenate Messages in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.
Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.
The recipe is meant only for guidance, and is not warranted to be error- free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.
No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-194Description This recipe demonstrates how to use a simple callout activity with a REST Adapter in an orchestrated integration.The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.
The REST Adapter is triggered when you specify a URL with two string query parameters.The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.
The JavaScript Callout function then concatenates these parameters and returns a string message as a response.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.
A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.
You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.
System Requirements Oracle Integration Related Documentation Run the ConcatMessages Sample Echo Request Use this recipe to see a simple log and REST request-response trigger.Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.
Note: This recipe is available as Oracle Integration REST | Echo Request in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.
Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.
The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.
No support is provided for this recipe.Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.
Description This recipe demonstrates how you can use simple logging with a REST Adapter as a trigger in a request-response orchestrated integration.The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.
The REST Adapter gets triggered when you specify a URL.A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.
A browser response is sent to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.
A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.
You can also track the integration and monitor message status.System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.
System Requirements Oracle Integration Related Documentation Run the Echo SampleAppendix A Oracle Integration Starter Recipes A-195Get Incident Details Use this recipe to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.
Note: This recipe is available as Oracle Service Cloud REST | Get Incident Details in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.
Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).
The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.
No support is provided for this recipe.Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.
Description This recipe demonstrates how to get incident details from Oracle B2C Service for an incident ID and send the incident details to the caller as a response.The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.
The REST Adapter is triggered when you specify a URL.The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.
The Oracle Service Cloud (RightNow) Adapter is invoked in the integration, and is configured to get incident details from Oracle B2C Service.The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.
The incident response is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .
A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.
You can also track the integration and monitor message status.System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.
System Requirements Oracle B2C Service Oracle Integration Related Documentation Run the Incident Details from Service Cloud Sample Get Weather Data Use this recipe to get the weather data from an external source for a city and send the details to the caller as a response.Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).
Note: This recipe is available as Oracle REST Get Weather DataService in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.
Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.
The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.
No support is provided for this recipe.Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.
Overview This recipe demonstrates how to get the weather data from an external source for a particular zip code and send the weather details to the caller as a response.Appendix A Oracle Integration Starter Recipes A-196To use the recipe, you must configure the Oracle REST Weather Connection by specifying the connection URL of a weather application (for example, https:// api.openweathermap.org/data/2.5/weather ).Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.
Subsequently, you can trigger the first REST Adapter of the recipe by specifying a zip code and the API key for the connection URL.The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.
The second REST Adapter (which uses the REST connection you configured) is then invoked in the integration, and it fetches the weather details from the specified connection URL.The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.
The response containing the weather data is returned to you.A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.
A logging message is created and logged to the activity stream for viewing.You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.
You can also track the integration and monitor the message status.You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .
You can invoke the REST API using the following command to get the weather data through the recipe: GET: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- REST_GET_WEATHER_DATA/1.0/weather?zip={zip_code}&appid={api_key} Example Response Payload: { "coord": { "lon": -96.9905, "lat": 32.8653 }, "weather": [ { "id": 804, "main": "Clouds", "description": "overcast clouds", "icon": "04d" } ], "base": "stations", "main": { "temp": 269.41, "feels_like": 262.04, "temp_min": 269.15, "temp_max": 269.82, "pressure": 1024, "humidity": 86 }, "visibility": 10000, "wind": { "speed": 6.69, "deg": 350 }, "clouds": { "all": 90 }, "dt": 1613058731, "sys": { "type": 1, "id": 3807, "country": "US",Appendix A Oracle Integration Starter Recipes A-197 "sunrise": 1613049292, "sunset": 1613088582 }, "timezone": -21600, "id": 0, "name": "Irving", "cod": 200 } System and Access Requirements Oracle Integration A weather application's connection URL and API key Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .
To use this recipe, you must configure the Oracle REST Weather Connection.You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.
You must supply the following information when you configure this connection: Connection Name Parameters Oracle REST Weather Connection Connection Properties Connection Type: REST API Base URL.Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.
Connection URL: The connection URL of a weather application (for example, https://api.openweathermap.org/data/2.5/ weather).Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.
Security Security Policy: API Key Based Authentication.API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.
API Key: The API key for the connection URL.For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.
For more details, see Create a REST Adapter Connection.Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.
Related Documentation Using the REST Adapter with Oracle Integration Increment the Sequence Variable within a Loop Integration Use this recipe to increment the sequence or counter variable within a data mapper while processing data in batches.Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.
Note: This recipe is available as Oracle Increment Variable Inside Loop in the Integration Store.Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.
Oracle provides this recipe as a sample only.The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.
The recipe is meant only for guidance, and is not warranted to be error-free.No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.
No support is provided for this recipe.Appendix A Oracle Integration Starter Recipes A-198Overview The Increment Counter Variable recipe uses a REST Adapter to fetch or receive data in batches from an external application.This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.
This recipe enables you to increment the sequence or counter variable within a data mapper, using the position( ) function, for each batch of data that's processed.You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.
You can invoke the REST API using the following command to post data to the recipe: POST: https://host:port/ic/api/integration/v1/flows/rest/ORCL-R- INCREM_VARIAB_INSIDE_LOOP/1.0/ITER Example Input Payload: {"accounting": [ { "firstName": "John1", "lastName": "Doe1", "age": 23 } , { "firstName": "John2", "lastName": "Doe2", "age": 33 } , { "firstName": "John3", "lastName": "Doe3", "age": 44 } , { "firstName": "John4", "lastName": "Doe4", "age": 53 } , { "firstName": "John5", "lastName": "Doe5", "age": 63 }] } Example Output Payload: { "Accounting": [ { "Seq": "1", "Employee": { "firstName": "John1", "lastName": "Doe1", "age": 23 } }, { "Seq": "2", "Employee": { "firstName": "John2", "lastName": "Doe2", "age": 33 } }, { "Seq": "3", "Employee": { "firstName": "John3", "lastName": "Doe3", "age": 44 } }, { "Seq": "4", "Employee": { "firstName": "John4", "lastName": "Doe4",Appendix A Oracle Integration Starter Recipes A-199 "age": 53 } }, { "Seq": "5", "Employee": { "firstName": "John5", "lastName": "Doe5", "age": 63 } } ], "errorOccurred": "false" } System and Access Requirements Oracle Integration Install, Configure, and Run the Recipe For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.
Related Documentation Using the REST Adapter with Oracle Integration Using the Oracle Mapper with Oracle Integration .Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.
Perform Mathematical Operations Use these recipes to perform basic arithmetic operations on the input data and handle faults encountered during the division operation.Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.
Note: These recipes are available in the Oracle Integration SOAP | Calculator Operations package in the Integration Store.Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.
Oracle provides these recipes as samples only.These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.
These recipes are meant only for guidance, and are not warranted to be error-free.No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.
No support is provided for these recipes.Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.
Overview Using these recipes, you can: Perform a specific arithmetic operation (such as, addition, subtraction, multiplication, and division) on the input data using a Switch action.To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.
To enable you to perform these operations, a JavaScript library ( Oracle-Library-Calculator ) is included in the package.Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.The in-scope fault handler in the integration flow handles the fault by interchanging the values of the divisor and the dividend.
Perform a division operation on the input data, and catch or handle faults encountered during the operation.Appendix A Oracle Integration Starter Recipes A-200Integration Name Description SOAP Library Calculator Switch Performs any arithmetic operation (addition, subtraction, multiplication, and division) on the input data.As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.The in-scope fault handler in the integration flow handles the fault by interchanging the values of the divisor and the dividend.The integration flow then completes the division operation successfully and returns the result as a response.
As input to the integration, you must provide two input values and specify the necessary value for the Switch action, indicating which operation to perform.The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.The in-scope fault handler in the integration flow handles the fault by interchanging the values of the divisor and the dividend.The integration flow then completes the division operation successfully and returns the result as a response.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.
The integration returns the output of the specified operation as the response.Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.The in-scope fault handler in the integration flow handles the fault by interchanging the values of the divisor and the dividend.The integration flow then completes the division operation successfully and returns the result as a response.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or the output of the modified operation (in case the operators are interchanged due to a fault) as the response.
Example Input Payload: <exam:AnyWithOption> <exam:option>mul</exam:option> <exam:a>4</exam:a> <exam:b>12</exam:b> </exam:AnyWithOption> Example Output Payload: <env:Body> <AnyWithOptionResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/ wsdl/" xmlns:wsp="http://schemas.xmlsoap.org/ws/ 2004/09/policy" xmlns:wsu="http://docs.oasis- open.org/wss/2004/01/oasis-200401-wss-wssecurity- utility-1.0.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://Example.org"> <nstrgmpr:result>48.0</nstrgmpr:result> </AnyWithOptionResponse> </env:Body>Appendix A Oracle Integration Starter Recipes A-201Integration Name Description SOAP Library Division Calculator Performs the division operation on the input data.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.The in-scope fault handler in the integration flow handles the fault by interchanging the values of the divisor and the dividend.The integration flow then completes the division operation successfully and returns the result as a response.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or the output of the modified operation (in case the operators are interchanged due to a fault) as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>10</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-208Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/Appendix A Oracle Integration Starter Recipes A-209Integration Name Description oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org"> <nstrgmpr:result>0</nstrgmpr:result> </DivideResponse> System and Access Requirements Oracle Integration Install, Configure, and Run the Recipes For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .
As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.The in-scope fault handler in the integration flow handles the fault by interchanging the values of the divisor and the dividend.The integration flow then completes the division operation successfully and returns the result as a response.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or the output of the modified operation (in case the operators are interchanged due to a fault) as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>10</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-208Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/Appendix A Oracle Integration Starter Recipes A-209Integration Name Description oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org"> <nstrgmpr:result>0</nstrgmpr:result> </DivideResponse> System and Access Requirements Oracle Integration Install, Configure, and Run the Recipes For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use the recipes in the Oracle Integration SOAP | Calculator Operations package, you must configure the Oracle SOAP Connection.
The integration returns the output of the operation as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.The in-scope fault handler in the integration flow handles the fault by interchanging the values of the divisor and the dividend.The integration flow then completes the division operation successfully and returns the result as a response.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or the output of the modified operation (in case the operators are interchanged due to a fault) as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>10</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-208Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/Appendix A Oracle Integration Starter Recipes A-209Integration Name Description oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org"> <nstrgmpr:result>0</nstrgmpr:result> </DivideResponse> System and Access Requirements Oracle Integration Install, Configure, and Run the Recipes For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use the recipes in the Oracle Integration SOAP | Calculator Operations package, you must configure the Oracle SOAP Connection.You only need to configure this connection once.
Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>200</exam:a> <!--Optional:--> <exam:b>10</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-202Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org">Appendix A Oracle Integration Starter Recipes A-203Integration Name Description <nstrgmpr:result>20.0</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-204Integration Name Description SOAP Library Global FaultHandler Performs the division operation on the input data, and uses a predefined, global fault handler to catch errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.Using a global fault handler, the integration flow returns the fault details as a response.As input to the recipe, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or fault details as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>60</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:plnk="http:// schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns1="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ics/fault" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:nsmpr1="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:wsx="http:// schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs30="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs31="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs9="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath119774 4749" xmlns:orajs7="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath605343Appendix A Oracle Integration Starter Recipes A-205Integration Name Description 633" xmlns:orajs8="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath185128 3090" xmlns:orajs5="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath188653 5281" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath640595 824" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath107305 9868" xmlns:orajs4="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath102406 8758" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath149642 6531" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/ addressing/policy" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns:orajs20="http:// www.oracle.com/XSL/Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs21="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs22="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs27="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs28="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs29="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs23="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs24="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171Appendix A Oracle Integration Starter Recipes A-206Integration Name Description 120" xmlns:orajs25="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs26="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath481947 08" xmlns:orajs11="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath206724 5588" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath114692 5263" xmlns:orajs17="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath182264 4184" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath133935 528" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:nstrgdfl="http://xmlns.oracle.com/procmon" xmlns:ns28="http://xmlns.oracle.com/ics/tracking/ ics_tracking_context.xsd" xmlns:msc="http:// schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:nstrgmpr="http://Example.org" xmlns="http:// Example.org"> <nstrgmpr:result>Review JavaScript error(s) and fix them: error: null@18 -> DivideByZeroError at: function=divide, loc=js/TestAPILibrary_1.0/ calc.js, line=18</nstrgmpr:result> </DivideResponse>Appendix A Oracle Integration Starter Recipes A-207Integration Name Description SOAP Library Div Inscope FaultHandlerPerforms the division operation on the input data, and uses an in-scope fault handler to catch and handle errors during the operation.For example, when the input for the divisor is zero, the operation results in a fault.The in-scope fault handler in the integration flow handles the fault by interchanging the values of the divisor and the dividend.The integration flow then completes the division operation successfully and returns the result as a response.As input to the integration, you must specify the dividend as the first input and the divisor as the second input.The integration returns the output of the operation or the output of the modified operation (in case the operators are interchanged due to a fault) as the response.Example Input Payload: <exam:Divide> <!--Optional:--> <exam:a>10</exam:a> <!--Optional:--> <exam:b>0</exam:b> </exam:Divide> Example Output Payload: <DivideResponse xmlns:wsa="http:// schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns0="http://www.oracle.com/XSL/Transform/java/ oracle.tip.dvm.LookupValue" xmlns:ns1="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.resources.icsxpathfunctions.ICSInstanceT rackingFunctions" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http:// schemas.xmlsoap.org/wsdl/" xmlns:wsp="http:// schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/ oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:nsmpr0="http://www.oracle.com/2014/03/ic/ integration/metadata" xmlns:dvm="http:// www.oracle.com/XSL/Transform/java/ com.bea.wli.sb.functions.dvm.DVMFunctions" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:orajs10="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath428770 522" xmlns:orajs11="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath151171 120" xmlns:wsaw="http://www.w3.org/2006/05/addressing/ wsdl" xmlns:wsa10="http://www.w3.org/2005/08/ addressing" xmlns:orajs16="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath126454 0111" xmlns:orajs17="http://www.oracle.com/XSL/Appendix A Oracle Integration Starter Recipes A-208Integration Name Description Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath908143 547" xmlns:orajs18="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath889320 555" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/ soap12/" xmlns:orajs19="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath226366 833" xmlns:orajs12="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath754435 699" xmlns:orajs9="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath137275 3807" xmlns:orajs13="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath248742 258" xmlns:orajs7="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath591907 397" xmlns:orajs14="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath213040 8426" xmlns:orajs15="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath178652 5844" xmlns:orajs8="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath263876 15" xmlns:orajs5="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath132287 2458" xmlns:orajs6="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath917958 894" xmlns:orajs3="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath86288" xmlns:orajs4="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath199629 1323" xmlns:orajs1="http://www.oracle.com/XSL/ Transform/java/ oracle.tip.pc.services.functions.JsExecutor_xpath729152 639" xmlns:orajs2="http://www.oracle.com/XSL/Transform/ java/ oracle.tip.pc.services.functions.JsExecutor_xpath161156 5945" xmlns:orajs0="http://www.oracle.com/XSL/ Transform/java/Appendix A Oracle Integration Starter Recipes A-209Integration Name Description oracle.tip.pc.services.functions.JsExecutor_xpath503065 307" xmlns:msc="http://schemas.microsoft.com/ws/ 2005/12/wsdl/contract" xmlns:wsap="http:// schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:nstrgmpr="http://Example.org" xmlns:soap="http:// schemas.xmlsoap.org/wsdl/soap/" xmlns="http:// Example.org"> <nstrgmpr:result>0</nstrgmpr:result> </DivideResponse> System and Access Requirements Oracle Integration Install, Configure, and Run the Recipes For more information and steps to install, configure, and run recipes, see Get Started with Integration Accelerators and Recipes .To use the recipes in the Oracle Integration SOAP | Calculator Operations package, you must configure the Oracle SOAP Connection.You only need to configure this connection once.All the recipes in the package use the same connection.