Code sample for a SOAP api