Creating an ASP.NET Web Form Client
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcreatingwebformclient.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcreatingwebformclient.asp
解决方案 »
- Cookie 无法获取问题
- treeview如何显示大量数据绑定(优化)
- 多线程式中怎样才能让线程执行完才进行接下去的操作?
- 请教大家是否有用户注册时检查用户名无刷新验证的例子
- GridView控件分页显示时出的错误
- 模板列隐藏和排序功能为什么不能同时有效==========================?
- 急,现场不定期出现的问题!
- 问一个ASPX超级郁闷的问题,会不会VS。NET那里出问题了啊,想哭啊。。。。
- 一个登录问题
- 各位大哥,用过FreeTextBox请帮忙想想如何实现只在工具栏上只显示一个打印按钮,其它的工具栏都不要。
- 关于调用别人的webserivices问题?
- 关于注册表的问题,为什么我取注册表的子目录都取不到
using 命名空间
像使用普通类一样,掉用就行了
Dim url,xmlhttp,sendXMLurl = "http://terraserver-usa.com/landservice.asmx?wsdl"sendXML="<?xml version='1.0' encoding='utf-8'?>"
sendXML=sendXML+"<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>"
sendXML=sendXML+"<soap:Body>"
sendXML=sendXML + "<GetLandTypes xmlns='http://terraserver-usa.com/LandServer/' />"sendXML=sendXML+"</soap:Body>"
sendXML=sendXML+"</soap:Envelope>"xmlhttp=createobject("microsoft.xmlhttp")
xmlhttp.open("Post",url,false)
xmlhttp.SetRequestHeader("Content-Type","text/xml; charset=utf-8")
xmlhttp.SetRequestHeader("SOAPAction","http://terraserver-usa.com/LandServer/GetLandTypes")
xmlhttp.send(sendXML)'response.write(xmlhttp.status+"<br>")
'response.write(xmlhttp.responseText)
%>在问一下,在asp.net中这样行不行,目前是xmlhttp.send(sendXML)这句出错。