users@glassfish.java.net

Re: JAX-WS Webservice endpoint uri

From: <glassfish_at_javadesktop.org>
Date: Mon, 15 Jun 2009 01:33:25 PDT

well, i try to write a discriptor in sun-web.xml like this
  <servlet>
    <servlet-name>CustomerService</servlet-name> <webservice-endpoint>
      <port-component-name>CustomerService</port-component-name>
      <endpoint-address-uri>/ws/CustomerServiceService</endpoint-address-uri>
  </servlet>
but it doesn't help.
this time gf generated descriptor like below
  <servlet-mapping>
    <servlet-name>CustomerService</servlet-name>
    <url-pattern>/CustomerServiceService</url-pattern>
  </servlet-mapping>
  <servlet-mapping>
    <servlet-name>CustomerService</servlet-name>
    <url-pattern>/ws/CustomerServiceService/__container$publishing$subctx/*</url-pattern>
  </servlet-mapping>
[Message sent by forum member 'shawnhuang' (shawnhuang)]

http://forums.java.net/jive/thread.jspa?messageID=351145