"sasgon" wrote : in the case of /AAA/WebService it works!
|
actually, I think I see why it doesn't work in my case ...
| /** Denies access to the generic Axis way of accessing services
| *
| * /context-root/services/ServiceName
| *
| * J2EE web services are deployed within their own context-root that may
have authentication
| * requirements.
| */
| private boolean assertServiceAccess(HttpServletRequest req,
HttpServletResponse res)
| throws IOException
| {
| String contextPath = req.getContextPath();
| String requestURI = req.getRequestURI();
| String pathInfo = req.getPathInfo();
|
| if (requestURI.startsWith(contextPath + "/services/") &&
"/Version".equals(pathInfo) == false)
| {
| reportTrouble(new IllegalAccessException(requestURI), res,
res.getWriter());
| return false;
| }
|
| return true;
| }
How can I emulate old style deployment if I need to do that ?
I would like to have deployment /xxxx/services/MyServices!
Please, any suggestions ?
Thank You.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864324#3864324
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864324
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user