需要编写Web服务 [英] Need to write web service

查看:62
本文介绍了需要编写Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在WSDL文件之前使用过Web服务但从未写过

之一。我需要一些基本的起始信息。


1.我可以在Windows应用程序中编写Web服务吗?或者都是网络服务

asp网络应用程序?换句话说,我创建了什么类型的程序?


2.任何人都指向一个非常基本的教程,比如写一个

需要两个数字的教程并返还总额?


3.现在更深入一点,但我需要知道是否要使用VB 2003或

2005.我们的业务之一将要使用它的合作伙伴

坚持我必须在.net 1.1而不是2.0中编写它。我真的没有看到

为什么他会关心它写的是什么。我认为使用它可以使用它。

网络是通用的。

I have used web services before WSDL files and such but never written
one. I need some basic starting info.

1. Can I write a web service in a windows app? or are all web services
asp web apps? In other words what type of program do I create?

2. Anyone point me to a tutorial that is very basic like write one that
takes two numbers and returns the sum?

3. Getting a bit deeper now, but I need to know if to use VB 2003 or
2005. One of our business partners who is going to have to use it
insists I have to write it in .net 1.1 and not 2.0. I really don''t see
why he would care what it is written in. I would think using it over
the web would be generic.

推荐答案

cj< cj@nospam.nospamwrote in news:uq ************** @ TK2MSFTNGP03.phx.gbl:
cj <cj@nospam.nospamwrote in news:uq**************@TK2MSFTNGP03.phx.gbl:

1.我可以在Windows应用程序中编写Web服务吗?或者都是网络服务

asp网络应用程序?换句话说,我创建了什么类型的程序?
1. Can I write a web service in a windows app? or are all web services
asp web apps? In other words what type of program do I create?



如果您使用的是.NET 3.0

和WCF,您可以在桌面应用程序中托管Web服务。


..NET 2.0你必须使用ASP.NET

You can host web services in a desktop application IF you''re using .NET 3.0
and WCF.

..NET 2.0 you must use ASP.NET


3.现在更深入一点,但我需要知道如果要使用VB 2003或

2005.我们的一个商业合作伙伴将不得不使用

坚持我必须在.net 1.1而不是2.0中写它。我真的没有看到

为什么他会关心它写的是什么。我认为使用它可以使用它b / b
web是通用的。
3. Getting a bit deeper now, but I need to know if to use VB 2003 or
2005. One of our business partners who is going to have to use it
insists I have to write it in .net 1.1 and not 2.0. I really don''t see
why he would care what it is written in. I would think using it over
the web would be generic.



也许他被困在.NET 1.1平台上。我会使用.NET 2.0甚至

WCF(.NET 3.0)。

Perhaps he''s stuck on the .NET 1.1 platform. I would use .NET 2.0 or even
WCF (.NET 3.0).


我如何使用.net 3.0一个VB或ASP .Net 2005程序?我知道它

使用2.0,但我不知道如何改变它。只是好奇,我不认为
真的以为我会去3.0。


Spam Catcher写道:
How would I use .net 3.0 in a VB or ASP .Net 2005 program? I know it
uses 2.0 but I don''t know how to change that. Just curious, I don''t
really think I''ll go to 3.0 yet.

Spam Catcher wrote:

cj< cj@nospam.nospamwrote in news:uq ************** @ TK2MSFTNGP03.phx.gbl:
cj <cj@nospam.nospamwrote in news:uq**************@TK2MSFTNGP03.phx.gbl:

> 1。我可以在Windows应用程序中编写Web服务吗?或者是所有的网络服务
asp网络应用程序?换句话说,我创建了什么类型的程序?
>1. Can I write a web service in a windows app? or are all web services
asp web apps? In other words what type of program do I create?



如果您使用的是.NET 3.0

和WCF,您可以在桌面应用程序中托管Web服务。


.NET 2.0必须使用ASP.NET


You can host web services in a desktop application IF you''re using .NET 3.0
and WCF.

.NET 2.0 you must use ASP.NET


> 3。现在深入一点,但我需要知道是否使用VB 2003或
2005。我们的业务合作伙伴之一将不得不使用它
坚持我必须在.net 1.1而不是2.0中编写它。我真的没有看到为什么他会关心它写的是什么。我会认为使用它会对网络来说是通用的。
>3. Getting a bit deeper now, but I need to know if to use VB 2003 or
2005. One of our business partners who is going to have to use it
insists I have to write it in .net 1.1 and not 2.0. I really don''t see
why he would care what it is written in. I would think using it over
the web would be generic.



也许他被困在.NET 1.1平台上。我会使用.NET 2.0甚至

WCF(.NET 3.0)。


Perhaps he''s stuck on the .NET 1.1 platform. I would use .NET 2.0 or even
WCF (.NET 3.0).


哦,还有什么' WCF?好奇心再次。

Spam Catcher写道:
Oh, also, what''s WCF? Curiosity again.
Spam Catcher wrote:

cj< cj@nospam.nospamwrote in news:uq ******* *******@TK2MSFTNGP03.phx.gbl:
cj <cj@nospam.nospamwrote in news:uq**************@TK2MSFTNGP03.phx.gbl:

> 1。我可以在Windows应用程序中编写Web服务吗?或者是所有的网络服务
asp网络应用程序?换句话说,我创建了什么类型的程序?
>1. Can I write a web service in a windows app? or are all web services
asp web apps? In other words what type of program do I create?



如果您使用的是.NET 3.0

和WCF,您可以在桌面应用程序中托管Web服务。


.NET 2.0必须使用ASP.NET


You can host web services in a desktop application IF you''re using .NET 3.0
and WCF.

.NET 2.0 you must use ASP.NET


> 3。现在深入一点,但我需要知道是否使用VB 2003或
2005。我们的业务合作伙伴之一将不得不使用它
坚持我必须在.net 1.1而不是2.0中编写它。我真的没有看到为什么他会关心它写的是什么。我会认为使用它会对网络来说是通用的。
>3. Getting a bit deeper now, but I need to know if to use VB 2003 or
2005. One of our business partners who is going to have to use it
insists I have to write it in .net 1.1 and not 2.0. I really don''t see
why he would care what it is written in. I would think using it over
the web would be generic.



也许他被困在.NET 1.1平台上。我会使用.NET 2.0甚至

WCF(.NET 3.0)。


Perhaps he''s stuck on the .NET 1.1 platform. I would use .NET 2.0 or even
WCF (.NET 3.0).


这篇关于需要编写Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆