Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 22nd, 2005, 12:52 AM
Authorized User
 
Join Date: Apr 2004
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help me How to !

I want to use some web server to coporation into my site . I develop my site using Notepad not use Visual Studio .NET could you tell me how to Add web reference to the web server. I know in VS .Net development it is easies to add web reference by choose Add web Reference on the project menu . But in notepad I don't know how to

thanks

 
Old April 22nd, 2005, 09:49 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You have to add references when you compile the application:

Try this command:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\vbc
or
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc

This will give you the default help screen for the compiler. In there are all the switches you can use compile your application the way you need.

-Peter
 
Old April 22nd, 2005, 07:49 PM
Authorized User
 
Join Date: Apr 2004
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks to planoie ! But what i mean is:
For example I want to use Google web server or Amazone web server to integrate into my application. It reside on Google not on my computer. I know if i use Visual Studio .Net to reference Google web server it is ease to do by chose Add web reference on the project menu . But in Notepad how to add web reference

Thanks !

 
Old April 23rd, 2005, 02:17 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Ah ok. Sorry about that. I missed the "web" part of it.

In order to use a web service you would normally want to use a proxy class. This class is normally constructed by visual studio. I beleive that this operation is performed using the wsdl.exe program that comes with the visual studio SDK. This program goes out to the web service and retrieves the WSDL that describes the web service and then constructs a proxy class that you would then use in your program. You then would reference the proxy class assembly as a local assembly when you compile your program. I found the WSDL program in the SDK folder, so you'll need the SDK. It's possible that the web service providers (google/amazon) already have a .NET proxy class that you could download so you don't have to build it yourself.

-Peter
 
Old April 25th, 2005, 03:32 AM
Authorized User
 
Join Date: Apr 2004
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You are all right !
Thans planoie










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.