Re: wsdl2java serialization process

2004-11-10 Thread Kirubakaran . Pakkirisamy
The following code posted by Michael Binz could help you. -- START-- package .util; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.io.ByteArrayInputStream; import java.lang.reflect.Method;

Re: Deserialization

2004-10-25 Thread Kirubakaran . Pakkirisamy
Michael, Create a WSDL type with the structure you want. Run wsdl2java on this.  Use this java class on the client side. On the server side, use a different class, use your serializer  and the Bean Deserializer  for this. Now you should be able to return your data to the client, which will be able

Re: Sample code for (de)serializers? (was: Generating a return value w/o using objects?)

2004-10-18 Thread Kirubakaran . Pakkirisamy
To see how to register see my email on Re: Bean Serializer/Deserializer. For an example serializer you can even look at the axis code. I have attached it. Regards, - kiru Michael Schuerig <[EMAIL PROTECTED]> 10/18/2004 12:24 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECT

Re: Generating a return value w/o using objects?

2004-10-18 Thread Kirubakaran . Pakkirisamy
You could probably write Serialize/Deserializer yourself for the ResultSet object. Actually, some database provide a way to retrieve the ResultSet as xml. Regards, - kiru Michael Schuerig <[EMAIL PROTECTED]> 10/18/2004 04:14 AM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTE

Re: Exception: No serializer found for class java.io.File in registry org.apache.axis.encoding.TypeMappingImpl@102b2b6

2004-10-18 Thread Kirubakaran . Pakkirisamy
You are using Java2WSDL that has a java.io.File  member variable. Define a class that has an array of say, MyLogFormat. eg public class MyType {         public MyLogFormat[]  log;   // you probably had  java.io.File here                public int somethingelse; } public class MyLogFormat {    

Re: BeanSerializer / BeanDeserializer

2004-10-18 Thread Kirubakaran . Pakkirisamy
The following code posted by Michael Binz could help you. -- START-- package .util; import java.io.IOException; import java.io.StringReader; import java.io.StringWriter; import java.io.ByteArrayInputStream; import java.lang.reflect.Method;

Re: Newbie: Using Axis for serializing/deserializing only

2004-09-24 Thread Kirubakaran . Pakkirisamy
I am using Axis to do invoke webservices, but I need to store the parameters in a database columns. So I am trying to use the serializer, but unsuccesful so far. Here is the code which I use, which produces not output (ost.size = 0). Any help in this regard is appreciated. Regards, - kiru      

Serializing WSDL generated javatypes to a string

2004-09-22 Thread Kirubakaran . Pakkirisamy
I am trying to persist the value in a text column in  a database. I am using XmlSerializer to serialize it, but I dont see any output. I have enclosed the code which does this. ost.size() turns out to be zero.                         org.apache.axis.encoding.Serializer s = ValueType.getSerializer