Serialization of a custom object

  • Thread starter anirudh.chandrakant
  • Start date
A

anirudh.chandrakant

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.
 
D

Dilip Krishnan

Hello (e-mail address removed),
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
 
A

Anirudh

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?
 
D

Dilip Krishnan

Hello (e-mail address removed),
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
 
A

Anirudh

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top