ServerXMLHTTP40等效... [英] ServerXMLHTTP40 eqivalent...

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

问题描述

在我的ASP.Net应用程序中,我正在尝试联系没有

Web服务的主机,即:具有asmx扩展名的文件,例如,anything.asmx。


它们确实有VB 6.0 ServerXMLHTTP40发送方法联系的URL。

我用VB 6.0方法与他们沟通了几年现在

并且我想更新我的应用程序以使用.Net。


有没有办法可以使用.Net与此服务进行通信?


谢谢,


King Wilder

In my ASP.Net application I''m trying to contact a host that does not have a
web service, i.e.: a file with the asmx extension such as, anything.asmx.

They do have an URL to be contacted by VB 6.0 ServerXMLHTTP40 Send method.
I''ve been communicating with them using VB 6.0 method for a couple years now
and I''d like to update my application to use .Net.

Is there a way I can communicate with this service using .Net?

Thanks,

King Wilder

推荐答案

HTTPWebRequest ?

参见
http://msdn.microsoft.com/library/en...classtopic.asp

了解更多详情


Stefan

" K.怀德" < KW ***** @ discussions.microsoft.com> schrieb im Newsbeitrag

新闻:5F ********************************** @ microsof t.com ...
HTTPWebRequest ?
See
http://msdn.microsoft.com/library/en...classtopic.asp
for more details

Stefan
"K. Wilder" <KW*****@discussions.microsoft.com> schrieb im Newsbeitrag
news:5F**********************************@microsof t.com...
在我的ASP.Net应用程序中,我正在尝试联系没有
web服务的主机,即:一个文件包含asmx扩展名,例如,anything.asmx。

他们确实有一个可以通过VB 6.0 ServerXMLHTTP40发送方法联系的URL。
我一直在使用VB 6.0方法与他们进行通信几年
现在
我想更新我的应用程序以使用.Net。

有没有办法可以使用.Net与此服务进行通信?

谢谢,

King Wilder
In my ASP.Net application I''m trying to contact a host that does not have
a
web service, i.e.: a file with the asmx extension such as, anything.asmx.

They do have an URL to be contacted by VB 6.0 ServerXMLHTTP40 Send method.
I''ve been communicating with them using VB 6.0 method for a couple years
now
and I''d like to update my application to use .Net.

Is there a way I can communicate with this service using .Net?

Thanks,

King Wilder



HTTPWebRequest?


http://msdn.microsoft .com / library / en ... classtopic.asp

了解更多详情


Stefan

& QUOT; k。怀德" < KW ***** @ discussions.microsoft.com> schrieb im Newsbeitrag

新闻:5F ********************************** @ microsof t.com ...
HTTPWebRequest ?
See
http://msdn.microsoft.com/library/en...classtopic.asp
for more details

Stefan
"K. Wilder" <KW*****@discussions.microsoft.com> schrieb im Newsbeitrag
news:5F**********************************@microsof t.com...
在我的ASP.Net应用程序中,我正在尝试联系没有
web服务的主机,即:一个文件包含asmx扩展名,例如,anything.asmx。

他们确实有一个可以通过VB 6.0 ServerXMLHTTP40发送方法联系的URL。
我一直在使用VB 6.0方法与他们进行通信几年
现在
我想更新我的应用程序以使用.Net。

有没有办法可以使用.Net与此服务进行通信?

谢谢,

King Wilder
In my ASP.Net application I''m trying to contact a host that does not have
a
web service, i.e.: a file with the asmx extension such as, anything.asmx.

They do have an URL to be contacted by VB 6.0 ServerXMLHTTP40 Send method.
I''ve been communicating with them using VB 6.0 method for a couple years
now
and I''d like to update my application to use .Net.

Is there a way I can communicate with this service using .Net?

Thanks,

King Wilder



你想要HTTPWebRequest,但你不会''因为.asmx文件专门用于.NET Web服务,所以将它与.asmx

文件一起使用。

" K.怀德" < KW ***** @ discussions.microsoft.com>在消息中写道

新闻:5F ********************************** @ microsof t.com ...
You''d want the HTTPWebRequest but you wouldn''t be using it with an .asmx
file since .asmx files are exclusively for .NET web services.
"K. Wilder" <KW*****@discussions.microsoft.com> wrote in message
news:5F**********************************@microsof t.com...
在我的ASP.Net应用程序中,我正在尝试联系没有
web服务的主机,即:一个文件包含asmx扩展名,例如,anything.asmx。

他们确实有一个可以通过VB 6.0 ServerXMLHTTP40发送方法联系的URL。
我一直在使用VB 6.0方法与他们进行通信几年
现在
我想更新我的应用程序以使用.Net。

有没有办法可以使用.Net与此服务进行通信?

谢谢,

King Wilder
In my ASP.Net application I''m trying to contact a host that does not have
a
web service, i.e.: a file with the asmx extension such as, anything.asmx.

They do have an URL to be contacted by VB 6.0 ServerXMLHTTP40 Send method.
I''ve been communicating with them using VB 6.0 method for a couple years
now
and I''d like to update my application to use .Net.

Is there a way I can communicate with this service using .Net?

Thanks,

King Wilder



这篇关于ServerXMLHTTP40等效...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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