[jboss-user] [EJB 3.0 Users] - Re: Problem of polymorphism Web Service in EJB

xiangyingbing do-not-reply at jboss.com
Thu Nov 5 20:31:17 EST 2009


============== result from JBoss AS============== 
============== result from JBoss AS============== 
============== result from JBoss AS============== 

  | 
  | 
  | 18:05:01,199 DEBUG [ManagerBase] Start expire sessions StandardManager at 1257329101199 sessioncount
  |  0
  | 18:05:01,199 DEBUG [ManagerBase] End expire sessions StandardManager processingTime 0 expired sessio
  | ns: 0
  | 18:05:07,230 FINE  [tcp] RMI Scheduler(0): close connection
  | 18:05:07,230 FINE  [tcp] RMI TCP Connection(9)-127.0.0.1: (port 1558) connection closed
  | 18:05:07,230 FINE  [tcp] RMI TCP Connection(9)-127.0.0.1: close connection
  | 18:05:26,120 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,120 INFO  [STDOUT] ------------String is got:Test string
  | 18:05:26,120 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,136 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,136 INFO  [STDOUT] ------------Animal is got:Animal-->name:Animal.1,age:1
  | 18:05:26,136 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,136 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,136 INFO  [STDOUT] ------------Animal is got:Animal-->name:Human.1,age:1
  | 18:05:26,136 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,151 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,151 INFO  [STDOUT] ------------Human is got, name:Human.1, email:human1 at gmail.com
  | 18:05:26,151 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,151 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,151 INFO  [STDOUT] ------------ArrayList<Animal> is got:
  | 18:05:26,151 INFO  [STDOUT] One Animal is got:Animal-->name:Animal.1,age:1
  | 18:05:26,151 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,151 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,151 INFO  [STDOUT] ------------ArrayList<Animal> is got:
  | 18:05:26,151 INFO  [STDOUT] One Animal is got:Animal-->name:Human.1,age:1
  | 18:05:26,151 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 18:05:26,167 WARN  [StatelessBeanContext] EJBTHREE-1337: do not get WebServiceContext property from 
  | stateless bean context, it should already have been injected
  | 1
  | 	
  | 
  | 



============== result from client ============== 

  | Nov 4, 2009 6:05:25 PM com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass
  | INFO: Dynamically creating response wrapper bean Class com.ybxiang.ejbws.jaxws.ReturnSomething1Respo
  | nse
  | ===================testing===========================
  | test:ejbWebServiceBean.passParameter1("Test string");
  | test:ejbWebServiceBean.passParameter2(a1);
  | test:ejbWebServiceBean.passParameter2(h);
  | test:ejbWebServiceBean.passParameter3(h);
  | test:ejbWebServiceBean.passParameter4(aa);
  | test:ejbWebServiceBean.passParameter4(hh);
  | ---------------[animal]------------------
  | ------------returnedValue1:
  |  *** item:Animal-->name:Animal.1,age:1
  |  *** item:Animal-->name:Animal.2,age:2
  | ---------------[human]------------------
  | ------------returnedValue2:
  |  *** item:Animal-->name:Human.1,age:1
  |  *** item:Animal-->name:Human.2,age:2	
  | 
  | 


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264250#4264250

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264250



More information about the jboss-user mailing list