Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

WSE Config Options through Code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Raghu - 04 Oct 2005 18:20 GMT
I have a following app.config file (in client side code):

<?xml version="1.0" encoding="utf-8"?>
<configuration>
 <configSections>
   <section name="microsoft.web.services2"
type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration,
Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
 </configSections>
 <microsoft.web.services2>
   <security>
     <x509 verifyTrust="false" />
   </security>
   <diagnostics />
 </microsoft.web.services2>
</configuration>

The trouble is that it requires the EXE to be bound to
"microsoft.web.services2.dll". But my EXE is generic and does not bind to
any third party assemblies. So how can I get the same behavior through code
so that my EXE does not have to bind it to wse binary?

Thanks.
Raghu - 05 Oct 2005 20:51 GMT
I simply removed the reference and re-tried after retaining the changes in
the config file.

>I have a following app.config file (in client side code):
>
[quoted text clipped - 20 lines]
>
> Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.