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 arnaud <la...@yahoo.fr> on 2004/01/27 16:56:33 UTC

message service with Jonas and EJb

Hi all,

Does anyone deploy an ejb message service with axis
and jonas?
I use an ear,with a war (embedded axis with the sample
MessageService.class in
WEB-INF/classes/samples/message) and an ejb-jar like
specified at
http://jonas.objectweb.org/current/doc/howto/JOnASAxis.html
(2: Embedded Axis)

my deploy.wsdd is :

<service name="IcarService" provider="java:EJB">
<parameter name="beanJndiName" value="IcarEjb"/>
<parameter name="homeInterfaceName"
value="com.ft.icar.applicatif.ejb.WSHome"/>
<parameter name="remoteInterfaceName"
value="com.ft.icar.applicatif.ejb.WS"/>
<parameter name="allowedMethods"
value="demanderSituationClient"/>
</service>

<service name="MessageService" style="message">
<parameter name="className"
value="samples.message.MessageService"/>
<parameter name="allowedMethods"
value="echoElements"/>
</service>

my test method is the same as the message service
sample and my ejb return Elements as the message
service sample.
i can invoke MessageService but not IcarService..
The exception is :No such operation 'e1'
When i specify 'provider="java:EJB" style="message"'
for IcarService,the Exception is :Body Not Found.
i don't understand..


_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com