I am trying to create a soap communication between moodle and iphone. The question I want to ask is if i can get a response from moodle based an my wsdl.
For example moodle replies:
body:
<?xml version="1.0" encoding="UTF-8"?>
id3usernamekspiros2000firstnameSpyroslastnamekaravanisemailkspiros2000@hotmail.comauthmanualconfirmed1idnumberemailstop0langenthemetimezone99mailformat1descriptioncitysalaminacountryGR
I want a reply with document literal encoding
for example something like that:
<?xml version="1.0" encoding="UTF-8"?>
kspiros2000
How can I change the response encoding? In the request I do not have a problem because I cast it to object for example:
$params = self::validate_parameters(self::create_users_parameters(), array('users'=>(array)$users));