Hi, there

I encounter a proble about accessing web service URL, the formal access address 
to deployed web service is http://host/ws4ee/services/..., but there is another 
addess we can get to which like this: http://host/{ejb_jar}/services/... 
(ejb_jar is the EJB jar file name). In this cause, the address will conflict 
with my other applications which address is also http://host/{ejb_jar}/...

I looked into this problem and found that a war application for ejb application 
has been built for web service accessing. The war application is hot deployed 
under 
D:\av.6.0\av.home\jboss-4.0.0\server\av.web\tmp\deploy\security.jar6044.war\, 
from its web.xml, we could get the root cause, see web.xml snippet below:

<web-app>
  
    <servlet-name>ejb/security/AuthenticationEJB</servlet-name>
    
<servlet-class>org.jboss.webservice.server.ServiceEndpointServletEJB</servlet-class>
    <init-param>
      <param-name>ws4ee-service-name</param-name>
      <param-value>AuthenticationService4WS</param-value>
    </init-param>
  
  <servlet-mapping>
    <servlet-name>ejb/security/AuthenticationEJB</servlet-name>
    <url-pattern>/*</url-pattern>
  </servlet-mapping>
</web-app>


So, this is auto deployed by JBoss, my question is how can I change the web 
service access URL that I expect?

Thank you in advance!


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870526


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to