Click here to Skip to main content
15,795,712 members
Articles / Web Development / ASP.NET

Golabi Webservice Dynamic Invoker

Rate me:
Please Sign up or sign in to vote.
5.00/5 (7 votes)
13 May 2013CPOL1 min read 27.6K   682   14   4
Dynamic web service code generator


In some projects, we need to add a reference to an inter network web service that is not public on the Internet.

We need some kind of tool to make a reference to that web service without taking our development tools to that network.


In this project, we use wsdl.exe to generate a class from a web service URL:

Image 1

Then we use csc.exe to generate a DLL from the generated class from the last step:

Image 2

In the last step, we use the System.Reflection class to invoke the methods of the DLL.

Image 3

Using the Application

First of all, you should mention the URL and the version of .NET Framework you want to use for compiling the generated class. Then click Discover button in the form:

Image 4

In the code tab, you can see the generated class from the given web service URL.

In the Explorer tab, you can see the reflected methods from the generated DLL:

Image 5

By pressing Invoke button, the input form will be dynamically generated:

Image 6

After giving the parameters, you can receive the result from web service:

Image 7

Points of Interest

This tool is some kind of Code Generators Application. There are some cool Dynamic invocation tools inside this project that you should discover by yourself!


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

Written By
Software Developer رایان پایا داده محاسب
Iran (Islamic Republic of) Iran (Islamic Republic of)
Bachelor of computer software engineer at Urmia University of Technology,

Masters of computer software engineer at Shahid Beheshti University,

Microsoft Certified Solution Developer : Web Applications,

Microsoft Specialist : HTML5 , CSS3 , javascript,

MCTS at Mojtame Fanni Tehran (MFT)

My Server Solution Blog

Comments and Discussions

Questionwhat was your mean about Globai ? holoo ? or shaftaloo ? Pin
philomotion16-Jun-16 3:09
philomotion16-Jun-16 3:09 
AnswerRe: what was your mean about Globai ? holoo ? or shaftaloo ? Pin
Farhad Hazraty Eini16-Jun-16 6:55
professionalFarhad Hazraty Eini16-Jun-16 6:55 
GeneralMy vote of 5 Pin
KChandos14-May-13 8:01
professionalKChandos14-May-13 8:01 
GeneralRe: My vote of 5 Pin
Farhad Hazraty Eini15-May-13 18:51
professionalFarhad Hazraty Eini15-May-13 18:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.