HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetTrainers HTTP/1.1
Host: www.magentatelekom-academy.at
Content-Type: application/xml
Content-Length: length
<GetTrainers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel">
<ClassId>0</ClassId>
<IsGuest>false</IsGuest>
</GetTrainers>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ArrayOfTrainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twi.Gt.Lms.ServiceModel.Types">
<Trainer>
<Email>String</Email>
<Firstname>String</Firstname>
<IsGuest>0</IsGuest>
<Lastname>String</Lastname>
<TrainerId>0</TrainerId>
<UserId>0</UserId>
</Trainer>
</ArrayOfTrainer>