Thanks Simon, I have removed jetty module and added host-webapp module. But when I use ?wsdl,throws 404 not found the page error.
My config file like this: web.xml <filter> <filter-name>tuscany</filter-name> <filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class> </filter> <filter-mapping> <filter-name>tuscany</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> helloworld.composite <component name="HelloWorldServiceComponent"> <implementation.java class="com.primeton.sca.ws.service.HelloWorldImpl" /> <service name="HelloWorldServicew"> <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)" /> <binding.ws uri="http://localhost:8080/tmp/HelloWorldService"/> </service> </component> Application Server: tomcat Application port:8080 Application contextpath:tmp When I use the url http://localhost:8080/tmp/HelloWorldService?wsdl ,throws 404 error. I debug the code and found the registered servlet mapping uri is '/tmp/HelloWorldService', but when getting the servlet in TuscanyServletFilter,the inputted uri is '/HelloWorldService', thus not found the registered RequestDispatcher. Thanks, wangfeng On 2008-01-04, Simon Nash <[EMAIL PROTECTED]> wrote: >Yes, you can do that. If this is a webapp deployment, you can omit host-tomcat >and host-jetty from the embedded Tuscany runtime in the webapp, and include >host-webapp instead. This will automatically use the port exposed by the >webapp container. > > Simon > >wang feng wrote: > >> Hi,all >> >> I use tuscany on the application server such as jboss or weblogic or >> websphere, but I have a question when I use web service binding. >> >> When deploying a service to webservice through webservice binding,should I >> must include the module tomcat or jetty? Can I use the application server's >> servelet mapping and not use the build-in tomcat or jetty module? >> >> Thanks >> Wang Feng >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]