$authoriz = 'Basic '.encode_base64('passwd'); $webService->transport->http_request->headers->push_header('Authorization' => $authoriz);