How can force the generation of classes in my proxy

G

gordingin

The best way to describe my problem is to show some code....

public class Test
{
int a;
public Test()
{
}
}

public class Test1
{
int b;
public Test1()
{
}
}

public class Test2
{
int c;
public Test2()
{
}
}

[WebMethod]
public void test(Test objTest)
{

}

When the IDE creates the proxy, ONLY the TEST class has generated (I
believe because the webmeth test uses it)
What I want is for my proxy class to ALSO have Test1 and Test2.

How can I FORCE this to happend. I wish NOT to create FAKE methods that
use Test1 and Test2 JUST so they get generated.


thanks
Ralph
 

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,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top