I know it's old but I'm having the same problem.
Impossible to fix as now I think all the XML/JSON etc examples are all broken so no reference material at all.
Most written reference seem to be mainly about SOAP.