If you use wsdl.exe to generate the proxy class the class has a credentials property you can set to a network credentials
Authorization - WSDL File, Proxy class in C#
Hello,
I have received a WSDL file from a customer. With this I have created a proxy class via WSDL. --> IO
The server must be connected via Authorization.
I don't see anything there. How can I make the connection via Authorization?
The proxy class is quite complex. I need only 2 requests.
Is there any way I can best create the request. There is no support from the customer.
The alternative would be to create it myself via XDocument, which I am not in favor of.
private void btnOrderData_Click(object sender, EventArgs e)
{
using (PDXCSMEService danS = new PDXCSMEService())
{
//danS .Url = "";
// danS.Auto....???
Windows development | Internet Information Services
Windows for business | Windows Server | User experience | Other
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Developer technologies | ASP.NET Core | Other
A set of technologies in .NET for building web applications and web services. Miscellaneous topics that do not fit into specific categories.