-
1. Re: Returning Custom DataTypes in JBOSS4.0.0
thomas.diesler Nov 26, 2004 2:39 AM (in response to gayathiri)Gayathiri,
your typeDesc will not be seen by the Axis BeanSerializer/Deserializer. Instead useserializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactdeserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserialize
On the server side, set the debugging level of org.apache.axis to DEBUG, then you will see whether the server actually sends 32 array items in the response message or not.
On the client side, you can do the same and examine how the deserializer instanciates your array items and populates the array.
If you are convinced that this is a bug, please file an issue with SF and provide a simple sample deployment that allows me to reproduce what you are seeing.
Thanks -
2. Re: Returning Custom DataTypes in JBOSS4.0.0
thomas.diesler Nov 26, 2004 2:40 AM (in response to gayathiri)serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory' deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory'
-
3. Re: Returning Custom DataTypes in JBOSS4.0.0
gayathiri Nov 26, 2004 3:06 AM (in response to gayathiri)Hi,
I replaced serializer code with ur code
and trying to run the client
It throws this exception
Exception in thread "main" java.lang.NoClassDefFoundError: org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory
at org.ezyield.yieldjava.InventoryEndpointSoapBindingStub.class$(InventoryEndpointSoapBindingStub.java:23)
at org.ezyield.yieldjava.InventoryEndpointSoapBindingStub.(InventoryEndpointSoapBindingStub.java:62)
at org.ezyield.yieldjava.InventoryEndpointSoapBindingStub.(InventoryEndpointSoapBindingStub.java:48)
at org.ezyield.yieldjava.InventoryEndpointServiceLocator.getInventoryEndpoint(InventoryEndpointServiceLocator.java:43)
at org.ezyield.yieldjava.InventoryClient.getBindingStub(InventoryClient.java:149)
at org.ezyield.yieldjava.InventoryClient.main(InventoryClient.java:162)
i have set the classpath to this file
jboss-ws4ee.jar
but still it throws this exception
Rgds
Gayathiri -
4. Re: Returning Custom DataTypes in JBOSS4.0.0
thomas.diesler Nov 26, 2004 3:25 AM (in response to gayathiri)You want jboss-ws4ee-client.jar on your client's CP, but jboss-ws4ee.jar should work as well. Enable trace level debugging for classloading to see what is going on - it must be something stupid.
-
5. Re: Returning Custom DataTypes in JBOSS4.0.0
thomas.diesler Nov 26, 2004 3:30 AM (in response to gayathiri)Also have a look at the samples.zip provided on the wiki. It contains a complexbean sample which does array serialization of a custom bean.
-
6. Re: Returning Custom DataTypes in JBOSS4.0.0
gayathiri Nov 29, 2004 5:02 AM (in response to gayathiri)Hi,
Thanks for ur help...solved the issue
Rgds
Gayathiri