For Programmers: Free Programming Magazines  


Home > Archive > Microsoft Webservices > October 2005 > How can force the generation of classes in my proxy









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How can force the generation of classes in my proxy
gordingin@consiliumsoft.com

2005-10-14, 7:01 pm



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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com