how to modify Proxy Web Service RRS feed

  • Question

  •   //CAll Service
                    AirLowFareSearchBinding binding = new AirLowFareSearchBinding();
                    binding.Url = STPStaticData.Credentials.TP_PreProduction_API;

                    binding.Credentials = new NetworkCredential(STPStaticData.Credentials.TP_UserName, STPStaticData.Credentials.TP_Password);

                    //***********Service Call***************//

                    LowFareSearchRsp response = binding.service(request);

                    //***********Service Call***************//         

    In above code  I want to add a header Message like "Authorisation:sdf876fd8678ssd";

    we can do it with HttpWebREquest;

    but I do not know how to add this Message in about request.

    here soap  base web service is calling using proxy class..

    can i edit proxy class???


    Arpan Shah

    Monday, December 9, 2013 6:35 AM


All replies