[置顶] 第一章 设计一个简单的web service接口

摘要: 本章主要内容: 你将学会如何设计一个简单的web service接口 1. 穿越网络提供跨平台操作 2.RPC 类型的web service 3.文档类型的web service( Document style web service) 4.确定文档类型的web service的操作( operation) 5.Port 类型 6.绑定( Binding) 7.端口( port) 8.目标命名空间( Target namespace) 9.WSDL 10.本章总结 阅读全文

posted @ 2011-01-20 17:22 韩连生 阅读(11806) 评论(4) 推荐(3)

2011年1月26日

第四章 理解web service的调用过程(calling process)

摘要: 第四章理解web service的调用过程(calling process)上一章配置更高效的web service开发环境本章主要内容: 本章主要讲解了,当你调用一个web service时,其内部到底是如何运作的。1.不通过client stub调用web service 假设我们不想通过client stub调用一个web service。我们可以在SimpleService工程中创建一个LowLevelClient.java文件,并把其放入com.ttdev.ss.lowlevel包中: 定义makeRequest()方法: 运行程序文件,正常工作。这个程序使用了被称为AXIOM(Ax 阅读全文

posted @ 2011-01-26 16:45 韩连生 阅读(3770) 评论(0) 推荐(1)

第五章 web service 中接受多个参数

摘要: 第五章web service 中接受多个参数上一章 理解web service的调用过程(calling process)本章主要内容:如何在实现类中接受多个参数1. 接受多个参数考虑类SimpleServiceImpl:[代码]因为这个web service是文档类型的,在输入消息(Input message)包含一个part。因此在服务实现类中对应一个参数。对于输出消息也是类似的。如果实现类能够如下实现,将会更直接方便:[代码]在消息中,若依然是接受一个part(concatRequest)。如果实现多个参数,仅仅需要对WSDL文件作两个地方的修改:对于output message道理 阅读全文

posted @ 2011-01-26 16:44 韩连生 阅读(3009) 评论(0) 推荐(0)

2011年1月25日

第三章 配置更高效的web service开发环境

摘要: 第三章 配置更高效的web service开发环境上一章通过AXIS2实现一个简单的web service本章主要内容:本章主要介绍了如何配置一个高效的web service 开发环境。1.自动把类文件存放到Axis 到目前为止,对web service中java源码做的任何更改,都要重新拷贝到Axis服务器更改才能生效。这是一件很麻烦的事情。解决这个问题,可以通过配置eclipse使得类文件修改后自动存放在Axis服务器中: 然而,有一个难题:因为在eclipse工程中只能有一个文件夹作为输出(output)文件夹。幸运的是,为突破这个限制,eclipse提供了一种解决方案,通过链接到外部文 阅读全文

posted @ 2011-01-25 17:45 韩连生 阅读(4042) 评论(0) 推荐(3)

2011年1月24日

第二章 通过AXIS2实现一个简单的web service

摘要: 第二章 实现一个简单的web service前一章设计一个简单的web service 接口本章主要内容:如何实现第一章设计的web service 接口。1.安装eclipse 需要安装eclipse v3.3或者以上版本,而且满足JavaEE开发。如果没有去http://www.eclipse.org下载JavaEE开发版本的Eclipse IDE(比如:eclipse-jee-helios-SR1-win32.zip)。解压到路径c:\eclipse.然后在桌面创建快捷方式。并创建默认工作空间c:\workspace.运行eclipse并转到JavaEE开发透视图下: Eclipse的B 阅读全文

posted @ 2011-01-24 17:32 韩连生 阅读(10251) 评论(5) 推荐(4)

2009年11月5日

Files and common dialog boxes

摘要: 1. C# classes can define a static constructor that is invoked exactly once for a class, typically just before the first reference to a member of that class. The Environment class contains members that... 阅读全文

posted @ 2009-11-05 16:59 韩连生 阅读(260) 评论(0) 推荐(0)

【转】如何在 Visual Basic .NET 中使用 ADO.NET 检索和修改 Excel 工作簿中的记录

摘要: 如何在 Visual Basic .NET 中使用 ADO.NET 检索和修改 Excel 工作簿中的记录网址:http://support.microsoft.com/kb/316934/zh-cn#top在Visual C#.NET 中使用GetOleDbSchemaTable 从Excel 如何: 检索http://support.microsoft.com/kb/318452/zh-cn 阅读全文

posted @ 2009-11-05 08:38 韩连生 阅读(272) 评论(0) 推荐(0)

2009年10月19日

Reusable libraries

摘要: A class library is a good way to encapsulate a common set of logic so it can be shared among multiple application. This is useful both to promote reusability of the classes in the library and to keep the portions of an application down to a manageable size. An interface is an abstraction of an abstraction, and should be familiar to programmers of COM or its UNIX ancestor, the distributed computing environment(DCE). While a class encapsulates a data structure and its operations, an interfa 阅读全文

posted @ 2009-10-19 15:28 韩连生 阅读(255) 评论(0) 推荐(0)

2009年10月14日

Context menu strips

摘要: Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 Context menu strips 1. Context menus provide quick access to commands immediately relevant to what the user is currently trying to acco... 阅读全文

posted @ 2009-10-14 16:06 韩连生 阅读(371) 评论(0) 推荐(0)

2009年10月13日

Menus

摘要: Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 Menus 1. Menus provide a convenient way to group similar or related commands in one place. Controls and Containers 1. All Windows For... 阅读全文

posted @ 2009-10-13 16:36 韩连生 阅读(448) 评论(0) 推荐(0)

导航