On Feb 6, 2008 3:28 PM, Raymond Feng <[EMAIL PROTECTED]> wrote: > Hi, > > When we run a Tuscany application with binding.ws in the J2SE (w/ embedded > Jetty or Tomcat), the base URI of the service binding is > http://locahost:<port>/. If we package the same artifacts into a WAR and > deploy it to a web container such as Tomcat, the base URI becomes > http://localhost:<port>/<context-root>/. The context root is usually the > name of the web application. > > IIRC, this is a known issue. Now I try to automate the itests under both the > J2SE and Web environment. This URI inconsitency is blocking me from reusing > the itests with binding.ws. > > Should we (somehow) add the "context-root" to the service URI in the J2SE > with embedded Tomcat/Jetty case?
+1 as consistency is always good. As a workaround, can we use the URI attribute of the binding to force same URI in both Standalone and WebApp host-environment. > > Thanks, > Raymond > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
