From SOAP(WSDL) to rest with Web Api RRS feed

  • General discussion

  • In the days of soap I would create a struct and return it in a web call.  The client would read in the wsdl and from that document, it would know the attributes in the struct.

    For example

    struct Class{

    Int ID;

    String Name;


    With WebApi I can return the struct, but how would the client know the attributes of the struct.  If I use json and de-serialize the object, what do I cast it to?

    Friday, April 11, 2014 7:15 PM

All replies