473,326 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

How to use my own CodeDomProvider with wsdl.exe?

Hello!

/language: option of wsdl.exe says that it accepts a fully-qualified
name of a class implementing System.CodeDom.Compiler.CodeDomProvider.

Although I was able to provide MCppCodeProvider provider only (that
needs to use too complicated string):

/language:Microsoft.MCpp.MCppCodeProvider,MCppCodeD omProvider,Version=7.0.5000.0,
Culture=Neutral,\PublicKeyToken=b03f5f7f11d50a3a

When I typed /language:MyCodeDomProvider having MyCodeDomProvider.dll
nearby, wsdl.exe an error occured:

Error: Value 'MyCodeDomProvider' for switch /language is not a known
ICodeGenerator or CodeDomProvider.

Neither Microsoft.My.MyCodeDomProvider nor some class and dll naming
tricks gave a result.

Is it really possible to tell wsdl.exe to use my code provider?

Thanks.
Nov 23 '05 #1
1 1978
Hi,

Without being 100% sure, i do think the answer is yes.

When you specify a name like that for .Net (that too long string you
mentioned), you're talking about a fully qualified typename. This is
used in the fusion of the CLR.

So, i think you need to sign, GAC and then use the fully qualified
name to your CodeDOMProvider.

Hope this helps,

Marvin Smit.

On Sat, 27 Aug 2005 21:07:41 +0400, Andrew Shitov <an**@shitov.ru>
wrote:
Hello!

/language: option of wsdl.exe says that it accepts a fully-qualified
name of a class implementing System.CodeDom.Compiler.CodeDomProvider.

Although I was able to provide MCppCodeProvider provider only (that
needs to use too complicated string):

/language:Microsoft.MCpp.MCppCodeProvider,MCppCodeD omProvider,Version=7.0.5000.0,
Culture=Neutral,\PublicKeyToken=b03f5f7f11d50a3 a

When I typed /language:MyCodeDomProvider having MyCodeDomProvider.dll
nearby, wsdl.exe an error occured:

Error: Value 'MyCodeDomProvider' for switch /language is not a known
ICodeGenerator or CodeDomProvider.

Neither Microsoft.My.MyCodeDomProvider nor some class and dll naming
tricks gave a result.

Is it really possible to tell wsdl.exe to use my code provider?

Thanks.


Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

24
by: Generic Usenet Account | last post by:
Does anyone have an opinion on how IDL and WSDL compare to each other? Are they equally powerful in their "expressive power"? Sometimes it appears to me that IDL is a little easier for humans to...
5
by: relaxedrob | last post by:
Hi All! I ran the following w3c example through my WSDL parser (SOA Editor from Cape Clear): http://www.w3.org/TR/wsdl#_rpcexample It told me that there were a bunch of erros about no...
1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
1
by: Pardhasaradhy | last post by:
Hi, Please see the following error and revert back as early as possible. I am getting this once I request for the asp.net page. Server Error in '/tanishq' Application. Timed out waiting for...
0
by: Marco Viana | last post by:
Hi, I'm developing an ASP.NET application with Visual Studio .NET 2003 in a Win XP Professional, .NET Framework 1.1 and IIS 5.1 computer with all the lattest patches. When testing a page...
0
by: Elhanan | last post by:
hi.. i have a small Web Service which is consumed by dotnet application the webservice is located in 2 places. the first is my local tomcat, and the second is in websphere server. problems is...
9
by: Cesar | last post by:
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: ...
5
by: Nick K. | last post by:
I use wsdl.exe to generate client code to call a web service. The actual web service is generated with the BizTalk Web Services Publishing Wizard. I'm not sure this is particular to the BizTalk...
5
by: Andrus | last post by:
In code below line ICodeCompiler loCompiler = new CSharpCodeProvider().CreateCompiler(); in .net 2 causes warning 'System.CodeDom.Compiler.CodeDomProvider.CreateCompiler()' is obsolete:...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.