Forum Discussion

Sachin_Sawe's avatar
Sachin_Sawe
Contributor
16 years ago

How to make sure Bindings definitions retain property references?

Hi Ole,

In a typical project one would test web services for, say
1. dev
2. qa
3. prod

urls. What I would like to do is keep a urlPrefix variable at Project level. this can then be accessed via ${#Project#urlPrefix}. This way I can change this urlPrefix on project and point to either dev, qa or prod url. in my bindings I want to use this variable thereby I use syntax like
${#Project#urlPrefix}/service/myservice?wsdl in my binding defintion. But what happens is this reference to urlPrefix variable is retained only for first time. the next time I click on "update definition". the url shows the actual value of urlPrefix. This totally defeats the purpose of not having to change url specified in update definition text box.

any idea how to resolve this?

btw, don't know if you read in another thread but I have a new post
http://onebyteatatime.wordpress.com/200 ... in-groovy/

Regards,
Sachin

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Sachin,

    the latest nightly build should retain the the property-expansions as you desire, please let me know if you are still having issues with this.

    regards,

    /Ole
    eviware.com