No matching data format error on xml response

There is POST method API call which is responding with xml data. I am using http-connector in service task and trying to call that API .

using script as output parameter like S(response).

but getting error as undefined-SPIN-01004 No matching data format detected.

can anyone help me on this.