动态网络服务 [英] Dynamic web service

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

问题描述

您好,


是否可以动态加载网络服务?即如果网站

服务存在于具有非静态IP地址的系统上,则

应用程序可以下载定位器。包含它的详细信息的文件

行踪,我一直在查看Discovery.DynamicDiscoveryDocument

类,但我认为这就是我正在寻找的是的吗?谢谢

预付款。


尼克。


-

/ \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \

无论如何。无论结果如何,你都会被改变。


Fergus - 2003年9月5日

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \

解决方案

尼克,

我不这么认为,因为它不是你需要的IP地址而是DNS

名称。

(当然,DNS名称只不过是一个静态IP地址)。

DNS名称就此而言我知道从不动态。


我很安静,但是当我错了,不要开枪。

Cor

谢谢你,Cor回复。


尼克,我想补充一些其他信息。


DynamicDiscoveryDocument类型仅支持.NET Framework

infrast结构并不打算直接在您的代码中使用。它

意味着只有.NET Framework才能加载它。有关更多信息,请参阅

以下链接:

http://msdn.microsoft.com/library/de...us/cpref/html/

frlrfsystemwebservicesdiscoverydynamicdiscoverydoc umentclasstopic.asp


我同意Cor的帖子。您需要DNS名称。动态发现不是
意味着在动态IP地址上查找。这里有一些文章给你

参考:

http://msdn.microsoft.com/library/de...us/cpguide/htm

l / cpconenablingdiscoveryforwebservice.asp
http://msdn.microsoft.com/library/de...us/vbcon/html/

vbconlocatingwebservices.asp

http://msdn.microsoft.com/library/de...us/dnuddi/html

/runtimeuddi1.asp

http://msdn.microsoft。 com / library / de ... us / dnuddi / html

/runtimeuddi2.asp


如果有什么是叔叔的话ar,请随时回复帖子。


Kevin Yu

=======

"该帖子是按原样提供的。没有保证,也没有赋予

权利。


------------------- -

|来自:Nak < a@a.com>

|主题:动态网络服务

|日期:2003年10月9日星期四10:28:41 +0100

|行数:19

| X-Priority:3

| X-MSMail-Priority:正常

| X-Newsreader:Microsoft Outlook Express 6.00.2800.1158

| X-MimeOLE:由Microsoft MimeOLE V6.00.2800.1165制作

|消息ID:< Ow ************** @ TK2MSFTNGP09.phx.gbl>

|新闻组:microsoft.public.dotnet.languages.vb

| NNTP-Posting-Host:dsl213-218-228-203.as15444.net 213.218.228.203

|路径:cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl

|外翻:cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145262

| X-Tomcat-NG:microsoft.public.dotnet.languages.vb

|

|你好,

|

|是否可以动态加载Web服务?即如果网页

|服务存在于具有非静态IP地址的系统上,

|应用程序可以下载定位器。包含它的详细信息的文件

|行踪,我一直在看

Discovery.DynamicDiscoveryDocument

|上课,但我认为这是我正在寻找的是什么?谢谢

|提前。

|

|尼克。

|

| -

|

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ $ \\ $ / | 不管。无论结果如何,你都会被改变。

|

| Fergus - 2003年9月5日

|

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \

|

|

|


嗨Kevin,

DynamicDiscoveryDocument类型仅支持.NET Framework
基础结构,不能直接在您的代码中使用。它意味着只有.NET Framework才能加载它。有关更多信息,请参阅
以下链接:




我正在寻找*听起来像我们可以做的那样的框架

想要。


以下是您发送链接的页面的引用,


Web引用可以使用无论是静态网址还是动态网址


这正是我想要的,使用网页的动态地址

参考!谢谢你的负担。


尼克。


-

/ \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \

无论如何。无论结果如何,你都会被改变。


Fergus - 2003年9月5日

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \


Hi there,

Is it possible to load a web service dynamically? i.e. If the web
service were to exist on a system with a non static IP address, an
application could download a "locator" file that contained details of it''s
whereabouts, I have been looking at the "Discovery.DynamicDiscoveryDocument"
class but I think think this is what I am looking for is it? Thanks in
advance.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

解决方案

Nick,
I don''t think so, because it is not the IP adress that you need but the DNS
name.
(Of course a DNS name is nothing else than a static ip adress).
A DNS name is as far as I know never dynamic.

I am quiet sure, but when I am wrong, don''t shoot.
Cor


Thanks, Cor for your reply.

Nick, I''d like to add some further information.

The DynamicDiscoveryDocument type only supports the .NET Framework
infrastructure and is not intended to be used directly from your code. It
means that only the .NET Framework can load it. Please refer to the
following link for more information:

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwebservicesdiscoverydynamicdiscoverydoc umentclasstopic.asp

I agree with Cor''s post. You need a DNS name. Dynamic discovery does not
mean finding on dynamic IP addresses. Here are some articles for you to
refer to:

http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpconenablingdiscoveryforwebservice.asp

http://msdn.microsoft.com/library/de...us/vbcon/html/
vbconlocatingwebservices.asp

http://msdn.microsoft.com/library/de...us/dnuddi/html
/runtimeuddi1.asp

http://msdn.microsoft.com/library/de...us/dnuddi/html
/runtimeuddi2.asp

If anything is unclear, please feel free to reply to the post.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

--------------------
| From: "Nak" <a@a.com>
| Subject: Dynamic web service
| Date: Thu, 9 Oct 2003 10:28:41 +0100
| Lines: 19
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <Ow**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.vb
| NNTP-Posting-Host: dsl213-218-228-203.as15444.net 213.218.228.203
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:145262
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| Hi there,
|
| Is it possible to load a web service dynamically? i.e. If the web
| service were to exist on a system with a non static IP address, an
| application could download a "locator" file that contained details of it''s
| whereabouts, I have been looking at the
"Discovery.DynamicDiscoveryDocument"
| class but I think think this is what I am looking for is it? Thanks in
| advance.
|
| Nick.
|
| --
|
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
| "No matter. Whatever the outcome, you are changed."
|
| Fergus - September 5th 2003
|
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
|
|
|


Hi Kevin,

The DynamicDiscoveryDocument type only supports the .NET Framework
infrastructure and is not intended to be used directly from your code. It
means that only the .NET Framework can load it. Please refer to the
following link for more information:



I was just hunting the framework that *sounded* like they could do as I
wanted.

Here is a quote from one page you sent a link to,

"A Web reference can use either a static URL or a dynamic URL"

That is exactly what I wanted, to use a dynamic address of the web
reference! Thanks loads.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\


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

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