271 questions
1
vote
1
answer
34
views
WSO2 Integration Studio: An error occurred while creating the carbon archive file
I have a WSO2 multi-module Maven project with ESB config, exporter, and mediator projects. When I run my project in WSO2 Integration Studio and select the mediator project to include in the CAR file, ...
0
votes
1
answer
85
views
WSO2 Micro Integrator “Failed to create InitialContext using factory specified in hash table” for LDAP Operation
I am trying to connect my APi developed by wso2 MI VsCode to an OpenLDAP server running on Ubuntu WSL. I’m using the WSO2 LDAP connector (V2) to perform LDAP operations (search, authentecates), but ...
0
votes
0
answers
53
views
WSO2 Micro integrator(MI) - Sentry implementation
I'm trying to get Sentry to work with WSO2 Micro Integrator 4.4.0, but it seems to be an incredibly difficult task. Has anyone here managed to get it running?
If you have, I would be very grateful if ...
1
vote
0
answers
84
views
How can i initialize the ballerina module before the call of the function?
I try using the Ballerina module in wso2mi but i have the following error
[2025-07-29 16:07:19,538] ERROR {io.ballerina.stdlib.mi.Mediator} - {api:BallerinLinuxAPI} function 'helloWorld' is called ...
0
votes
0
answers
61
views
How to Measure Test Coverage for WSO2 Micro Integrator XML-based Artifacts?
I’ve recently moved from a Java/Spring Boot stack where I used tools like JaCoCo for code coverage to working with WSO2 Micro Integrator, where most of the integration logic is defined in XML-based ...
1
vote
0
answers
49
views
WSO2 Micro Integrator: Base64 SOAP Response to JSON Causes AxisFault "Error getting GZIP output stream"
I have a WSO2 Micro Integrator proxy that calls a WSDL endpoint. The response is a SOAP envelope containing a list of documents, each with a contents field that holds a Base64-encoded file. I extract ...
1
vote
1
answer
77
views
wso2 micro integrator : Compilation Takes a Long Time When Using Data Mapper in the Project
Building a project with data mapper takes too long and during the build process node and npm are downloaded and installed:
[INFO] Installing Node and NPM
[INFO] Scanning for projects...
[INFO]
[INFO] ...
0
votes
0
answers
49
views
WSO2 API Error: "Invalid schema for content type application/json. Expected JSONObject, found JSONArray"
I am working with WSO2 API Manager / WSO2 EI and trying to fetch appointment data from two different APIs (Vodafone and TalkTalk). The Vodafone API returns a JSON array, while the TalkTalk API returns ...
0
votes
1
answer
53
views
WSO2 EI: MalformedUriTemplateException in Call Mediator with Dynamic URL
I am trying to iterate over a list of APIs, extract tokenEndpoint, client_id, and client_secret, and make a GET request to fetch a token using WSO2 EI. However, I am facing a deployment error when ...
0
votes
1
answer
71
views
WSO2 MI: XPathSyntaxException in PayloadFactory using json-eval()
I'm working with WSO2 Micro Integrator (WSO2 MI) and trying to iterate over a JSON payload to extract values dynamically. However, I'm encountering the following error when using json-eval() inside a ...
0
votes
1
answer
64
views
WSO2 Micro Integrator Value type miss match, Expected value type - 'dateTime', but found - 'STRING'
I have problem with WSO2 micro integrator: I have a dataservice with a method for saving data to the database. I pass data to the method via payload factory :
<payloadFactory media-type="json&...
0
votes
1
answer
69
views
Error when retrieving data from DB using dataservice in WSO2 MI
I am getting below error while fetching data from database using data service.
It was working but suddenly throwing below error. Please help to resolve this error & what might be the reason for ...
0
votes
1
answer
261
views
Using script mediator in WSO2 Micro Integrator 4.3
I have an inbound-endpoint that retrieves messages from a RabbitMQ queue and then triggers a sequence. In this sequence, I want to use the script mediator to run a JavaScript script.
However, I’ve ...
0
votes
1
answer
312
views
Error while launching run and debug: Build process failed - wso2 micro integrator with Visual Studio
I have installed WSO2 MI and Visual Studio by follows WSO2 official site
I am trying the simple "Helloworld" service as instructed in WSO2 Quick reference
After designing the project, I am ...
0
votes
1
answer
119
views
WSO2 Micro Integrator: 400 Bad Request Error While Calling API via <call> Mediator
I am using WSO2 Micro Integrator to call a native API that works successfully when tested directly via Postman, returning a 200 status code. However, when calling the same API through the Micro ...
1
vote
1
answer
168
views
Get value of header in WSO2 Micro Integrator endpoint response
We have an HTTP endpoint of WSO2 Micro Integrator. This mediator points to an REST API that returns a 201 message with a validation token (it is a login sequence). The token is not included in the ...
0
votes
1
answer
67
views
WSO2 Inbound endpoint with dynamic parameter
By providing the static values into WSO2 inbound endpoint it works fine as in the below given example.
Looking for a solution that will dynamically pick the value from configuration (i.e. from ...
0
votes
1
answer
70
views
How to handle text/event-stream response in WSO2 Micro Integrator?
I am using WSO2 Micro Integrator to call an external API that responds with text/event-stream. I need to know if the WSO2 Micro Integrator supports processing text/event-stream responses.
Does WSO2 ...
0
votes
1
answer
111
views
WSO2 File Inbound endpoint error - org.apache.commons.vfs2.FileSystemException: Could not determine the type of file
I am trying to use inboundEndpoint for read files in the FTP location and that location contains files with the .swf extension.
Below is the my inbound endpoint
<?xml version="1.0" ...
0
votes
1
answer
100
views
How to Disable HTTP Access Logs in WSO2 Micro Integrator
I am currently using WSO2 Micro Integrator and I'm looking to completely disable HTTP access logs to optimize performance and reduce unnecessary I/O operations.
I have tried several configurations but ...
0
votes
1
answer
65
views
Drastic Throughput Reduction with ScriptMediator in WSO2 Micro Integrator 4.2.0
I am currently using WSO2 Micro Integrator 4.2.0, and during my performance testing, I have encountered a significant reduction in throughput when using the ScriptMediator in my flow.
Without the ...
0
votes
2
answers
313
views
Converting XML Records to JSON Using XSLT Transformation - Issue with Number Formatting
I'm working on a project where I fetch data from a database using a stored procedure. The data is returned in XML format like this:
<record>
<field name="ID">8f7e-...
0
votes
1
answer
253
views
How to remove <?xml version='1.0' encoding='UTF-8'?> tag from the dss output in WSO2 MI
I have to iterate the DB result.
I used dss to fetch the data from the DB. Now results are coming in a xml format. But my flow is not entering into the iterate mediator. I tried with xpath online tool ...
0
votes
2
answers
272
views
wso2 custom class mediator database connection issue and external jar not picking
In wso2 integration studio i created api with custom class mediator .Class mediotor i have configured loggers and jdbc connection .while running api class mediator is picking and logs are showing in ...
1
vote
1
answer
101
views
Pass query parameters to wso2 dss service
I want to get categories from a table by passing limit and offset.
I added this query into the dss like below.
<resource method="GET" path="permission-categories?offset={offset}&...