摘要: Below is the C# code used to create our sample web service:namespace RelevantCodes.TestingWebServices{ using System; using System.Web.Services; using System.Xml; using System.Xml.Serialization; using System.Text; [WebService(Namespace = "localhost")] [WebServiceBinding(ConformsTo = WsiProf 阅读全文
posted @ 2013-11-22 20:18 dushuai 阅读(162) 评论(0) 推荐(0) 编辑
摘要: MethodDescriptionopen(method, URL) open(method, URL, async) open(method, URL, async, username) open(method, URL, async, username, password)Specifies the arguments and other optional attributes of a request. Method parameter can be one of the following, or other HTTP methods: • DELET... 阅读全文
posted @ 2013-11-22 16:33 dushuai 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Set Obj = ORUtil.GetObject("Browser(""Browser"")")'Update one of the propertiesObj.SetTOProperty "title", "this is set using API"'Update the object we have changedORUtil.Update obj'Save the object repository changesORUtil.SaveSet Obj = No 阅读全文
posted @ 2013-11-22 09:01 dushuai 阅读(111) 评论(0) 推荐(0) 编辑
摘要: Dim ORUtil'Create the object repository automation APISet ORUtil = CreateObject("Mercury.ObjectRepositoryUtil")'Load the object repositoryORUtil.Load "C:\temp\SharedOR.tsr"'Get all the objects with class as WebTableSet allTableObjects = ORUtil.GetAllObjectsByClass(&qu 阅读全文
posted @ 2013-11-22 08:57 dushuai 阅读(125) 评论(0) 推荐(0) 编辑