Comments (3)
Given below is the proposed API design for Outbound Communication in the Ballerina SAP Connector.
API Design
- Sending IDoc Messages:
public remote function sendIdoc(xml idoc, int? idocVersion = 3, boolean? transactions = true) returns string | error = external;
- Sending BAPI Requests:
public remote function sendBapi(xml bapi, boolean? transactions = true) returns string | error = external;
- Sending Queued IDoc Messages:
public remote function sendQueuedIdoc(xml idoc, int? idocVersion = 3, string queueName) returns string | error = external;
- Sending Queued BAPI Requests:
public remote function sendQueuedBapi(xml bapi, string queueName) returns string | error = external;
Use Cases
- Making Requests Without Transactions:
IDoc:
sendIdoc(idoc, idocVersion, false);
BAPI:
sendBapi(bapi, false);
- Enabling Transactions in a Single Request:
IDoc:
sendIdoc(idoc, idocVersion, true);
BAPI:
sendBapi(bapi, true);
- Enabling Queued Transactions in a Single Request:
IDoc:
sendQueuedIdoc(idoc, idocVersion, queueName);
BAPI:
sendQueuedBapi(bapi, queueName);
- Enabling Transactions for Multiple Requests:
Note: Requests should reside inside a Ballerina transaction block for multiple transactions to work.
IDoc:
sendIdoc(idoc, idocVersion);
BAPI:
sendBapi(bapi);
- Enabling Queued Transactions for Multiple Requests:
Note: Requests should reside inside a Ballerina transaction block for multiple transactions to work.
IDoc:
sendQueuedIdoc(idoc, idocVersion, queueName);
BAPI:
sendQueuedBapi(bapi, queueName);
from ballerina-integrator.
Faced a blocker.
ballerina-platform/ballerina-lang#19271
from ballerina-integrator.
Removing the blocker label, since this connector will be kept on hold until the blocker faced in Ballerina is resolved.
from ballerina-integrator.
Related Issues (20)
- [SMB Connector]Unit tests need to be asserted.
- [VSCode][Windows] Cannot open projects on D: drive
- [JMS Connector]Unit tests need to be added
- [File Integration using Samba]Port should be corrected
- [File Integration Using Samba]Incorrect file name is printed
- [File Integration Using Samba]Error in getting the file size
- [Deploying on Docker][Deploying on Kubernetes][Docs] Mention to set the environmental variables
- [FTP Connector]It only outputs the file size when getting the file size but not the unit.
- [Docs] [Observability] Refactor and Improve Observability docs
- [Logging using Logstash and Kibana] nohup command does not work for windows
- [Docs] SaaS Integration Learn page throws "Page not found"
- [FTP Connector]Cannot read the file content when docker configuration is used
- [File Integration using FTP] Remove unnecessary comments from template
- Issues with Ballerina and Ballerina Plugin in VSCode HOT 1
- [GmailConnector] searchFilter 'query' not working with standard Gmail search query string
- Once a module is being built, it encourages the users to install Ballerina version 1.0.5
- EI Connectors redirect links broken HOT 1
- Module details are not available in Ballerina Central HOT 1
- [Doc] The copy to clipboard feature copies unwanted content
- [FTP Connector][ftp:ClientEndpointConfig]The list() method need to return more clear output
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ballerina-integrator.