Hi Luciano, Thanks for your quick response !!
Following is the issue/requirement pointed out in the discussion thread (http://www.mail-archive.com/dev%40tuscany.apache.org/msg02806.html) calculator-ws-webapp: The sample runs, but the need to change the hardwired port in the Calculator.composite file for installations that don't use port 8080 is a usability issue that needs to fixed. It should be possible to create a WAR that can be deployed to different port numbers without needing to be changed. So please correct me if I am wrong but my understanding is to make the port configurable. I also tried testing using relative URI path something like "<binding.ws uri="/sample/....". But it also didn't work. I have changed the default port of my tomcat to 8081 and if I hard code it inside the composite file, it works well but it doesn't work in the other case. Thanks, Dhaval > Date: Mon, 20 Oct 2008 10:37:49 -0700 > From: [EMAIL PROTECTED] > To: dev@tuscany.apache.org > Subject: Re: How to make hard wired port number configurable for the > binding.ws ? > > Do we really need to make the port number configurable, or is this a > question of documenting how and where to change if you have a > application server using a different port ? > > A different option would be to check what happens if you set the URI > as a relative path, so, instead of setting > uri="http://localhost:8080/sam.." you could test uri="/sam...", this > should work as well. > > On Mon, Oct 20, 2008 at 10:28 AM, Dhaval Chauhan > <[EMAIL PROTECTED]> wrote: > > I am investingating the TUSCANY-2639 > > (https://issues.apache.org/jira/browse/TUSCANY-2639) for fixing the samples. > > > > There is an issue pointed out for the calculator-ws-webapp sample where it's > > required to make the hard wired port inside the Calculator.composite) file > > configurable. > > > > I went through the documentation of the binding.ws but couldn't find how to > > achieve this. > > > > Does anybody have any idea/suggestions about where to look at or how to > > solve this issue? > > > > Thanks, > > Dhaval > > > > ________________________________ > > When your life is on the go—take your life with you. Try Windows Mobile(R) > > today > > > > -- > Luciano Resende > Apache Tuscany, Apache PhotArk > http://people.apache.org/~lresende > http://lresende.blogspot.com/ _________________________________________________________________ When your life is on the go—take your life with you. http://clk.atdmt.com/MRT/go/115298558/direct/01/