Anitha,
You can use the command-line tool csc.exe ie:
csc /out:TempConversion.dll /target:library TempConversion.cs
Or as pointed out in a previous post, it is easier to right click "Web
References" and navigate to your Web Service as VS.NET 2003 and 2005 will
create
the proxy class and compile it etc for you. However sometimes WSDL.exe is
required when changing namespaces or if you want to crreate types can are
easily added to
multiple projects etc.
As mentioned, if you want the type, then add the generated .cs file to a
class library within VS.NET as it is soooo much easier than the method
above. This all depends
on your requirements though.
Regards
Simon.
"Anitha" <> wrote in message
news:CE7BECE6-D58C-4180-BB11-...
>
>
> "Martin Honnen" wrote:
>
>>
>>
>> Anitha wrote:
>> > i have developed a web service for converting temperatures in to
>> > Celsius and
>> > Fahrenheit. The web service is working fine.
>> > I want to use this web service in a web page and windows form locally .
>> > can anyone help me for this. please give the whole steps for doing
>> > this.
>> >
>> > I know i have to create a .dll file using WSDL and all other stuff.
>>
>> You can generate the source code of a proxy class using e.g.
>> wsdl.exe URLToWSDLDescriptionOfWebService
>> Then you can compile that source code into a dll.
>> If you use Visual Studio then it simplifies your work by allowing you to
>> add a reference to the web service and doing the rest automatically.
>>
>>
>> --
>>
>> Martin Honnen --- MVP XML
>> http://JavaScript.FAQTs.com/
>>
>
>
> Hi Martin,
> I have created the proxy class using this
> wsdl.exe http://localhost/TempConversion/Temp...sion.asmx?WSDL
>
> then this creates a .cs file called as TempConversion.cs
> this .cs file is created in c:/ directory..
>
> after this i am required to create a .bat file to convert source file into
> an assembly or dll.
> this part i am not getting. I unable to create a .dll file . can u please
> tell the steps to create a dll file and how to use this dll file in my
> ASP.Net page...