The usual place for application objects is ... tara ... the application package, in 
your case the the ejb-jar.

To deal with these classes, JBoss.net/Axis however needs mapping information in the 
form of a serializer/deserializer pair (e.g. a Bean(De)Serializer that canonically 
maps bean properties to xml elements). This can be specified in the webservice 
deployment descriptor (in your wsr) as follows:

     

Note that as of JBoss3.2, these descriptors can be easily generated using our 
jboss.net xdoclet module and tag annotations in your custom objects:

/** 
 * A serializable data object for testing data passed to an EJB through
 * the web service interface.
 * @author jung
 * @version $Revision: 1.1.2.1 $
 * @jboss-net:xml-schema urn="hello:HelloData"
 */

public class HelloData
   implements java.io.Serializable
{
   private String name;

   public String getName()
   {
      return name;
   }

   public void setName(String name)
   {
      this.name = name;
   }
}

Hope that helps,
CGJ


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

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to