@WebService(name="AwmsServiceImpl")
public interface AwmsService {
@WebService(endpointInterface="com.huike.wms.ws.ws4awms.AwmsService")
public class AwmsServiceImpl implements AwmsService {
<?xml version="1.0" encoding="UTF-8"?> <!-- <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> --> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xmlns:jaxws="http://cxf.apache.org/jaxws" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> <import resource="classpath:META-INF/cxf/cxf.xml" /> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> <bean id="awmsServiceImpl" class="com.huike.wms.ws.ws4awms.AwmsServiceImpl" abstract="false" lazy-init="default" scope="prototype" autowire="default" dependency-check="default"> <property name="awmsServices"> <ref bean="awmsServices" /> </property> <property name="productService"> <ref bean="productService" /> </property> <property name="resetUserPwService"> <ref bean="resetUserPwService" /> </property> </bean> <jaxws:endpoint id="awmsService" implementor="#awmsServiceImpl" address="/AwmsService" /> <bean id="sortServiceImpl" class="com.huike.wms.ws.ws4sort.SortServiceImpl" abstract="false" lazy-init="default" scope="prototype" autowire="default" dependency-check="default"> <property name="sortsService"> <ref bean="sortsService" /> </property> </bean> <jaxws:endpoint id="sortService" implementor="#sortServiceImpl" address="/SortService" /> </beans>
web.xml
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> <display-name>Struts 2.1.6</display-name> <!-- zh-cn encoding --> <filter> <filter-name>encodeFilter</filter-name> <filter-class>com.huike.hidp.util.EncodeFilter</filter-class> <init-param> <param-name>encode</param-name> <param-value>utf-8</param-value> </init-param> </filter> <!-- 字符编码映射 --> <filter-mapping> <filter-name>encodeFilter</filter-name> <url-pattern>/* </url-pattern> </filter-mapping> <!-- session超时定义,单位为分钟 --> <!-- 配置session时间 设置监听用来记录登陆人员的数量 Start --> <session-config> <session-timeout>780</session-timeout> </session-config> <listener> <listener-class>com.huike.hidp.util.listener.OnlineCounterListener</listener-class> </listener> <!-- End --> <!-- 配置sturts2的 --> <!-- 由于fckeditor上传文件重写了Struts2的FilterDispatcher --> <filter> <filter-name>struts2</filter-name> <filter-class>com.huike.hidp.util.filter.MyStrutsFilterDispatcher</filter-class> <init-param> <param-name>config</param-name> <param-value>struts-default.xml,struts-plugin.xml, ../xml/hidp/struts-admin.xml,../xml/hidp/struts-message.xml, ../xml/hidp/struts-privilege.xml,../xml/hidp/struts-organization.xml, ../xml/hidp/struts-address.xml,../xml/wms/inwarehouse/struts-inwarehouse.xml, ../xml/wms/sortinfo/struts-sortinfo.xml,../xml/wms/outwarehouse/struts-outwarehouse.xml,../xml/wms/atwarehouse/struts-atwarehouse.xml, ../xml/wms/compositequery/struts-compositequery.xml,../xml/wms/baseinfo/struts-baseinfo.xml,../xml/wms/system/struts-system.xml, ../xml/wms/interfacemanage/struts-interfacemanage.xml,../xml/wms/stockmanage/struts-stockmanage.xml</param-value> <!--,../xml/wms/ws/struts-ws.xml--> </init-param> </filter> <!-- <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> --> <!-- 配置系统启动页 --> <welcome-file-list> <welcome-file>/index.jsp</welcome-file> </welcome-file-list> <!--Start配置过滤文件用以限制手动输入jsp路径 --> <filter> <filter-name>dispatcherFilter</filter-name> <!-- <filter-class>com.huike.hidp.util.listener.DispatcherFilter</filter-class>--> <filter-class> com.huike.wms.util.DispatcherFilter</filter-class> </filter> <filter-mapping> <filter-name>dispatcherFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <!--End --> <!-- 配置监听 由spring来管理 --> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/xml/hidp/applicationContext*.xml,/WEB-INF/xml/wms/*/applicationContext*.xml,/WEB-INF/xml/wms/ws/interface*.xml</param-value><!--,/WEB-INF/xml/wms/*/interface*.xml--> </context-param> <filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/homePageToLeft/*</url-pattern><url-pattern>/homePageToMainTop/*</url-pattern><url-pattern>/homePageToMainTop!setDesktopSetup</url-pattern><url-pattern>/homePageToRight/*</url-pattern><url-pattern>/homePageToRight!toMenuList</url-pattern><url-pattern>/exitAction</url-pattern><url-pattern>*.jsp</url-pattern> <url-pattern>/action/*</url-pattern><url-pattern>/struts/*</url-pattern><url-pattern>/innersmleft</url-pattern><url-pattern>/innersmmain</url-pattern><url-pattern>/phsysman/*</url-pattern><url-pattern>/log/*</url-pattern><url-pattern>/mail/*</url-pattern><url-pattern>/system/*</url-pattern><url-pattern>/tobacco_wms/*</url-pattern><url-pattern>/privilege/*</url-pattern><url-pattern>/address/*</url-pattern><url-pattern>/message/*</url-pattern><url-pattern>/organization/*</url-pattern><url-pattern>/wfmgr/*</url-pattern> </filter-mapping> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <!-- fckeditor上传文件 --> <servlet> <servlet-name>Connector</servlet-name> <servlet-class>com.huike.hidp.util.servlet.ConnectorServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Connector</servlet-name> <url-pattern>/fckeditor/editor/filemanager/connectors/*</url-pattern> </servlet-mapping> <!--End --> <filter> <filter-name>SetCharacterEncoding</filter-name> <filter-class>com.huike.wms.util.SetCharacterEncodingFilter</filter-class> <init-param> <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param> <init-param> <param-name>enable</param-name> <param-value>true</param-value> </init-param> </filter> <servlet> <servlet-name>CXFServlet</servlet-name> <servlet-class> org.apache.cxf.transport.servlet.CXFServlet </servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>CXFServlet</servlet-name> <url-pattern>/services/*</url-pattern> </servlet-mapping> <servlet> <servlet-name>EngineServlet</servlet-name> <servlet-class>org.eclipse.birt.report.servlet.BirtEngineServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>EngineServlet</servlet-name> <url-pattern>/preview</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>EngineServlet</servlet-name> <url-pattern>/download</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>EngineServlet</servlet-name> <url-pattern>/parameter</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>EngineServlet</servlet-name> <url-pattern>/document</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>EngineServlet</servlet-name> <url-pattern>/output</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>EngineServlet</servlet-name> <url-pattern>/extract</url-pattern> </servlet-mapping> <servlet> <servlet-name>entryBillReport</servlet-name> <servlet-class>com.huike.wms.report.entryservlet.EntrySeatReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>entryBillReport</servlet-name> <url-pattern>/report/entryBillReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>deliveryBillReport</servlet-name> <servlet-class>com.huike.wms.report.deliveryservlet.DeliverySeatReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>deliveryBillReport</servlet-name> <url-pattern>/report/deliveryBillReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>abnorReport</servlet-name> <servlet-class>com.huike.wms.report.abnorservlet.AbnorReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>abnorReport</servlet-name> <url-pattern>/report/abnorReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>abnorByTaskCodeReport</servlet-name> <servlet-class>com.huike.wms.report.abnorservlet.AbnorByTaskCodeReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>abnorByTaskCodeReport</servlet-name> <url-pattern>/report/abnorByTaskCodeReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>moveBillReport</servlet-name> <servlet-class>com.huike.wms.report.movebillservlet.MoveBillReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>moveBillReport</servlet-name> <url-pattern>/report/moveBillReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>productReport</servlet-name> <servlet-class>com.huike.wms.report.productservlet.ProductReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>productReport</servlet-name> <url-pattern>/report/productReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>productDailyReport</servlet-name> <servlet-class>com.huike.wms.report.productservlet.ProductDailyReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>productDailyReport</servlet-name> <url-pattern>/report/productDailyReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>clearStockReport</servlet-name> <servlet-class>com.huike.wms.report.sortservlet.ClearStockReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>clearStockReport</servlet-name> <url-pattern>/report/clearStockReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>sortVwDeliveryReport</servlet-name> <servlet-class>com.huike.wms.report.sortservlet.SortVwDeliveryReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>sortVwDeliveryReport</servlet-name> <url-pattern>/report/sortVwDeliveryReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>productQtyReport</servlet-name> <servlet-class>com.huike.wms.report.productservlet.ProductQtyReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>productQtyReport</servlet-name> <url-pattern>/report/productQtyReport</url-pattern> </servlet-mapping> <servlet> <servlet-name>preStockReport</servlet-name> <servlet-class>com.huike.wms.report.prestockservlet.PreStockReport</servlet-class> </servlet> <servlet-mapping> <servlet-name>preStockReport</servlet-name> <url-pattern>/report/preStockReport</url-pattern> </servlet-mapping> </web-app>
相关推荐
### Java Web 开发复习知识点详解 #### 一、Tomcat 的简单配置 ##### 1.1 context.xml 配置 **知识点概述**:`context.xml` 文件主要用于配置 Tomcat 的上下文参数,如数据源等。 **详细说明**: - **路径**:`...
根据提供的文件信息,我们可以深入探讨Java Web开发中的几个核心知识点,包括Servlet的基础概念、工作原理以及其实现方式等。下面是对这些知识点的详细说明: ### Servlet的继承与实现 Servlet是Java Web应用程序...
Java Web期末复习题含答案 本资源摘要信息涵盖了 Java Web 相关的知识点,包括 Filter、自定义标签、会话跟踪技术、EL 表达式、Servlet 生命周期、请求转发、响应对象等。 Filter 是一种 Java Web@Component,可以...
本复习资料主要针对Java Web开发中的核心概念和技术进行深入解析。 1. **Servlet与JSP** - **Servlet**:Java Servlet是Java语言编写的服务端组件,用于扩展Web服务器的功能。Servlet生命周期包括加载、实例化、...
根据提供的文件信息,标题为“java web复习题1.pdf”,描述是“java web复习题1”,标签为“javaweb”。然而,在给出的部分内容中并未包含任何与Java Web相关的具体知识点或信息,而是重复出现了一个非相关的词语。...
【Java Web复习题】 Java Web 是Java技术在Web开发中的应用,主要涉及前端HTML、CSS、JavaScript以及后端Servlet、JSP、JavaBean等技术。本题涉及到的知识点包括: 一、HTML基础知识: 1. HTML全称为Hyper Text ...
在复习Java EE时,除了这些框架,还需要掌握Servlet和JSP的基础知识,它们是构建动态Web应用的基础。Servlet是Java编写的小型服务器端程序,负责处理HTTP请求,而JSP则是用于创建动态网页的视图技术,将HTML代码与...
Java Web知识点复习提纲1 本文档旨在总结Java Web知识点,涵盖了Java Web概述、Servlet、会话跟踪技术等方面的知识点。 一、Java Web概述 * WWW(万维网)的全称是World Wide Web * C/S架构:Client-Server架构,...
【Java Web应用开发知识点】 1. JSP表达式:在JSP中,要使用一个表达式,需要用到`<%= %>`元素,它用于输出变量或表达式的值到...在学习和复习过程中,理解并掌握这些知识点对于提升Java Web应用开发能力至关重要。
Java Web技术是构建Web应用程序的重要组成部分,特别是在企业级开发中广泛应用。以下是对Java Web相关知识点的详细解释: 1. **Servlet基础**: - Servlet是Java编程语言中的一个接口,用于扩展服务器的功能。在...
(A) destroy() (B) doGet() (C) service() (D) init0 response对象的 setHeader( String name, String value) 方法的作用是 A 添加 HTTP 文件头 B 设定指定名字的 HTTP 文件头的值 C 判断指定名字的 HTTP 文件头...
【JAVA-WEB期末复习知识点详解】 1. **Servlet生命周期**: Servlet的生命周期包括初始化、服务和销毁三个阶段。在用户首次请求Servlet时,Servlet容器(如Tomcat)会调用Servlet的`init()`方法进行初始化,然后在...
### Java-Web考试复习知识点概览 #### 一、Web应用基础 - **HTML文档结构**: - HTML文档必须以`<html>`标签开头,并以`</html>`标签结束。 - 文档头部信息(如标题、元数据等)位于`<head>`和`</head>`标签之间...
这份“java web基础大纲笔记”提供了全面的知识框架,是学习和复习的宝贵资料。以下是对大纲内容的详细解读: 1. **Java语言基础**:这部分包括了Java语言的基本语法、数据类型、控制结构(如if、switch、for、...
本压缩包包含的“高技能鉴定辅导材料java”很可能是针对Java Web开发人员的考试复习资料,旨在帮助他们掌握核心概念、技术和最佳实践。 1. **Servlet与JSP**: - Servlet是Java服务器端编程的基础,它扩展了Web...
### Java EE复习重点 #### 一、Java EE 运行流程及 Java Web 执行流程 - **Java EE 运行流程**:Java EE 应用通常由一系列 Web 组件和服务组成,包括 Servlet、JSP 页面、EJB 等。运行流程主要包括应用程序服务器...
"Java Web 知识点复习提纲(二)" 该知识点复习提纲主要涵盖了 Java Web 开发中的多个重要知识点,包括内部跳转和重定向的区别、Servlet 和 JSP 的异同点、Servlet 框架中的监听器、Statement 中可以执行 SQL 命令...
Java Web技术是构建互联网应用程序的重要工具,主要用于创建动态、交互式的网页服务。这份"java web 笔记整理"涵盖了该领域的关键概念和技术,包括Servlet、JSP、MVC模式、JNDI、JTA以及EJB等核心内容。以下是根据...