Bonjour,
Je travaille sur une petite application Web service sur Weblogic Workshop (qui permet la création et le déploiement de web services de façon automatique et trés simple), voila donc mon problème, j'appelle une méthode " int getNombre() qui existe dans un ejb et qui renvoie un interger" depuis mon web service, jusque la tout se passe bien, Workshop reconnait la méthode, sa signature (il rale pas..), mais quand je déploie le web service, j'ai cette exception :
il faut dire que je n'ai pas beacoup de connaissances en EJB, c'était un exemple bête que j'ai créé et utilisé pur tester les fonctionnalités de Workshop...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 Submitted at lundi 11 février 2008 9 h 23 min 19 s CET Exception in getNombre java.rmi.UnmarshalException: Method not found: 'getNombre()' at weblogic.rmi.internal.MethodDescriptor.init(MethodDescriptor.java:155) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:133) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290) at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:248) at eu.cec.sfc.backoffice.business.cci.ejb.CciManager_sja6g8_HomeImpl_815_WLStub.getNombre(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.bea.wlw.runtime.core.control.EJBControlImpl.invoke(EJBControlImpl.jcs:641) at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377) at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433) at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406) at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388) at eu.cec.sfc.backoffice.controls.TestCCi.TestCC.getNombre(TestCC.ctrl) at eu.cec.sfc.backoffice.controls.TestCCi.TestCCTest.getNombre(TestCCTest.jws:25)
Est ce que qqu'un aurait une idée sur ce que ca pouvait être comme erreur...
Merci par avance de votre aide
Partager