Refrence.cs
is a generated file so changing it at any time is bad practice (see file header)
Refreshing web reference is regenerating this file according its properties. You got the code you see because your
URL Behaviour
is dynamic.
The code you see means that in your
web.config
file there is a part reads somesing like this:
<applicationsettings>
<drd.properties.settings>
<setting name="CoreBusiness_UbossProvisioning_ABC" serializeas="String">
<value>your service url goes here</value>
</setting>
</drd.properties.settings>
</applicationsettings>
If you want to change the url you should do it in the web.config file...
Regards
Peter