What was the solution? I have the same problem.  

I have a dead simple web.xml:
<web-app>
  |     <display-name>UMI</display-name>
  |     <description>UMI web service interfaces</description>
  |     <servlet>
  |         <servlet-name>TEST</servlet-name>
  | 
<servlet-class>org.rajsingh.umi.service.client.BasetableService</servlet-class>
  |     </servlet>
  |     <servlet-mapping>
  |         <servlet-name>TEST</servlet-name>
  |         <url-pattern>/test</url-pattern>
  |     </servlet-mapping>
  | </web-app>


and a very basic test servlet:
public class BasetableService extends HttpServlet {
  |     @Override
  |     protected void doGet(HttpServletRequest req, HttpServletResponse res) 
throws ServletException, IOException {
  |             doXMLResponse("<msg><content>Hello EJB!</content></msg>", res);
  |     }
  | 
  |     public static void doXMLResponse(String xml, HttpServletResponse res) 
throws IOException {
  |             res.setContentType("text/xml");
  |             res.getWriter().write(xml);
  |             res.getWriter().close();
  |     }
  | }

and here's the war file listing:
META-INF/
META-INF/MANIFEST.MF
org/
org/rajsingh/
org/rajsingh/umi/
org/rajsingh/umi/service/
org/rajsingh/umi/service/BasetableService.class
WEB-INF/
WEB-INF/web.xml


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006682#4006682

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006682
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to