Thanks Jose, 
 Now Something from my side :-)
for webservices you dont need remote/home interface 
so in your session bean edit anonymous wrote : 
  |   | **
  |   |  * @ejb.bean name="ExegenixWork1"
  |   |  *           display-name="Name for ExegenixWork1"
  |   |  *           description="Description for ExegenixWork1"
  |   |  *           jndi-name="ejb/ExegenixWork1"
  |   |  *           type="Stateless"
  |   |  *           view-type="service-endpoint"
  |   |  *          
  |   |  *         @ejb.interface 
  |   |  *         
  |   |  *           service-endpoint-class="com.interfaces.ExegenixWork1Bean"  
   
  |   |  *           service-endpoint-pattern = "{0}Service"  
  |   |  *           
  |   |  */

and before each of your business method
 
anonymous wrote : /**
  |   |          * Business method
  |   |          * @ejb.interface-method  view-type = "service-endpoint"
  |   |          */
  |   | 

In your generated Xdoclet-build.xml file 
add 
anonymous wrote : 
  |   |  <service-endpoint pattern="{0}Service"/>
  |   | 
and then run Xdoclet 
In my case it creates com.interfaces.ExegenixWork1Bean with Remote interface 
which you can directly use for your webservice 

I hope this helps and gets rid of unwanted editing :-)

Again, Thanks a lot for detailed explanation I will follow your steps/

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to