访问网络服务而不使用VSTO的“添加网页参考...” [英] accessing a web service without using VSTO's "add web ref..."

查看:78
本文介绍了访问网络服务而不使用VSTO的“添加网页参考...”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上我的问题是,即将托管我网站的服务器不允许我阅读dll,而当我使用"添加网页参考..."时它生成了这样一个文件。

我需要在web服务上调用一个方法,但是从.aspx文件中调用,所以没有dll的编号。

所以现在我有点迷路了,我必须练习的唯一代码是一些旧的vb6?代码,创建者创建了SoapConnector,Serializer并制作了SoapAction。虽然这对我没什么帮助。

任何对解决方案都有好主意的人,如果可能的话,还有一个小代码示例?

如果问题或问题被严重描述,请问:)

Well basically my prob is that the server that is going to host my site wont allow me to read dll's, and when I use the "add web ref.." it generates such a file.

I need to call a method on a webservice, but from within the .aspx file so no dll's is made.

So now im a bit lost, the only code I had to practice from was some old vb6? code, where the creator made a SoapConnector, Serializer and made a SoapAction. Though that havent helped me much.

Anyone that have a good idea about a solution and if possible a small code example?

If the question or problem is badly descripted just ask :)

推荐答案

" Add Web Reference"不会创建DLL。是什么让你相信它呢?
"Add Web Reference" does not create a DLL. What led you to believe that it did?


这篇关于访问网络服务而不使用VSTO的“添加网页参考...”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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