Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0"?>
- <configuration>
- <configSections>
- <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
- <section name="CockpitQCWSExtractor.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
- </sectionGroup>
- </configSections>
- <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
- <system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="Sellout_OBBinding">
- <security mode="Transport">
- <transport clientCredentialType="Basic" />
- <message clientCredentialType="UserName" algorithmSuite="Default" />
- </security>
- </binding>
- <binding name="Sellout_OBBinding1" />
- </basicHttpBinding>
- </bindings>
- <client>
- <endpoint address="https://dev.servereai30.server.com/XISOAPAdapter/MessageServlet?channel=B2B_MYENTERPRISE:PROJECT:SOAP_SND_MYENTERPRISE_Sellout"
- binding="basicHttpBinding" bindingConfiguration="Sellout_OBBinding"
- contract="SellOutWSDL.Sellout_OB" name="Sellout_OBPort" />
- </client>
- </system.serviceModel>
- </configuration>
- var wsRefa = new Sellout_OBClient();
- wsRefa.ClientCredentials.UserName.UserName = "<user>";
- wsRefa.ClientCredentials.UserName.Password = "<password>";
- wsRefa.Sellout_OB();
Add Comment
Please, Sign In to add comment