Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » How to use config.ini
How to use config.ini [message #1656774] Sat, 07 March 2015 17:31 Go to next message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 213
Registered: November 2014
Senior Member

Hi there.

I just went through the webservices tutorial. And there it says:
Quote:

Next, we have to configure the endpoint URL of the webservice which is http://services.nexus6studio.com/StockQuoteService.asmx. For the sake of convenience, we hard-code this URL by specifying the property URL in the Property View.
In real life, this would be done in config.ini to distinguish the different systems such as development, integration and production.


In this special case that led me to the question: How do I have to configure the Endpoint URL in the config.ini file?

Furthermore how can I define properties in the config.ini on my own? And how can I use them in my code? Is there some kind of "configuration by convention"?

Thanks,
Peter

[Updated on: Sat, 07 March 2015 17:41]

Report message to a moderator

Re: How to use config.ini [message #1661351 is a reply to message #1656774] Mon, 09 March 2015 15:43 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
If you want to call services setters, the pattern is something like that:
<qualified name of the class>#<setter name without set prefix>=<value>

The section delegation of the configuration to config.ini explains how a SQL Service can be configured from the config.ini.

Have you read this thread: How to access settings from config.ini?
Re: How to use config.ini [message #1661579 is a reply to message #1661351] Mon, 09 March 2015 17:53 Go to previous message
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 213
Registered: November 2014
Senior Member

thx a lot Smile

a search for "config.ini" didn't come up with this thread.
Previous Topic:Opening a MessageBox on form load.
Next Topic:Bug in Scout Explorer?
Goto Forum:
  


Current Time: Thu Apr 18 23:53:47 GMT 2024

Powered by FUDForum. Page generated in 0.02368 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top