hi i am using xdoclet to generate my entity and session beans but i also want it to generate my webservices.
i have the part where it generates the web-service.xml defining my services and mapping them to the correct jndi entries of my session beans. my session bean methods return custom data objects. the problem is that xdoclet is not adding the data mapping for my data objects. i assume i have to use @jboss-net:xml-schema right? where should i add this entry? my data objects are generated automatically by xdoclet so i don't think it's there. any ideas anyone? dr jung?
the only source files i have for now is the Payment.java where the entity bean is generated from and PaymentSession.java where my session bean is generated from.


this is my ant task:

<target name="ejbdoclet" depends="prepare">
   <mkdir dir="${build.dir}/xdoclet-classes"/>
   <mkdir dir="${build.dir}/webservices"/>
   <mkdir dir="${build.dir}/webservices/META-INF"/>
   <taskdef
       name="ejbdoclet"
       classname="xdoclet.modules.ejb.EjbDocletTask"
       classpathref="project.class.path"
   />
   <tstamp>
       <format property="TODAY" pattern="d-MM-yy"/>
   </tstamp>

<ejbdoclet
destdir="${build.dir}/xdoclet-classes"
excludedtags="@version,@author"
addedtags="@xdoclet-generated at ${TODAY}"
ejbspec="2.0">
<fileset dir="${src.dir}">
<include name="**/*.java"/>
</fileset>
<fileset dir="${build.dir}/xdoclet-classes">
<include name="**/*.java"/>
</fileset>


<dataobject/>

<packageSubstitution packages="persistence" substituteWith="interfaces"/>

       <remoteinterface/>
       <localinterface/>

       <homeinterface/>
       <localhomeinterface/>

       <entitypk/>
       <entitycmp/>

<deploymentdescriptor destdir="${build.dir}/xdoclet-classes/META-INF"/>
<jboss version="3.0"
preferredRelationMapping="relation-table"
datasource="java:/ForeclosureFreeSearchPool"
datasourcemapping="MS SQLSERVER"
destdir="${build.dir}/xdoclet-classes/META-INF"/>


<jbossnet webDeploymentName="HelixWebService" prefix="degPrefix" destdir="${build.dir}/webservices/META-INF"
targetNameSpace="http://webservices.deg.cc/HelixWebService"; />
</ejbdoclet>
</target>


thanks,

felipe

ps: i am running jvm 1.4, jboss-3.2.1.




------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to