随笔分类 -  asp.net

android安卓程序源码---高仿微信源码
摘要:先截几张图:部份源代码如下所示:package cn.buaa.myweixin;import java.util.ArrayList;import android.os.Bundle;import android.app.Activity;import android.content.Intent;import android.support.v4.view.PagerAdapter;import android.support.v4.view.ViewPager;import android.support.v4.view.ViewPager.OnPageChangeListener;im 阅读全文

posted @ 2013-09-30 19:07 E猫 阅读(2347) 评论(2) 推荐(1)

Asp.Net下采用GET/POST/SOAP方式动态调用WebService
摘要:using System;using System.Web;using System.Xml;using System.Collections;using System.Net;using System.Text;using System.IO;using System.Xml.Serialization; /// <summary>/// 利用WebRequest/WebResponse进行WebService调用的类/// </summary>public class WebSvcCaller{ //<webServices> // <protoc 阅读全文

posted @ 2012-03-09 23:41 E猫 阅读(1170) 评论(2) 推荐(1)

Net 下采用GET/POST/SOAP方式动态调用WebService
摘要:一直以来,我们都为动态调用WebService方法而烦恼。在.Net环境下,最常用的方法就是采用代理类来调用WebService,可以通过改变代理类的Url属性来实现动态调用,但当xmlns改变时就会出错,似乎要重新绑定Webservice并重新编译后才能再次运行。我无意中通过百度搜索找了一个采用GET/POST/SOAP方式动态调用WebService的简易灵活方法,只需传入WebService地址、需调用的方法及其参数,就可以随时动态调用了。经过测试调用成功,现分享给大家,代码如下:using System;using System.Web;using System.Xml;using S 阅读全文

posted @ 2012-03-04 22:43 E猫 阅读(462) 评论(0) 推荐(0)

导航