axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryl Wilding-McBride" <>
Subject Axis and jBoss
Date Thu, 21 Mar 2002 00:58:57 GMT
Just in case there's someone else wondering what to put into a WSDD file if you want to publish
an EJB's method(s) as a web service, here's one that works with the Axis beta and jBoss 2.4.4/Tomcat
3.2.3. The method getMovies returns an array of MovieValue objects, hence the bean mapping.

<deployment xmlns=""

  <service name="MovieStoreService" provider="java:EJB">
    <parameter name="beanJndiName" value="ejb/StoreBean"/>
    <parameter name="homeInterfaceName" value="com.usefultools.jpp.desktop.ejb.StoreHome"/>
    <parameter name="remoteInterfaceName" value="com.usefultools.jpp.desktop.ejb.StoreBean"/>
    <parameter name="jndiContextClass" value="org.jnp.interfaces.NamingContextFactory"/>
    <parameter name="jndiURL" value="localhost:1099"/>
    <parameter name="allowedMethods" value="getMovies"/>

    <beanMapping qname="ns:MovieValue" xmlns:ns="urn:BeanService"


View raw message