Web Service & Custom Return Types

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a class library which is shared by multiple projects. One
project is the web service. It has a web method that when invoked is to
return a class populated with all of the properties and such.

The client windows application that makes the call gets a null object.
However, when I set the web service as the start up application and invoke
the web method and put a break on the object to be returned I notice in my
watch the object has all the properties populated with values but when the
xml page loads it has nothing.

It would seem some how between the return statement and the actual output it
looses everything. Any ideas why?
 

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

Back
Top