Click here to Skip to main content
15,890,185 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I created .vb class file using WSDL what has been provided to build a webservice.
Now, what should I do with this .vb class file to refer from asmx?

My class file have multiple partial classes which contains various methods and I don't want to show all these genearted methods in my ASMX file and looking for consume them directly from class file itself by pointing class file to ASMX.

Is there any way to do this? Please guide me!!
Thanks!!
Posted
Updated 4-May-11 20:45pm
v2

1 solution

This is what I did to utilizes WSDL.exe genearted VB class file from ASMX file.
Created a namespace to VB class file and inherited VB class file from ASMX file and automatically all webmethods in VB class file can exposed to outside without maintaining them in ASMX file.


Thanks,
Srinivas Kalagara
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900