Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 67556 invoked from network); 21 Apr 2008 19:24:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Apr 2008 19:24:10 -0000 Received: (qmail 73684 invoked by uid 500); 21 Apr 2008 19:24:08 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 73661 invoked by uid 500); 21 Apr 2008 19:24:08 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 73649 invoked by uid 99); 21 Apr 2008 19:24:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2008 12:24:08 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of virtuallight@hotmail.com designates 65.54.246.77 as permitted sender) Received: from [65.54.246.77] (HELO bay0-omc1-s5.bay0.hotmail.com) (65.54.246.77) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2008 19:23:13 +0000 Received: from BAY121-W9 ([207.46.10.44]) by bay0-omc1-s5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 21 Apr 2008 12:23:32 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_37ca4be3-2616-45e4-b833-cec57dbb827b_" X-Originating-IP: [198.185.18.207] From: Virtual Light To: Subject: JAX-WS webservice deployment Date: Mon, 21 Apr 2008 19:23:32 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 21 Apr 2008 19:23:32.0856 (UTC) FILETIME=[30056F80:01C8A3E5] X-Virus-Checked: Checked by ClamAV on apache.org --_37ca4be3-2616-45e4-b833-cec57dbb827b_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a question about deploying JAX-WS webservices. I generated and depl= oyed the simple sample jax-ws calculator and looked at what it had generate= d and what was deployed and in the simple case this will work fine. In my = case I have a JAX-WS webservice for which I am supplying a web.xml file as = I have entries for other servlets and parameters. In this case it does not= appear that the web service is being deployed. Is it up to me in the case= where I am supplying the web.xml file to make the servlet entries for the = webservice? When I tried this I received various faults. I am using WebSp= here CE which is Geronimo hard wired with tomcat. I did provide a geronimo= deployment descriptor which is listed below along with the web.xml. The c= ontaining project is a Dynamic web project created in eclipse 3.3 Europa wi= th a war file being the artifact. No EAR association. I have not been abl= e to find anything definitive on what is needed. Any help appreciated. =20 default TestProfret1 2.0 war /TestProfRet1 TestProfRet1 EWSHttpMonServlet EWSHttpMonServlet com.elsevier.webservices.jws.ews.common.servlet.EWSH= ttpMonServlet applicationName Profile Retrieval Service initWebService true 2 =20 ApplicationState ApplicationState com.elsevier.webservices.ews.common.servlet.ApplicationStateServlet= WSTest WSTest com.elsevier.webservices.ews.common.servlet.WSTestServlet =20 ApplicationState /admin/applicationState WSTest /test/* EWSHttpMonServlet /admin/httpmon =20 index.html index.htm index.jsp default.html default.htm default.jsp =20 SERVICE_CLASS java.lang.String com.elsevier.webservices.retrieval.profile.service= .ProfileRetrievalService =20 CONTEXT_CLASS java.lang.String com.elsevier.webservices.ews.common.context.EWSCon= text =20 LOGGER_CHOICE java.lang.String com.elsevier.edit.common.logging.Logger =20 IGNORE_HEADER java.lang.Boolean true =20 INSTRUMENTATION_FACTORY java.lang.String com.elsevier.edit.common.instrumentation.Instrumen= tation =20 com.lxnx.sysman.smapi.initializer.SysmanInitializer= Listener SmapiDebugLevel DEBUG SYSMAN_CONFIG_FILE /WEB-INF/SysmanConfig.xml index.html index.htm index.jsp default.html default.htm default.jsp Regards, Bill --_37ca4be3-2616-45e4-b833-cec57dbb827b_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a questio= n about deploying JAX-WS webservices.  I generated and deployed the si= mple sample jax-ws calculator and looked at what it had generated and what = was deployed and in the simple case this will work fine.  In my case I= have a JAX-WS webservice for which I am supplying a web.xml file as I have= entries for other servlets and parameters.  In this case it does not = appear that the web service is being deployed.  Is it up to me in the = case where I am supplying the web.xml file to make the servlet entries for = the webservice?  When I tried this I received various faults.  I = am using WebSphere CE which is Geronimo hard wired with tomcat.  I did= provide a geronimo deployment descriptor which is listed below along with = the web.xml.  The containing project is a Dynamic web project created = in eclipse 3.3 Europa with a war file being the artifact.  No EAR asso= ciation.  I have not been able to find anything definitive on what is = needed. Any help appreciated. 

<?xml version=3D"1.0" encod= ing=3D"UTF-8"?>
<web-app xmlns=3D"http://geronimo.apache.org/xml/n= s/j2ee/web-1.1" xmlns:nam=3D"http://geronimo.apache.org/xml/ns/naming-1.1" = xmlns:sec=3D"http://geronimo.apache.org/xml/ns/security-1.1" xmlns:sys=3D"h= ttp://geronimo.apache.org/xml/ns/deployment-1.1">
  <sys:envi= ronment>
    <sys:moduleId>
   = ;   <sys:groupId>default</sys:groupId>
  = ;    <sys:artifactId>TestProfret1</sys:artifactId&g= t;
      <sys:version>2.0</sys:version= >
      <sys:type>war</sys:type>=
    </sys:moduleId>
  </sys:environment= >
  <context-root>/TestProfRet1</context-root>
&l= t;/web-app>



<?xml version=3D"1.0" encoding=3D"UTF-8"?&= gt;
<web-app xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" = xmlns=3D"http://java.sun.com/xml/ns/javaee" xmlns:web=3D"http://java.sun.co= m/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation=3D"http://java.sun.com/= xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id=3D"WebA= pp_ID" version=3D"2.5">
  <display-name>TestProfRet1</d= isplay-name>
       <servlet>
 = ;       <display-name>
   =     EWSHttpMonServlet</display-name>
  &= nbsp;     <servlet-name>EWSHttpMonServlet</servlet-= name>
        <servlet-class>com.= elsevier.webservices.jws.ews.common.servlet.EWSHttpMonServlet</servlet-c= lass>
        <init-param>
&nb= sp;           <param-name>app= licationName</param-name>
        &n= bsp;   <param-value>Profile Retrieval Service</param-val= ue>
        </init-param>
&nbs= p;       <init-param>
    =         <param-name>initWebService</= param-name>
            = <param-value>true</param-value>
     &nb= sp;  </init-param>
        <= load-on-startup>2</load-on-startup>
    </ser= vlet>
 
    <servlet>
  &nb= sp;     <display-name>
     &nb= sp;  ApplicationState</display-name>
     = ;   <servlet-name>ApplicationState</servlet-name>
=         <servlet-class>
  =       com.elsevier.webservices.ews.common.servlet.Appli= cationStateServlet</servlet-class>
    </servlet= >
    <servlet>
     &nbs= p;  <display-name>
        WSTe= st</display-name>
        <servle= t-name>WSTest</servlet-name>
      &nb= sp; <servlet-class>
        com.else= vier.webservices.ews.common.servlet.WSTestServlet</servlet-class>
=     </servlet>
   
  &= nbsp; <servlet-mapping>
        <= servlet-name>ApplicationState</servlet-name>
   =     <url-pattern>/admin/applicationState</url-patt= ern>
    </servlet-mapping>
   = ; <servlet-mapping>
        <serv= let-name>WSTest</servlet-name>
      &= nbsp; <url-pattern>/test/*</url-pattern>
    = </servlet-mapping>
    <servlet-mapping>
&= nbsp;       <servlet-name>EWSHttpMonServlet&= lt;/servlet-name>
        <url-patte= rn>/admin/httpmon</url-pattern>
    </servlet= -mapping>
   
    <welcome-file-= list>
    <welcome-file>index.html</welcome-f= ile>
    <welcome-file>index.htm</welcome-fil= e>
    <welcome-file>index.jsp</welcome-file&= gt;
    <welcome-file>default.html</welcome-file= >
    <welcome-file>default.htm</welcome-file= >
    <welcome-file>default.jsp</welcome-file= >
  </welcome-file-list>
 
    =   <env-entry>
        <env-e= ntry-name>SERVICE_CLASS</env-entry-name>
    &nb= sp;   <env-entry-type>java.lang.String</env-entry-type&g= t;
        <env-entry-value>com.else= vier.webservices.retrieval.profile.service.ProfileRetrievalService</env-= entry-value>
    </env-entry>
  &nb= sp;
    <env-entry>
     &n= bsp;  <env-entry-name>CONTEXT_CLASS</env-entry-name>
&n= bsp;       <env-entry-type>java.lang.String&= lt;/env-entry-type>
        <env-ent= ry-value>com.elsevier.webservices.ews.common.context.EWSContext</env-= entry-value>
    </env-entry>
  &nb= sp;
    <env-entry>
    &nb= sp;   <env-entry-name>LOGGER_CHOICE</env-entry-name><= br>        <env-entry-type>java.la= ng.String</env-entry-type>
      &nb= sp; <env-entry-value>com.elsevier.edit.common.logging.Logger</env-= entry-value>
    </env-entry>
  &nb= sp;
       <env-entry>
  &n= bsp;     <env-entry-name>IGNORE_HEADER</env-en= try-name>
        <env-entry-ty= pe>java.lang.Boolean</env-entry-type>
    &= nbsp;   <env-entry-value>true</env-entry-value>
&n= bsp;   </env-entry>
   
  &= nbsp; <env-entry>
        <env-en= try-name>INSTRUMENTATION_FACTORY</env-entry-name>
  &= nbsp;     <env-entry-type>java.lang.String</env-ent= ry-type>
        <env-entry-value>= ;com.elsevier.edit.common.instrumentation.Instrumentation</env-entry-val= ue>
    </env-entry>
   
&= nbsp;   <listener>
      &= nbsp; <listener-class>com.lxnx.sysman.smapi.initializer.SysmanInitial= izerListener</listener-class>
    </listener>=
    <context-param>
    &nb= sp;  <param-name>SmapiDebugLevel</param-name>
 &nb= sp;     <param-value>DEBUG</param-value>    </context-param>
    <contex= t-param>
       <param-name>SYSMA= N_CONFIG_FILE</param-name>
       &l= t;param-value>/WEB-INF/SysmanConfig.xml</param-value>
 &nb= sp;  </context-param>
  <welcome-file-list>
&nb= sp;   <welcome-file>index.html</welcome-file>
&nbs= p;   <welcome-file>index.htm</welcome-file>
 =    <welcome-file>index.jsp</welcome-file>
 &n= bsp;  <welcome-file>default.html</welcome-file>
 &= nbsp;  <welcome-file>default.htm</welcome-file>
 &= nbsp;  <welcome-file>default.jsp</welcome-file>
  = </welcome-file-list>
</web-app>

Regards,
Bill
<= /div> = --_37ca4be3-2616-45e4-b833-cec57dbb827b_--