Yair segal’s Weblog

November 10, 2009

Generating Code From WSDL Files With svcutil

Filed under: ASP.net — ysegal @ 6:01 am
Tags: ,

I recently worked on a project where I had to communicate with Oracle CRM on Demand through their API. That communication occurs using WSDL files defined by Oracle then converted to code with the svcutil utility. I found myself having to run that utility on 30 odd files almost on a weekly basis as the objects in CRM on Demand kept on changing.

I ended up writing a Windows application that would execute svcutil through a graphical interface. You can find the application source code and installer on codeplex here:

http://graphicsvcutil.codeplex.com/

For the application to work correctly it is required to have the svcutil.exe file installed with the developer SDK in the default location. It also assumes the usage of the default configuration file for the code creation process. I am planning on enhancing the application in the future by adding the capability to choose the configuration file.

If any one is interested in adding that part themselves, just email me so I can add you to the project team in codeplex.

I want to start working on a similar project with stsadmin but that command has far more switches then svcutil.

Next Page »

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.