Fixed memory leaks
Fixed WSDL parsing