Webservices with EJB endpoints [message #141788] |
Mon, 03 October 2005 02:16 |
Eclipse User |
|
|
|
Originally posted by: lf_killspam.hemmis.be
Hello,
I tried to create a webservice based on an existing ejb with wtp 0.7 and
xdoclet. But when XDoclet ran, I noticed my Service Endpoint Interface
was not created, altough I specified the corresponding class in my
xdoclet definition using
@ejb.bean ...
view-type="all"
@ejb.interface service-endpoint-class="mypackage.MySEI"
My ejb-jar.xml was modified correctly, but no trace of the SEI. When I
checked out the file "templates/builder/xdoclet.xml" of the plugin
"org.eclipse.jst.j2ee.ejb.annotations.xdoclet" I noticed a missing task
for generating the SEI.
I just added "<service-endpoint/>" between the existing tasks, so I
ended up with.
....
<homeinterface />
<localhomeinterface/>
<service-endpoint/>
<entitypk/>
<entitycmp/>
....
I also checked out version 1.0M8, but couldn't find the task
<service-endpoint/> there either.
I'm just wondering: is this the way to go and is this task really
missing (so should I file this as a bug), or should I perform some other
steps to have the SEI generated?
Thanks a lot for your input.
Luc Feys
|
|
|
Powered by
FUDForum. Page generated in 0.06723 seconds