Service call using http connector

I want to implement a service task using http connector (remote url) with request input parameter as XML (soap message) and response output parameter as JSON. Could you please throw light how this can be achieve ? Please provide any reference implementation which will help me.

Use the SOAP Connector to make your request:
https://docs.camunda.org/manual/7.7/reference/connect/soap-connector/

and when you receive your JSON response, use SPIN (https://docs.camunda.org/manual/7.7/reference/spin/json/01-reading-json/) to parse your JSON string into a JSON object.