This content has been marked as final.
Show 2 replies
-
1. Re: Changed webservice context behavior in 4.0.3?
anders.hedstrom Nov 24, 2005 11:36 AM (in response to borje.jonsson)In your EJB's jboss.xml file.
ex.<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd"> <jboss> <enterprise-beans> <session> <ejb-name>MySLSB</ejb-name> <port-component> <port-component-name>SLSBWS</port-component-name> <port-component-uri>/ws/*</port-component-uri> </port-component> </session> </enterprise-beans> </jboss>
Cheers
//Anders -
2. Re: Changed webservice context behavior in 4.0.3?
borje.jonsson Nov 25, 2005 10:05 AM (in response to borje.jonsson)Thank yoy for the tip, but this only works for the first session bean. If i have several session beans with the first part of the uri the same in all beans, only the last bean is visible.
Example:.... <ejb-name>SecurityBean</ejb-name> <port-component> <port-component-name>SecurityService</port-component-name> <port-component-uri>/ws/secutity/*</port-component-uri> </port-component> ...
and.... <ejb-name>TrackingBean</ejb-name> <port-component> <port-component-name>TrackingService</port-component-name> <port-component-uri>/ws/tracking/*</port-component-uri> </port-component> ...
only the last deployed webservice is possible to use. The first service is deployed, but gives an error on invocation.
/Börje