Ask a Question related to ASP.NET Web Services, Design and Development.
-
Hans Malherbe #1
Setting "URL Behaviour" to "Dynamic" has no effect
Greetings
When I set the "URL Behaviour" of a web reference an entry is created
in the "Web.config", but the value in the "Web Reference URL" property
is still used.
When I look in the file "Reference.cs" I can see that "this.Url" is set
in the
constructor of the reference class to the hard coded value in the "Web
Reference URL". If I change this line in the generated code to read:
this.Url = ConfigurationSettings.AppSettings["Whatever.x"];
it takes the configured value and everything works. The only problem is
that "Update Web Reference" restores this to the original value.
Is there a sane way around this. I would like to have the dynamic
reference take the URL from the "Web.Config" and not change when I
update the web reference.
Thanks in advance
Hans
Hans Malherbe Guest
-
Proj cannot run on LCDS 2.6 ES due to "Unable to resolveresource bundle "datamanagement" for locale "en_US"
hi, all, We have developped an application on Flex Build 3 (run successfully), but failed when we try to deploy it on Tomcat with LCDS 2.5 ES... -
CFINPUT type="radio" w/ "value" requires "label"
On a Flash form, when you specify type='radio' and value='whatever', the value of the 'value' attribute will be displayed as a label if no 'label'... -
#26162 [NEW]: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!
From: zhuminglun at yahoo dot com dot cn Operating system: linux/win2000 PHP version: 4.3.4 PHP Bug Type: *General Issues... -
#26162 [Opn->Bgs]: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!
ID: 26162 Updated by: didou@php.net Reported By: zhuminglun at yahoo dot com dot cn -Status: Open +Status: ... -
"Start" "Program" "Menu" list is empty
For what ever reason my list of installed programs in my "Start" "Programs" menu is empty. Anyone know how to restore the list. Thanks for your... -
Hans Malherbe #2
Re: Setting "URL Behaviour" to "Dynamic" has no effect
Solved.
It seems that if the name of the web reference contains the word
"Static" the file "Reference.cs" will not get updated when you change
the behaviour from static to dynamic.
Groete
Hans
Hans Malherbe Guest



Reply With Quote

