用于VB6中的Web服务的soap客户端 - connectorproperty等 [英] soap client for web service in VB6 - connectorproperty and more

查看:384
本文介绍了用于VB6中的Web服务的soap客户端 - connectorproperty等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello people



我正在尝试使用vb6中的soap客户端调用Web服务。我在网上搜索过,发现有些人使用了client.ConnectorProperty(EndPointURL),有些人跳过它(在MSSoapInit之后)。此外,它用于不同的版本 - 一些提供了WSDL文件的URL,一些放了另一个URL(我假设的Web服务文件夹)。这有什么意义?



我已经尝试了所有可能性并且总是出错。我试图自己寻找答案,但我找不到它。我缺乏一些关于SOAP等的基本知识,但我现在没时间从头开始学习它了。抱歉。



无论如何,我应该使用什么? - 我试图在本地测试Web服务,即服务在我的IIS6服务器上,我在这行中手动更改了.NET生成的wsdl文件 - http://localhost/defaultwebsite/MyApp/webservice.asmx



非常感谢你的帮助我真的需要它

Hello people

I am trying to invoke a web service using a soap client in vb6. I have searched the net and noticed that some used client.ConnectorProperty("EndPointURL") and some skipped it (after MSSoapInit). Also, it was used in different versions - some gave the URL of the WSDL file and some put another URL (of the web service folder I assume). What is the significance of this?

I have tried all possibilities and always got errors. I tried to look for the answer myself and I couldn't find it. I lack some basic knowledge of SOAP etc but I have no time now to learn it from scratch now sorry.

Anyway, what should I use? - I am trying to test the web service locally i.e. the service is on my IIS6 server and I changed manually the wsdl file generated by .NET in this line - http://localhost/defaultwebsite/MyApp/webservice.asmx"

Thank you very much for your help I really need it

推荐答案

你好b $ b

你可以轻松地做到这一点,不要担心只需按照这些链接:



使用VB6.0应用程序使用Web服务.NET [ ^ ]

http://msdn.microsoft.com/en-us/library/ aa730836(v = vs.80).aspx [ ^ ]



如果你想使用SOAP名字对象:

http://stackoverflow.com/questions/5104143/how-to-consume-a-soap-web-service-in-vb6 [ ^ ]



最好的问候
Hi
You can do that easily don`t worry just follow these links:

Consuming a Web Service .NET with VB6.0 App[^]
http://msdn.microsoft.com/en-us/library/aa730836(v=vs.80).aspx[^]

and if you want to use SOAP moniker:
http://stackoverflow.com/questions/5104143/how-to-consume-a-soap-web-service-in-vb6[^]

Best Regards


这篇关于用于VB6中的Web服务的soap客户端 - connectorproperty等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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