Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [wso2-msf4j]

WSO2 Microservices Framework for Java is an Open Source framework for developing & running microservices. Creates secure, high-performance microservices that support container-based deployments.

1 vote
0 answers
411 views

msf4j request threws an exception Error in http connector listener

I have created a microservice using msf4j framework and configured the postgres database using Hibernate jpa and started the server. I could able to do post/get operation successfully but in the ...
Ramachandran Elumalai's user avatar
0 votes
2 answers
93 views

msf4j JWTAccessTokenBuilder threws ClassNotFoundException

I am running wso2is Version 5.7 and tried to implement a TokenGenerator based on msf4j JWTAccessTokenBuilder. My identity.xml includes <IdentityOAuthTokenGenerator>com.wso2.jwt.token....
csbrogi's user avatar
  • 529
1 vote
1 answer
237 views

MSF4J POST method receiving partial data

I'm new to MSF4J and I need to write a REST API that accepts a large XML data through POST. I am using request.getMessegeBody() method to get the data. I discovered that it's now deprecated but I ...
Piaget Hadzizi's user avatar
0 votes
3 answers
125 views

msf4j support for cors

I created a microservice using MSF4J and tested the resources with postman all works fine but when I use it with a Angular 5 client app; the browser sends an additional http OPTIONS request to check ...
shalini's user avatar
0 votes
1 answer
189 views

Is it possible to deserialize RFC3339 full-date field of an request json body to some java date class within msf4j application?

I wonder if it is possible to deserialize RFC3339 full-date field of an request json body to some java date class within msf4j application? My model looks like: class Model { java.util.Date date; ...
uanacau's user avatar
  • 63
0 votes
0 answers
137 views

WSO2- MSF4J to parse XML dynamically

I am in a requirement to develop a middleware API on MSF4J framework which shoudl be able to accept XML as input and send a transformed XML back to client? Could see examples with json as input like ...
Maadavan's user avatar
0 votes
1 answer
101 views

msf4j Runnable/Thread

I try to make my msf4j jar become runnable (public class abcService implements Runnable, Microservice) When i deployed the jar to wso2 msf4j container, the runnable part is not working as "Main ...
GOAT_Dirk's user avatar
0 votes
1 answer
287 views

how to develop msf4j-apps and deploy them in wso2ei

the about-page of wso2ei 6.1.1 (https://docs.wso2.com/display/EI611/About+this+Release) mentioned the possibility to develop and especially to deploy msf4j apps in wso2ei: From WSO2 EI 6.1.0 ...
Martin Richardt's user avatar
0 votes
0 answers
251 views

WSO2 MSF4J receive large data in @Post

We are using wso2 microservice engine as middleware between WSO2 EI and DB. The target chain MQ->WSO EI->msf4j->DB. DTO which is transfered - formatted xml string which basically shouldn't be parsed ...
PVN's user avatar
  • 21
0 votes
1 answer
151 views

WSO2MB doesnot work in spring boot

I am trying to use WSO2MB in spring boot, but the maven is not able to download the dependencies like andes-client-3.1.1.jar. It is working fine when I use msf4j. Is it not possible for spring-boot ...
Manish Kumar's user avatar
  • 7,011
1 vote
1 answer
132 views

MSF4J integration test

Do we have any library for integration test with MSF4J, like we have one for spring boot? If someone knows about some sample library in github, would be of great help. Thanks, Manish
Manish Kumar's user avatar
  • 7,011
0 votes
1 answer
176 views

How to use exception mapper for exceptions thrown from interceptors in MSF4J

I added a authorisation module in interceptor, and tried to use exception mapper to throw 401 status code, but even if it is scanning my exception mapper, it is not using it in runtime. @Component ...
Manish Kumar's user avatar
  • 7,011
0 votes
2 answers
98 views

spring custom scan in msf4j

I have an msf4j application in package com.a.sample1 and I want to scan some component in com.a.sample2. Is there a way to do it in msf4j? I am using: public static void main(String[] args) { ...
Manish Kumar's user avatar
  • 7,011
0 votes
0 answers
77 views

msf4j spring retrieve token through rest template

I am trying to retrieve token from WSO2 identity server, based upon the username and password received from UI. I am able to do it from the below curl command: curl -v -k -X POST --basic -u ...
Manish Kumar's user avatar
  • 7,011
0 votes
0 answers
60 views

msf4j oauth2-security is throwing null pointer exception

When I am trying to validate the token, oauth2-security msf4j returns null pointer exception, without giving any more detail. On debugging it appears that getValidatedTokenResponse is returning empty ...
Manish Kumar's user avatar
  • 7,011

15 30 50 per page