0
How to make the below SOAP call using Feign-reactive

Response soapCall(Request request){
    JAXBElement<Response> responseJAXBElement =
                     (JAXBElement<Response>) getWebServiceTemplateCustom().marshalSendAndReceive(
                                "https://url.com",
                                objectFactory.createRichiediInquiry(request));
return responseJAXBElement.getValue();
}

I have the below dependency in my springboot module

    <groupId>com.playtika.reactivefeign</groupId>
    <artifactId>feign-reactor-webclient</artifactId>

Is there a way to make SOAP call and get Reactive response using feign-reactor? Feign-reactor supports SOAP communication as well as mutual authentication protocol? If so, how to achieve something like this?

Mono<Response> soapCall(Request request){
    //Make SoapCall here
return Mono.just(response);
}

If this cant be achieved, please suggest any other library to handle SOAP communication with mutual authentication via reactive api(webflux)

Learner
  • 5
  • 2

0 Answers0