Working on SOAP, but I don't think it's working the way it should be