Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM and SOAP services
Message
 
General information
Forum:
ASP.NET
Category:
SOAP
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01624986
Message ID:
01624988
Views:
52
>>I'm trying to create a COM that uses external Web service (SOAP) to send and receive XML file.
>>But when I try to connect to Service reference get an Exception:
>>
>>Could not find endpoint element with name 'Pril9Soap' and contract 'SendPril9.Pril9Soap' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element.
>>

>>
>>In app.config I have:
>>
>><?xml version="1.0" encoding="utf-8"?>
>><configuration>
>> <configSections>
>> </configSections>
>> <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup>
>> <system.serviceModel>
>>  <bindings>
>>   <basicHttpBinding>
>>    <binding name="Pril9Soap">
>>     <security mode="Transport" />
>>    </binding>
>>    <binding name="Pril9Soap1" />
>>   </basicHttpBinding>
>>  </bindings>
>>  <client>
>>   <endpoint 
>>    address="https://ebenefits.nssi.bg/iseodd_ws_docs/services/pril9.asmx" 
>>    binding="basicHttpBinding" 
>>    bindingConfiguration="Pril9Soap" 
>>    contract="SendPril9.Pril9Soap" 
>>    name="Pril9Soap"/>
>>  </client>
>> </system.serviceModel>
>></configuration>
>>
>>
>>Where is the error?
>>
>>BTW if this is NOT COM but regular windows form project I have no problems using this Service.
>>
>>TIA
>
>Does this help : http://blogs.msdn.com/b/bethmassi/archive/2007/10/24/using-my-settings-and-wcf-configuration-with-the-interop-forms-toolkit.aspx

Thank you!!!!
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform