Hi edward, Need some more info as to how u have set up the ear.
Are u using the EJB provider to call ur Session Bean directly. In other words , does the flow goes like the following Client --> Axis servlet --> EJB Provider --> ur Session Bean OR r u using the Java provider as in Client --> Axis Servlet --> Java Provider --> Ur Java Class which wraps the Session Bean --> Session Bean Mahen On Mon, 6 Sep 2004 13:03:13 -0400, edward winston <[EMAIL PROTECTED]> wrote: > I am having problems deploying a web service that will front a stateless > session bean. I have the session bean created and have tested that it works > and am deploying that in the ear. > > Then i added a web component to the ear, included the axis jar in the > WEB-INF/lib directory and redeployed the ear. The beans are loaded just fine > and my test client still works, and i can get to axis via the web. > > Axis is working because i see the default services of AdminService and > Version and i can get the wsdl for both of those services. When i deploy the > service that fronts the session bean, the service shows up, but there are no > methods exposed. If i try to get the wsdl it says that it could not generate > the wsdl. It confirms that there is a service but maybe it is mis > configured. > > Here is my deploy.wsdd file : > > <deployment xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://xml.apache.org/axis/wsdd/ > ../../../../../schema/axis-wsdd.xsd "> > <service name="WSInvestigation" provider="java:EJB"> > <parameter name="beanJndiName" value="local/AccessCounterSB" /> > <parameter name="localHomeInterfaceName" value="AccessCounterSBLHif" /> > <parameter name="localInterfaceName" value="AccessCounterSBLif" /> > <parameter name="jndiURL" value="jnp://saturn:1099" /> > <parameter name="jndiContextClass" > value="org.jnp.interfaces.NamingContextFactory"/> > <parameter name="allowedMethods" value="listUsers" /> > </service> > </deployment> > > I have tried using '*' as the value of 'allowedMethods' but that didn't work > either. > > Any clues as to what I am doing wrong here? > > edward >
