Daniel Golesny wrote:
HI,


I have these Tags in a session bean: /****************************************************** * @ejb.bean name="TippKicker" * display-name="TippKicker GameBean" * description="Represents the Logik for the Game" * type="Stateless" * view-type="all" * @wsee.jaxrpc-mapping * local-part = "de.golesny.kick.ejb" * namespace-uri = "http://ejb.kick.golesny.de"; * * @wsee.port-component * description = "TippKicker" * displayName = "TippKicker" * name = "TippKicker" * * @ejb.interface * service-endpoint-class="de.golesny.kick.ejb.TippKickerService" * generate = "local,remote,service-endpoint" ********************************************************/


The webservices.xml is generated correctly except the <service-impl-bean>-Tag:

It is:
<port-component>
 ....
        <service-impl-bean>
                <ejb-link>TippKicker</ejb-link>
        </service-impl-bean>


But it should be: <port-component> ... <service-impl-bean> <servlet-link>TippKickerServlet</servlet-link> </service-impl-bean>


How can I get the servlet-link instead of the ejb-link Tag?



Thanks and Bye
Daniel


------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Daniel,

but you don't need it to be a swervlet. As you are using a session bean, you need to specify the EJB that it's associated with. As I understand it you only need to specify a servlet-link if its a POJO class that's offering the web service.

Assuming that this is correct, then the current action is ok. Unless of course, you want to use xdoclet to generate the tags for POJO webservices, which I don't seem to remember that it does.

--
cheers,

Bruce

Dr. Bruce Scharlau
Dept. of Computing Science
University of Aberdeen
Aberdeen AB24 3UE
01224 272193
http://www.csd.abdn.ac.uk/~bscharla
mailto:[EMAIL PROTECTED]


------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to