How to add soap basic auth request to WSDL
问题 How can I had soap AUTH BASIC auth to a WSDL, so who ever reads the WSDL knows I require that operation for a specific method ? 回答1: Using the example bellow I have managed to pass the SOAP basic autentication to the php webservice on the other end. The PHP.net/Soapclient has a simple working example, but in csharp I found this link to be a solution to my problem. link Michaelis.MockService is the Webservice library extracted you may see an example on how to do this in: link Mono project