会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
许明吉博客
C# winForm Delphi 技术交流 Skype:szxumingji
博客园
首页
新随笔
联系
管理
订阅
随笔分类 -
C# WebServer+Delphi SOAP
C# WebServer + delphi SOAP 的应用知识
C#中Request.ServerVariables详细说明及代理
摘要:Request.ServerVariables("Url")返回服务器地址Request.ServerVariables("Path_Info")客户端提供的路径信息Request.ServerVariables("Appl_Physical_Path")与应用程序元数据库路径相应的物理路径Request.ServerVariables("Path_Translated")通过由虚拟至物理的映射后得到的路径Request.ServerVariables("Script_Name")执行脚本的名称
阅读全文
posted @
2011-07-25 14:47
许明吉博客
阅读(9388)
评论(0)
推荐(0)
在WCF服务中获取客户端的IP地址和端口号
摘要:版权声明请尊重原创作品。转载请保持文章完整性,并以超链接形式注明原始作者“tingsking18”和主站点地址,方便其他朋友提问和指正。view plainusingSystem;usingSystem.ServiceModel;usingSystem.ServiceModel.Channels;namespaceWcfService3{//注意:如果更改此处的类名“Service1”,也必须更新Web.config和关联的.svc文件中对“Service1”的引用。publicclassService1:IService1{publicstringGetData(intvalue){//提供
阅读全文
posted @
2011-07-25 14:29
许明吉博客
阅读(950)
评论(0)
推荐(0)
Delphi 操作webservice返回值为dataset的处理办法
摘要:在微软中国找到了一个官方的说法------不建议将DataSet直接作为返回值传送,因为里面含有大量复杂的schema以及更改等信息,大部分非.NET语言在解析上有困难。建议使用DataSet.WriteXML方法将简化后的XML版本作为一个WideString回传。经过试验,已经在Delphi下轻松通过,Delphi中还需要使用XML Mapper工具事先生成Transfomation(XTR)文件。 Delphi7客户端代码 -----------------------------------------------------------------------------------
阅读全文
posted @
2011-07-22 11:22
许明吉博客
阅读(3885)
评论(0)
推荐(0)
天气预报WebServer接口
摘要:http://webservice.webxml.com.cn/WebServices/WeatherWS.asmx可以试着用delphi调用啊
阅读全文
posted @
2011-07-22 10:03
许明吉博客
阅读(1336)
评论(0)
推荐(0)
WebService获取服务端硬件信息和客户端IP,MAC,浏览器信息,所在城市-
摘要:using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Diagnostics;using System.Web;using System.Web.Services;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.HtmlControls;using System.Management;using System.Net;using System.Runtime.I
阅读全文
posted @
2011-07-21 18:03
许明吉博客
阅读(1788)
评论(0)
推荐(0)
delphi 调用 C#写的webservice
摘要:看以下的一个例子(转)先用vs.net创建一个简单的webservices;1.打开vs.net2003 新建一个webservises 命名为WebService1 2.添加两个WebMethod[WebMethod] public string HelloWorld() { return "Hello World 用.NET写的web服务!!^_^ "; } [WebMethod] public string datetostr(DateTime dt)//将时间转换为字符 { return dt.ToUniversalTime().ToString(); } 完整代码
阅读全文
posted @
2011-07-21 16:32
许明吉博客
阅读(5473)
评论(0)
推荐(0)