Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Serialization of a custom object

Reply
Thread Tools

Serialization of a custom object

 
 
anirudh.chandrakant@gmail.com
Guest
Posts: n/a
 
      01-24-2005
Hi,
I have a collection of objects , the type of objects are known only
at runtime. These type of objects are not specified in the WSDL. I need
to override the default serialization which takes place (which converts
unknown types to string) to implement my own serialization. The crutial
thing here is that the type is not specified in WSDL. Can somebody
please help me.

 
Reply With Quote
 
 
 
 
Dilip Krishnan
Guest
Posts: n/a
 
      01-24-2005
Hello ,
The type has to be specified in the wsdl unless its freeform xml. Could
you post your wsdl?

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> Hi,
> I have a collection of objects , the type of objects are known only
> at runtime. These type of objects are not specified in the WSDL. I
> need
> to override the default serialization which takes place (which
> converts
> unknown types to string) to implement my own serialization. The
> crutial
> thing here is that the type is not specified in WSDL. Can somebody
> please help me.



 
Reply With Quote
 
 
 
 
Anirudh
Guest
Posts: n/a
 
      01-25-2005
Thanks for the help, dilip. I wanted to know if there is any other
method other than specifying the type in the WSDL. Also, what exactly
do u mean by freeform XML?

 
Reply With Quote
 
Dilip Krishnan
Guest
Posts: n/a
 
      01-25-2005
Hello ,
No your wsdl has to have the definitions. Freeform xml is when you allow
any xml to be sent as a request/response message. your parameters are XmlElement
and/or have XmlAnyElement attributes

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> Thanks for the help, dilip. I wanted to know if there is any other
> method other than specifying the type in the WSDL. Also, what exactly
> do u mean by freeform XML?
>



 
Reply With Quote
 
Anirudh
Guest
Posts: n/a
 
      01-27-2005
Thanks a lot, Dilip. I will try modifying the wsdl. I'll get back to
you if i have any further issues. Thanks once again.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom serialization in object Maury ASP .Net 0 10-20-2006 11:17 AM
how to move from java object serialization to xml serialization? Dimitri Ognibene Java 4 09-02-2006 07:32 AM
Object serialization XML vs java serialization plasticfloor@gmail.com Java 3 06-14-2006 03:45 AM
Serialization Problems and books on serialization? sinleeh@hotmail.com Java 8 01-02-2005 02:40 PM
avoiding XML serialization, different WSDL generation, soap serialization Ramunas Urbonas ASP .Net Web Services 1 07-27-2004 09:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57