[jboss-user] [JBoss Web Services Users] - Re: Problem of polymorphism of JBoss WebService

xiangyingbing do-not-reply at jboss.com
Wed Nov 4 05:08:24 EST 2009


Printed result:

Server:
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 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 is got:
18:05:26,151 INFO  [STDOUT] One Animal is got:Animal-->name:Human.1,age:1


Client:

INFO: Dynamically creating request wrapper Class com.ybxiang.ejbws.jaxws.ReturnSomething1
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.ReturnSomething1Response
===================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=4263894#4263894

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



More information about the jboss-user mailing list