Add Header to the Simple Web Service Request

前端 未结 2 852
天命终不由人
天命终不由人 2021-01-14 08:11

I have a Console application, I add a Web reference simply by write click and use \"Add Service Reference\", then my .Config file changed to:



        
2条回答
  •  滥情空心
    2021-01-14 09:03

    For add static header simply can add in .config file endpoint part so change endpoint to:

    
        
            
                
                    user
                    password
                
            
        
    
    

提交回复
热议问题