package com.ws.client.service;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
import com.ws.client.domain.User;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.4-b01
* Generated source version: 2.2
*
*/
@WebService(name = "UserService", targetNamespace = "http://service.server.ws.com/")
@XmlSeeAlso({
// ObjectFactory.class
})
public interface UserService {
/**
*
* @param arg0
* @return
* returns java.lang.String
*/
@WebMethod
@WebResult(targetNamespace = "")
@RequestWrapper(localName = "selectUser", targetNamespace = "http://service.server.ws.com/", className = "com.ws.wsim.SelectUser")
@ResponseWrapper(localName = "selectUserResponse", targetNamespace = "http://service.server.ws.com/", className = "com.ws.wsim.SelectUserResponse")
public String selectUser(
@WebParam(name = "arg0", targetNamespace = "")
String arg0);
/**
*
* @param arg0
* @return
* returns boolean
*/
@WebMethod
@WebResult(targetNamespace = "")
@RequestWrapper(localName = "insertUser", targetNamespace = "http://service.server.ws.com/", className = "com.ws.wsim.InsertUser")
@ResponseWrapper(localName = "insertUserResponse", targetNamespace = "http://service.server.ws.com/", className = "com.ws.wsim.InsertUserResponse")
public boolean insertUser(
@WebParam(name = "arg0", targetNamespace = "")
User arg0);
/**
*
* @return
* returns java.util.List<com.ws.wsim.User>
*/
@WebMethod
@WebResult(targetNamespace = "")
@RequestWrapper(localName = "findAllUsers", targetNamespace = "http://service.server.ws.com/", className = "com.ws.wsim.FindAllUsers")
@ResponseWrapper(localName = "findAllUsersResponse", targetNamespace = "http://service.server.ws.com/", className = "com.ws.wsim.FindAllUsersResponse")
public List<User> findAllUsers();
}
没有合适的资源?快使用搜索试试~ 我知道了~
Java cxf开发webservice,分别有客户端和服务端
共138个文件
jar:74个
class:25个
xml:8个
5星 · 超过95%的资源 需积分: 50 136 下载量 139 浏览量
2014-09-12
14:07:58
上传
评论 3
收藏 22.32MB RAR 举报
温馨提示
1.使用Java 2.用cxf开发webservice 3.这个服务端和客户端的小demo 在服务端 对外开放接口服务,然后在客户端 调用服务端的方法, 实现客户端(一个javaweb项目)对服务端(javaweb项目)方法的调用, 实际上就是发送和接收消息,实现两个系统间消息的传递 jar包都在lib项目里 具体再解释一下,服务端需要 接口类,实现类,cxf 服务端xml,和一个pojo 客户端也需要接口类文件和pojo,和cxf客户端xml 但是没有接口的实现类,就是为了去服务端来调用的。 具体有不懂可以问我 给我发消息, 劳烦评价 ,请大家支持原创 禁止转载
资源推荐
资源详情
资源评论
收起资源包目录
Java cxf开发webservice,分别有客户端和服务端 (138个子文件)
ObjectFactory.class 3KB
UserServiceImplService.class 2KB
HelloWroldImpleService.class 2KB
APP.class 2KB
APPTest.class 1KB
UserServiceImpl.class 1KB
UserService.class 1KB
UserService.class 1KB
UserService.class 1KB
HelloWorld.class 921B
FindAllUsersResponse.class 855B
User.class 776B
SelectUserResponse.class 748B
PrintlnResponse.class 739B
PrintResponse.class 733B
User.class 723B
User.class 723B
InsertUserResponse.class 696B
InsertUser.class 650B
SelectUser.class 650B
Print.class 635B
FindAllUsers.class 432B
UserService.class 420B
Println.class 417B
package-info.class 246B
.classpath 572B
.classpath 572B
org.eclipse.wst.common.component 552B
org.eclipse.wst.common.component 534B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.jsdt.ui.superType.container 49B
cxf-2.4.2.jar 5.32MB
cxf-2.4.2.jar 5.32MB
jaxb-impl-2.2.1.1.jar 857KB
jaxb-impl-2.2.1.1.jar 857KB
org.springframework.context-3.0.6.RELEASE.jar 655KB
spring-context-3.0.5.RELEASE.jar 653KB
commons-collections-3.2.1.jar 562KB
commons-collections-3.2.1.jar 562KB
org.springframework.beans-3.0.6.RELEASE.jar 544KB
spring-beans-3.0.5.RELEASE.jar 542KB
log4j-1.2.16.jar 470KB
org.springframework.web.servlet-3.0.6.RELEASE.jar 410KB
org.springframework.web-3.0.6.RELEASE.jar 389KB
spring-web-3.0.5.RELEASE.jar 386KB
org.springframework.jdbc-3.0.6.RELEASE.jar 377KB
spring-core-3.0.5.RELEASE.jar 373KB
org.springframework.core-3.0.6.RELEASE.jar 373KB
org.springframework.orm-3.0.6.RELEASE.jar 327KB
org.springframework.aop-3.0.6.RELEASE.jar 314KB
spring-aop-3.0.5.RELEASE.jar 314KB
spring-security-core-3.0.7.RELEASE.jar 305KB
jetty-server-7.4.5.v20110725.jar 292KB
jetty-server-7.4.5.v20110725.jar 292KB
commons-lang-2.6.jar 278KB
commons-lang-2.6.jar 278KB
spring-security-web-3.0.7.RELEASE.jar 238KB
spring-tx-3.0.5.RELEASE.jar 226KB
org.springframework.transaction-3.0.6.RELEASE.jar 226KB
jetty-util-7.4.5.v20110725.jar 203KB
jetty-util-7.4.5.v20110725.jar 203KB
org.springframework.test-3.0.6.RELEASE.jar 200KB
spring-security-config-3.0.7.RELEASE.jar 181KB
org.springframework.jms-3.0.6.RELEASE.jar 181KB
spring-jms-3.0.5.RELEASE.jar 181KB
org.springframework.web.portlet-3.0.6.RELEASE.jar 172KB
org.springframework.expression-3.0.6.RELEASE.jar 166KB
spring-expression-3.0.5.RELEASE.jar 166KB
xmlschema-core-2.0.jar 156KB
xmlschema-core-2.0.jar 156KB
wsdl4j-1.6.2.jar 145KB
wsdl4j-1.6.2.jar 145KB
jetty-http-7.4.5.v20110725.jar 112KB
jetty-http-7.4.5.v20110725.jar 112KB
jaxb-api-2.2.1.jar 102KB
jaxb-api-2.2.1.jar 102KB
org.springframework.context.support-3.0.6.RELEASE.jar 99KB
jetty-io-7.4.5.v20110725.jar 88KB
jetty-io-7.4.5.v20110725.jar 88KB
jetty-security-7.4.5.v20110725.jar 81KB
jetty-security-7.4.5.v20110725.jar 81KB
neethi-3.0.1.jar 69KB
neethi-3.0.1.jar 69KB
org.springframework.oxm-3.0.6.RELEASE.jar 60KB
commons-logging-1.1.1.jar 59KB
commons-logging-1.1.1.jar 59KB
geronimo-jaxws_2.2_spec-1.0.jar 59KB
geronimo-jaxws_2.2_spec-1.0.jar 59KB
org.springframework.asm-3.0.6.RELEASE.jar 52KB
spring-asm-3.0.5.RELEASE.jar 52KB
org.springframework.aspects-3.0.6.RELEASE.jar 35KB
geronimo-stax-api_1.0_spec-1.0.1.jar 28KB
geronimo-stax-api_1.0_spec-1.0.1.jar 28KB
jetty-continuation-7.4.5.v20110725.jar 20KB
jetty-continuation-7.4.5.v20110725.jar 20KB
spring-security-taglibs-3.0.7.RELEASE.jar 18KB
geronimo-ws-metadata_2.0_spec-1.1.3.jar 15KB
geronimo-ws-metadata_2.0_spec-1.1.3.jar 15KB
geronimo-annotation_1.0_spec-1.1.1.jar 12KB
geronimo-annotation_1.0_spec-1.1.1.jar 12KB
共 138 条
- 1
- 2
程序员chin
- 粉丝: 17
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页