You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by v....@accenture.com on 2003/05/08 12:01:15 UTC

Look up fails while invoking EJBObject as a webservice ...

Hi,

We are using WSAD 5.0 and Websphere Application Server 4.0.5  to build our
applications ..Here whilst invoking EJB Object as a webservice, I'm getting
"No Service Class Found Exception" ....

1. I've given explicitly the EJB jar file classpath in the META INF
directory of AXIS WAR File ..
2. I've tried with the different port numbers, since 900 is default for
WAS..

but still the class file lookup fails in this case !!! ..

I've posted the webservice

<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java
="http://xml.apache.org/axis/wsdd/providers/java" >
  <service name="TestBeanService" provider="java:EJB">
    <parameter name="jndiURL" value="iiop://localhost:900"/>
    <parameter name="jndiContextClass" value
="com.ibm.websphere.naming.WsnInitialContextFactory"/>
    <parameter name="homeInterfaceName" value="com.popat.TestBeanHome"/>
    <parameter name="remoteInterfaceName" value="com.popat.TestBean"/>
    <parameter name="beanJNDIName" value="TestBeanJNDIName"/>
    <parameter name="allowedMethods" value="*"/>
  </service>
</deployment>

Exception:

"Fault - org.apache.axis.ConfigurationException: No service class was
found!  Are you missing a className option? AxisFault"

Any help is appreciated ..

-krishna


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete the
original.  Any other use of the email by you is prohibited.