Discussions
XML Response in jibberish
Hey guys. When integrating with third party webservice with NetSuite, has anyone seen an text/xml response out like this:
x����S�H �ŵ߹����\�d[ � �C � � �_�6 ��od �۽ Yш ��RG.�z�۞�{���� f���p� /��� � �V � ���|����~����?�?͆��Uw��]�W�ϟn�e4[�|���]�ީ_������h ���zy7XǏ0� .?�G�����q�X^}�}��~������?~�� ������ �h:�ZG��� ��� t�]��b���W���0W0����K���t����~���C��������w c ���מ�h0X��G����&�evQ^�mj� ?���? /~ȩzH�Sm��ˤ 9Z
Every other request i make to this third party platform which uses XML-RPC returns correctly formatted xml that i can use nlapiStringToXML against. But when ever it returns an Array, it returns above. I think it's returning an actual array object but just don't know how to cast this or deserialize this back to JavaScript Array... Any thoughts? Assistance?