Эх сурвалжийг харах

git-svn-id: https://192.168.57.71/svn/jsgkj@600 931142cf-59ea-a443-aa0e-51397b428577

ld_guxl 8 жил өмнө
parent
commit
6b69db227d
100 өөрчлөгдсөн 397 нэмэгдсэн , 0 устгасан
  1. 3 0
      gkjsjy/jsjy/exchangeWeb/WebRoot/META-INF/MANIFEST.MF
  2. 130 0
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/batis-Context.xml
  3. 40 0
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/beans-Context.xml
  4. 30 0
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/client-beans.xml
  5. 33 0
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/config/config.properties
  6. 86 0
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/jsplibrary/demo/WebService1.asmx.cs
  7. 75 0
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/jsplibrary/demo/call.jsp
  8. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/antlr-2.7.7.jar
  9. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/aopalliance-1.0.jar
  10. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/asm-3.3.jar
  11. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/asm-commons-3.3.jar
  12. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/asm-tree-3.3.jar
  13. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/aspectjrt.jar
  14. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/aspectjweaver.jar
  15. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/bean-validator.jar
  16. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/builder-0.6.2.jar
  17. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cglib-nodep-2.1_3.jar
  18. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/classworlds-1.1.jar
  19. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-beanutils-1.8.0.jar
  20. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-chain-1.2.jar
  21. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-codec-1.9.jar
  22. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-collections-3.1.jar
  23. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-dbcp-1.3.jar
  24. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-digester-2.0.jar
  25. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-fileupload-1.3.1.jar
  26. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-io-2.2.jar
  27. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-lang-2.4.jar
  28. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-lang3-3.2.jar
  29. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-logging-1.1.3.jar_
  30. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-logging-1.2.jar
  31. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-logging-api-1.1.jar_
  32. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-pool-1.5.4.jar
  33. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-pool2-2.4.2.jar
  34. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-validator-1.3.1.jar
  35. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/core-0.6.2.jar
  36. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-core-3.0.4.jar
  37. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-bindings-soap-3.0.4.jar
  38. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-bindings-xml-3.0.4.jar
  39. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-databinding-jaxb-3.0.4.jar
  40. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-frontend-jaxws-3.0.4.jar
  41. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-frontend-simple-3.0.4.jar
  42. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-transports-http-3.0.4.jar
  43. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-ws-addr-3.0.4.jar
  44. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-ws-policy-3.0.4.jar
  45. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-wsdl-3.0.4.jar
  46. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/dom4j-1.6.1.jar
  47. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/druid-1.0.15.jar
  48. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/dwr-1.1.1.jar
  49. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/ezmorph-1.0.6.jar
  50. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/fluent-hc-4.5.1.jar
  51. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/freemarker-2.3.22.jar
  52. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/google-collections-1.0.jar_
  53. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/google-gxp-0.2.4-beta.jar_
  54. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/guava-r09.jar
  55. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hamcrest-core-1.3.jar
  56. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-commons-annotations-4.0.5.Final.jar
  57. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-core-4.3.10.Final.jar
  58. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-entitymanager-4.3.10.Final.jar
  59. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar
  60. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-validator-5.2.1.Final.jar_
  61. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpclient-4.5.1.jar
  62. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpclient-cache-4.5.1.jar
  63. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpclient-win-4.5.1.jar
  64. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpcore-4.4.3.jar
  65. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpmime-4.5.1.jar
  66. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-annotations-2.5.0.jar
  67. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-core-2.5.3.jar
  68. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-core-asl-1.9.13.jar
  69. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-core-asl-1.9.2.jar_
  70. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-databind-2.5.3.jar
  71. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-jaxrs-1.9.12.jar
  72. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-jaxrs-base-2.5.3.jar
  73. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-jaxrs-json-provider-2.5.3.jar
  74. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-mapper-asl-1.9.13.jar
  75. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-mapper-asl-1.9.2.jar_
  76. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-module-jaxb-annotations-2.5.3.jar
  77. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-xc-1.9.12.jar
  78. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jandex-1.1.0.Final.jar
  79. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/javassist-3.18.1-GA.jar
  80. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/javax.servlet-api-3.0.1.jar
  81. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/javax.servlet-api-3.0.1.jar_
  82. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jboss-logging-3.1.3.GA.jar
  83. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jboss-logging-annotations-1.2.0.Beta1.jar
  84. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar
  85. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jna-4.1.0.jar
  86. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jna-platform-4.1.0.jar
  87. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/json-lib-2.3-jdk15.jar
  88. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/json-org-1.1.jar
  89. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jstl-1.2.jar
  90. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/juli-6.0.18.jar
  91. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/junit-4.12.jar
  92. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/junit-4.8.2.jar_
  93. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/log4j-1.2.15.jar
  94. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/log4j-api-2.2.jar_
  95. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/log4j-core-2.2.jar_
  96. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/mvel2-2.0.11.jar
  97. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/mybatis-3.2.7.jar
  98. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/mybatis-spring-1.1.1.jar
  99. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/mysql-connector-java-5.1.18-bin.jar
  100. BIN
      gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/neethi-3.0.3.jar

+ 3 - 0
gkjsjy/jsjy/exchangeWeb/WebRoot/META-INF/MANIFEST.MF

@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path: 
+

+ 130 - 0
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/batis-Context.xml

@@ -0,0 +1,130 @@
+<?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:context="http://www.springframework.org/schema/context"
+       xmlns:tx="http://www.springframework.org/schema/tx"
+       xmlns:aop="http://www.springframework.org/schema/aop"
+       xsi:schemaLocation="
+			http://www.springframework.org/schema/beans
+			http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+			http://www.springframework.org/schema/context
+			http://www.springframework.org/schema/context/spring-context-3.0.xsd
+			http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
+			http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd">
+	
+	
+    <context:property-placeholder location="WEB-INF/config/config.properties"/>	
+	<!--
+	<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
+		<property name="driverClassName"><value>${config.jdbc.driverClassName}</value></property>
+		<property name="url"><value>${config.jdbc.url}</value></property>
+		<property name="username"><value>${config.jdbc.username}</value></property>
+		<property name="password"><value>${config.jdbc.password}</value></property>
+		<property name="maxActive"><value>${config.jdbc.maxActive}</value></property>
+		<property name="maxIdle"><value>${config.jdbc.maxIdle}</value></property>
+		<property name="maxWait"><value>${config.jdbc.maxWait}</value></property>
+		<property name="connectionProperties" value="oracle.jdbc.V8Compatible=true;"/>
+		<property name="testOnBorrow" value="true"/> 
+    	<property name="testWhileIdle" value="true"/> 		
+	</bean>
+	-->
+
+	<!-- 
+	通常来说,只需要修改initialSize、minIdle、maxActive。
+	如果用Oracle,则把poolPreparedStatements配置为true,mysql可以配置为false。分库分表较多的数据库,建议配置为false。
+	 -->
+	<bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource"
+		init-method="init" destroy-method="close">
+		<!-- 基本属性 url、user、password -->
+		<property name="url" value="${config.jdbc.url}" />
+		<property name="username" value="${config.jdbc.username}" />
+		<property name="password" value="${config.jdbc.password}" />
+
+		<!-- 配置初始化大小、最小、最大 -->
+		<property name="initialSize" value="${config.jdbc.initialSize}" />
+		<property name="minIdle" value="${config.jdbc.minIdle}" />
+		<property name="maxActive" value="${config.jdbc.maxActive}" />
+
+		<!-- 配置获取连接等待超时的时间 -->
+		<property name="maxWait" value="${config.jdbc.maxWait}" />
+
+		<!-- 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 -->
+		<property name="timeBetweenEvictionRunsMillis" value="60000" />
+
+		<!-- 配置一个连接在池中最小生存的时间,单位是毫秒 -->
+		<property name="minEvictableIdleTimeMillis" value="300000" />
+		<!--  
+		<property name="validationQuery" value="SELECT 'x'" />
+		-->
+		<property name="validationQuery" value="select 1 from dual" />
+		<property name="testWhileIdle" value="true" />
+		<property name="testOnBorrow" value="false" />
+		<property name="testOnReturn" value="false" />
+
+		<!-- 打开PSCache,并且指定每个连接上PSCache的大小 -->
+		<property name="poolPreparedStatements" value="true" />
+		<property name="maxPoolPreparedStatementPerConnectionSize"
+			value="20" />
+
+		<!-- 配置监控统计拦截的filters -->
+		<property name="filters" value="stat" />
+	</bean>
+	
+	<!--  
+	<bean id="jdbcTemplate"
+		class="org.springframework.jdbc.core.JdbcTemplate">
+		<property name="dataSource" ref="dataSource" />
+	</bean>	
+	
+	<bean id="namedParameterJdbcTemplate"
+		class="org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate">
+		<constructor-arg name="dataSource" ref="dataSource"></constructor-arg>
+	</bean>	
+	-->
+	
+	<bean id="transactionManager"
+		class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
+		<property name="dataSource">
+			<ref bean="dataSource" />
+		</property>
+	</bean>
+	
+	<tx:annotation-driven transaction-manager="transactionManager"/>
+   
+	<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
+        <property name="dataSource" ref="dataSource" />
+        <!--<property name="mapperLocations"></property>-->
+        <property name="mapperLocations" value="classpath*:com/cxfws/**/xml/*Mapper.xml" />
+        <property name="typeAliasesPackage" value="org.sjns.bean" />
+    </bean>
+
+	<bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
+        <property name="basePackage" value="com.cxfws.**.mapper" />
+        <property name="sqlSessionFactoryBeanName" value="sqlSessionFactory" />
+    </bean>		
+	
+<!-- 定时器配置 -->
+     <bean id="schedule" class="org.springframework.scheduling.quartz.SchedulerFactoryBean">
+       <property name="triggers">
+           <list>
+              <ref bean ="FZDtSynchTb"/>
+           </list>
+       </property>
+    </bean>  
+    <!-- 许可证附证数据交换 定时器 -->
+      <bean id="FZDtSynchTb" class="org.springframework.scheduling.quartz.CronTriggerBean">
+       <property name="jobDetail" ref="FZDtSynchTbSxl" />
+       <property name="cronExpression" value="0 0/2 * * * ?" /> 
+       <!-- <property name="cronExpression" value="30 14 10 * * ? *" />-->
+    </bean>
+    <!-- 许可证附证定时器对应路径和方法 -->
+    <bean id="FZDtSynchTbSxl" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean">
+       <property name="targetObject" ref="FZSynchTbSxl" />
+       <property name="targetMethod" value="webserviceCall" />
+       <property name="concurrent" value="false"/>
+    </bean>
+     <bean id="FZSynchTbSxl" class="com.cxfws.demo.control.DemoController" scope="prototype">
+    </bean> 
+	
+
+</beans>

+ 40 - 0
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/beans-Context.xml

@@ -0,0 +1,40 @@
+<?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:context="http://www.springframework.org/schema/context"
+       xmlns:tx="http://www.springframework.org/schema/tx"
+       xmlns:aop="http://www.springframework.org/schema/aop"
+       xmlns:jaxws="http://cxf.apache.org/jaxws" 
+       xsi:schemaLocation="
+			http://www.springframework.org/schema/beans
+			http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+			http://www.springframework.org/schema/context
+			http://www.springframework.org/schema/context/spring-context-3.0.xsd
+			http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
+			http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.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-servlet.xml"/>  	
+	
+	<context:annotation-config/>
+	<!-- <aop:aspectj-autoproxy proxy-target-class="true"></aop:aspectj-autoproxy> 强制使用CGLIB -->
+	<aop:aspectj-autoproxy></aop:aspectj-autoproxy>
+
+
+	
+	<context:component-scan base-package="com.cxfws">
+	  <context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller" />
+	</context:component-scan> 
+	
+	
+	<!--  
+	<jaxws:endpoint id="cxfws" implementor="com.cxfws.ws.CxfwsImpl" address="/cxfws"/>
+	-->
+	<!-- WebService 
+	<bean class="org.springframework.remoting.jaxws.SimpleJaxWsServiceExporter">
+		<property name="baseAddress"
+				  value="http://${webService.url}:${webService.port}/" />
+	</bean>
+	-->
+</beans>

+ 30 - 0
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/client-beans.xml

@@ -0,0 +1,30 @@
+<?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:context="http://www.springframework.org/schema/context"
+       xmlns:tx="http://www.springframework.org/schema/tx"
+       xmlns:aop="http://www.springframework.org/schema/aop"
+       xmlns:jaxws="http://cxf.apache.org/jaxws" 
+       xsi:schemaLocation="
+			http://www.springframework.org/schema/beans
+			http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
+			http://www.springframework.org/schema/context
+			http://www.springframework.org/schema/context/spring-context-3.0.xsd
+			http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
+			http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
+			http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">   
+	<!--  
+    <bean id="client" class="com.cxfws.ws.ICxfws" factory-bean="clientFactory" factory-method="create"/>
+    <bean id="clientFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
+        <property name="serviceClass" value="com.cxfws.ws.ICxfws"/>
+        <property name="address" value="http://localhost:8080/cxfwsWeb/service/cxfws"/>
+    </bean>
+    -->
+    <jaxws:client id="client" serviceClass="com.cxfws.ws.ICxfws" address="http://localhost:8080/exchangeWeb/service/cxfws">
+    	<jaxws:outInterceptors>
+    		<bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"></bean>
+    	</jaxws:outInterceptors>
+    </jaxws:client>
+    
+</beans>
+<!-- END SNIPPET: beans -->

+ 33 - 0
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/config/config.properties

@@ -0,0 +1,33 @@
+#Created by JInto - www.guh-software.de
+#Sun Aug 10 16:25:57 CST 2014
+jdbc.username=root
+##################
+### Config DataSource ###
+##################
+config.jdbc.driverClassName=oracle.jdbc.driver.OracleDriver
+config.jdbc.url=jdbc:oracle:thin:@192.168.57.37:1521:orcl
+config.jdbc.username=gk
+config.jdbc.password=gk
+
+
+# Maximum number of dB connections in pool.
+#config.db.maxActive=400
+# Maximum number of idle dB connections to retain in pool.
+#config.db.maxIdle=30
+# Maximum time to wait for a dB connection (in millseconds)
+#config.db.maxWait=10000
+
+config.jdbc.initialSize=50
+config.jdbc.maxIdle=100
+config.jdbc.minIdle=50
+config.jdbc.maxActive=500
+config.jdbc.maxWait=20000
+
+wsname=tbuser
+wspasswd=e10adc3949ba59abbe56e057f20f883e
+#wsname=admin
+#wspasswd=0e7e495120e62fa6e6a7345dc756bd0d
+
+
+ws.ip=192.168.30.141
+ws.port=8088

+ 86 - 0
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/jsplibrary/demo/WebService1.asmx.cs

@@ -0,0 +1,86 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Services;
+using System.Web.Services.Protocols;
+using System.Net;
+using System.Text;
+using System.IO;
+
+namespace WebApplication1
+{
+    /// <summary>
+    /// WebService1 的摘要说明
+    /// </summary>
+    [WebService(Namespace = "http://tempuri.org/")]
+    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
+    [System.ComponentModel.ToolboxItem(false)]
+    // 若要允许使用 ASP.NET AJAX 从脚本中调用此 Web 服务,请取消对下行的注释。
+    // [System.Web.Script.Services.ScriptService]
+    public class WebService1 : System.Web.Services.WebService
+    {
+
+        [WebMethod]
+        public string HelloWorld()
+        {
+
+            //创建HttpWebRequest 实例,使用WebRequest.Create
+            HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create("http://192.168.39.115:8088/userService");
+            //发送请求
+            webRequest.Method = "POST";
+            //编码
+            webRequest.ContentType = "text/xml";
+            string soap = "";
+
+            soap = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
+<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"><soapenv:Header><userService soapenv:actor=\"http://www.w3.org/2003/05/soap-envelope/role/next\">admin&amp;098f6bcd4621d373cade4e832627b4f6</userService>
+</soapenv:Header><soapenv:Body><queryByName xmlns=\"http://webService.yjpt.com/\"><arg0 xmlns=\"\">admin</arg0></queryByName></soapenv:Body></soapenv:Envelope>";
+
+            //字符转字节
+            byte[] bytes = Encoding.UTF8.GetBytes(soap);
+            Stream writer = webRequest.GetRequestStream();
+            writer.Write(bytes, 0, bytes.Length);
+            writer.Flush();
+            writer.Close();
+            string result = "";
+            //返回 HttpWebResponse
+            try
+            {
+                HttpWebResponse hwRes = webRequest.GetResponse() as HttpWebResponse;
+                if (hwRes.StatusCode == System.Net.HttpStatusCode.OK)
+                {//是否返回成功
+                    Stream rStream = hwRes.GetResponseStream();
+                    //流读取
+                    StreamReader sr = new StreamReader(rStream, Encoding.UTF8);
+                    result = sr.ReadToEnd();
+                    sr.Close();
+                    rStream.Close();
+                }
+                else
+                {
+                    result = "连接错误";
+                }
+                //关闭
+                hwRes.Close();
+            }
+            catch (System.Net.WebException ex)
+            {
+                String responseFromServer = ex.Message.ToString() + " ";
+                if (ex.Response != null)
+                {
+                    using (WebResponse response = ex.Response)
+                    {
+                        Stream data = response.GetResponseStream();
+                        using (StreamReader reader = new StreamReader(data))
+                        {
+                            responseFromServer += reader.ReadToEnd();
+                        }
+                    }
+                }
+                return responseFromServer;
+            }
+            return "Hello World";
+        }
+    }
+}

+ 75 - 0
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/jsplibrary/demo/call.jsp

@@ -0,0 +1,75 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8"
+    pageEncoding="UTF-8"%>
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
+<c:set var="contextPath" value="${pageContext.request.contextPath}" ></c:set>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta http-equiv="pragma" content="no-cache">
+<meta http-equiv="cache-control" content="no-cache">
+<meta http-equiv="expires" content="0">
+<title>Insert title here</title>
+
+<script type="text/javascript"
+	src="${contextPath}/resources/scripts/jquery-1.11.1.js"></script>
+<script type="text/javascript"
+	src="${contextPath}/resources/scripts/json2.js"></script>
+<script src="${contextPath}/resources/scripts/gis.common.js" type="text/javascript"></script>
+	
+<script type="text/javascript">
+var bash = bash || {};	 
+bash.script = function() {
+
+};
+
+bash.script.jsonAjax= function(obj,exeJson){
+	var ajaxInfo={
+			type : 'post',
+			dataType : 'json',
+			//contentType : 'application/json;charset=utf-8',
+			//timeout : 10000, //超时时间设置,单位毫秒
+			cache : false,// 不从缓存中去数据
+			async : true,
+			//url : obj.url,
+			//data : JSON.stringify(jsondate),
+			//headers:headinfo,
+			success : function(data) {
+				if(exeJson){
+					exeJson(data);
+				}
+			},
+			error : function(jqXHR, textStatus, errorThrown) {
+				//alert(jqXHR.responseText);
+			}
+		};
+	ajaxInfo.url=obj.url;
+	ajaxInfo.data=obj.data||{};
+	if(typeof(obj.async)!="undefined"){
+		ajaxInfo.async=obj.async
+	}
+	if(typeof(obj.contentType)!="undefined"){
+		//alert(obj.contentType);
+		ajaxInfo.contentType=obj.contentType;
+	}
+	//alert(ajaxInfo);
+	$.ajax(ajaxInfo);
+}
+
+$(document).ready(function() {
+	//alert(JSON.stringify({runtime:new Date().getTime()}))
+	var objdata=JSON.stringify({syncsucceed:true,tableName:"GK_BASIC_JSJY_GK_GQ",zyid:"4"});		
+	bash.script.jsonAjax({url:"${contextPath}/demo/calldata.do",contentType:'application/json;charset=utf-8',async:true,data:objdata},
+			function(data){
+		alert(JSON.stringify(data));
+	});
+});
+</script>
+
+
+</head>
+<body>
+
+</body>
+</html>

BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/antlr-2.7.7.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/aopalliance-1.0.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/asm-3.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/asm-commons-3.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/asm-tree-3.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/aspectjrt.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/aspectjweaver.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/bean-validator.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/builder-0.6.2.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cglib-nodep-2.1_3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/classworlds-1.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-beanutils-1.8.0.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-chain-1.2.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-codec-1.9.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-collections-3.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-dbcp-1.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-digester-2.0.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-fileupload-1.3.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-io-2.2.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-lang-2.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-lang3-3.2.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-logging-1.1.3.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-logging-1.2.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-logging-api-1.1.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-pool-1.5.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-pool2-2.4.2.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/commons-validator-1.3.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/core-0.6.2.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-core-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-bindings-soap-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-bindings-xml-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-databinding-jaxb-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-frontend-jaxws-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-frontend-simple-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-transports-http-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-ws-addr-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-ws-policy-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/cxf-rt-wsdl-3.0.4.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/dom4j-1.6.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/druid-1.0.15.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/dwr-1.1.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/ezmorph-1.0.6.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/fluent-hc-4.5.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/freemarker-2.3.22.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/google-collections-1.0.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/google-gxp-0.2.4-beta.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/guava-r09.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hamcrest-core-1.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-commons-annotations-4.0.5.Final.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-core-4.3.10.Final.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-entitymanager-4.3.10.Final.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/hibernate-validator-5.2.1.Final.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpclient-4.5.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpclient-cache-4.5.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpclient-win-4.5.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpcore-4.4.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/httpmime-4.5.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-annotations-2.5.0.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-core-2.5.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-core-asl-1.9.13.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-core-asl-1.9.2.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-databind-2.5.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-jaxrs-1.9.12.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-jaxrs-base-2.5.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-jaxrs-json-provider-2.5.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-mapper-asl-1.9.13.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-mapper-asl-1.9.2.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-module-jaxb-annotations-2.5.3.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jackson-xc-1.9.12.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jandex-1.1.0.Final.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/javassist-3.18.1-GA.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/javax.servlet-api-3.0.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/javax.servlet-api-3.0.1.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jboss-logging-3.1.3.GA.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jboss-logging-annotations-1.2.0.Beta1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jna-4.1.0.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jna-platform-4.1.0.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/json-lib-2.3-jdk15.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/json-org-1.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/jstl-1.2.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/juli-6.0.18.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/junit-4.12.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/junit-4.8.2.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/log4j-1.2.15.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/log4j-api-2.2.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/log4j-core-2.2.jar_


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/mvel2-2.0.11.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/mybatis-3.2.7.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/mybatis-spring-1.1.1.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/mysql-connector-java-5.1.18-bin.jar


BIN
gkjsjy/jsjy/exchangeWeb/WebRoot/WEB-INF/lib/neethi-3.0.3.jar


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно