SOAP Implementation in Forms Project

109 views Asked by At

I have a WSDL from the Shipping Service Hermes and want to use it with C#. I added the WSDL to my Project and can use the Functions within it.

(This is the WSDL link.)

I allready tried something like this but with no success:

HermesWeb.ProPS Prop;
HermesWeb.HermesLogin HermesLogin = new HermesWeb.HermesLogin();
HermesLogin.benutzername = "***";
HermesLogin.kennwort = "***";
HermesWeb.propsUserLogin Login = new HermesWeb.propsUserLogin(HermesLogin);
Prop = new HermesWeb.ProPSClient();
Prop.propsUserLogin(Login);

Am I doing it completely wrong? I must say I'm a newbie at WSDL. When I Google it I get tutorials with XML and so on. Do I need XML? Doesn't adding it to my project already convert the XML to C# functions and variables?

The Error I get is:

Fault occurred while processing. Fault.Exception´1

0

There are 0 answers