摘要: C# 服务端代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Services;using System.Data;using System.Xml;using System.Web.Services.Protocols;using System.Data.SqlClient;/// ///GetCRMDB 的摘要说明/// [WebService(Namespace = "http://tempuri.org/")][Web 阅读全文
posted @ 2014-03-12 14:57 pengsihao 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 最近遇到一个项目,需要使用C# 调用PHP编写的Webservices 发送短信。如下是实现方案,仅供参考使用 PHP 编写WebService ,可以使用nusoap 插件或Php自带的 soap 组件,我使用的Php 自带的soap组件//server端 serverSoap.php$soap = new SoapServer(null,array('uri'=>"http://192.168.1.123/"));$soap->addFunction('Add_func'); //Registe... 阅读全文
posted @ 2014-03-12 12:21 pengsihao 阅读(775) 评论(0) 推荐(0) 编辑