webservice logic

R

Rotsey

Hi,

I want to pass a custom object to a webservice method like this

public void WebMethod(CustomObject obj)
{
}

The CustomObject is a base class of many derived classes
that can passed to it.

Question's are where do the declarations for the base class
and derived classes have to be so I can create a derived
class object in client code and pass it to the webmethod???

I have tried to declare the classes as internal to the webservice
class but they do not show in intellisesnse when trying to call
the service form client code

rotsey
 

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,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top