Re: Consuming a webservice from a class library
- From: Dan B.
- Date: Tue, 02 Jan 2007 15:39:09 -0800
Preben,
I encountered the exact same situation as you, and was puzzled why the webservice wasn't available at design time.
I think it has to do with the Settings.Designer.cs file that is auto generated for the project/class library. It is located under your projects Properties->Settings.settings. It contains the code that reads the app.config for the url to the webservice and places the code under the old namespace. When you change namespaces, the Settings.Designer.cs class doesn't get updated.
Good luck to you, and anyone else having this problem.
-d
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com
.
Relevant Pages
- Re: Large Database Tables
... the exact solution depends highly upon your exact ... but try and avoid webservice and dataset mix. ... Setup a relation on the cached dataset, setup a relation, do a get ... and return the childrows collection as a wrapped business object ... (microsoft.public.dotnet.framework.adonet) - Re: Busted Debian install?
... If that's true what is the exact ... command I would need to type in at the grub prompt? ... If it did grub I have a chance but if it is lilo I am out of luck ... (comp.os.linux.setup) - Re: I need some help lowering my AC in the mid-game
... > black puddings, is to manage luck. ... The key is knowing the exact list of results (nothing, golden glow, ... and when crowning becomes possible. ... It's hard because you can leave the altar to fetch a monster, ... (rec.games.roguelike.nethack) - Re: sql server info
... Good luck. ... :-) Unless you've got a vanilla RTM or exact SP installation, ... (microsoft.public.sqlserver.server) - Re: A Different Take On Recent Spygate Events
... discovered 24 other NFL teams doing the exact same things..? ... Keep pushing your luck, cheatin' cuntie.....you'll soon feel the wrath of one of the most respected & powerful Pennsylvanian political leaders crushing the entire Patsy Universe under his boot.......we dont take kindly to liars & cheaters in the proud state of PA. ... (alt.sports.football.pro.ne-patriots) |
|