Developping a new BrAPI service

You can see BrAPI documentation in

Return new call informations in the Calls service

The service Calls returns information from every Phis web services which are BrAPI compliant. So when you create a new BrAPI service, in order to retrieve your call information in the calls service, you need to follow these instructions:

register(new AbstractBinder() {
    protected void configure() {
        // create the session from the last sessionId received
        // Session injection thanks to the type defined in SessionInjectResolver
                .to(new TypeLiteral<InjectionResolver<SessionInject>>() {
        //Brapi services injection