Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

wcf client web.config

$
0
0

Hi!

 

One more doubt

 

I made one webservice on PB12.5.1 .Net that is calling 2 more webservices (3rd-party). 

 

When I created the wcf clients for those 2 webservice, PB created me 2 user objects with a constructor event that asigns (hard-code) the values of the binding, reader quotas, url, etc. etc., isn't supposed to get those values from the web.config of my principal webservice or webservice1.dll.config and webservice2.dll.config? how is this supposed to work?

 

I worked around creating an extra function to set the values each time I need to call a method (create in fact the proxy) of the webservice1 or webservice2. from app keys from my web.config, 'cause on debug time I realized that the proxy gets only the values from the constructor (default ones), and if I change those values (which I prefer to leave dynamic), I'm going to lose (overwrite) the values everytime I redeploy the wcf clients.

 

Need orientation.


Viewing all articles
Browse latest Browse all 2935

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>