Primer commit

parent e87d4d0a
**/target/
/target/
*/target/*
.classpath
.project
.settings
# Compiled class file
*.class
# Log file
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/dist/
\ No newline at end of file
# DDA_WSB_ClienteSAP
Servicio WSB Cliente SAP para Derechos de Autos
Manifest-Version: 1.0
Class-Path:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/DDA_WSB_ClienteSAP"/>
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>DDA_WSB_ClienteSAP</display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>DDACWebServices</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:ApplicationContext.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>DDACWebServices</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath:ApplicationContext*.xml
</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
</web-app>
\ No newline at end of file
<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>DDA_WSB_ClienteSAP</title>
</head>
<body>
DDA_WSB_ClienteSAP :: WSB Cliente SAP <br>
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<!-- By default, only the Clean and Build commands use this build script. -->
<!-- Commands such as Run, Debug, and Test only use this build script if -->
<!-- the Compile on Save feature is turned off for the project. -->
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
<!-- in the project's Project Properties dialog box.-->
<project name="DDA_WSB_ClienteSAP" default="default" basedir=".">
<description>Builds, tests, and runs the project DDA_WSB_ClienteSAP.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-dist: called before archive building
-post-dist: called after archive building
-post-clean: called after cleaning build products
-pre-run-deploy: called before deploying
-post-run-deploy: called after deploying
Example of pluging an obfuscator after the compilation could look like
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Other way how to customize the build is by overriding existing main targets.
The target of interest are:
init-macrodef-javac: defines macro for javac compilation
init-macrodef-junit: defines macro for junit execution
init-macrodef-debug: defines macro for class debugging
do-dist: archive building
run: execution of project
javadoc-build: javadoc generation
Example of overriding the target for project execution could look like
<target name="run" depends="<PROJNAME>-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that overridden target depends on jar target and not only on
compile target as regular run target does. Again, for list of available
properties which you can use check the target you are overriding in
nbproject/build-impl.xml file.
-->
</project>
Manifest-Version: 1.0
Class-Path:
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" path="/DDA_WSB_ClienteSAP"/>
<?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:jee="http://www.springframework.org/schema/jee"
xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="mx.com.amx.mx.dda.ws"/>
<mvc:annotation-driven/>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<value>classpath:general.properties</value>
</property>
</bean>
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
<property name="order" value="1" />
<property name="mediaTypes">
<map>
<entry key="json" value="application/json"/>
<entry key="html" value="text/html"/>
</map>
</property>
<property name="defaultViews">
<list>
<bean class="org.springframework.web.servlet.view.json.MappingJacksonJsonView">
<property name="prefixJson" value="true"/>
<property name="contentType" value="application/json;charset=UTF-8"/>
</bean>
</list>
</property>
<property name="ignoreAcceptHeader" value="true" />
</bean>
<bean id="jaxbMarshallerBean" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="classesToBeBound">
<list>
<!-- 45 -->
<value>com.americamovil.dda._1.m.enviatitulo.DTTitulo</value>
<!-- 8 -->
<value>com.americamovil.dda._1.m.enviapedidocompra.DTPedidoCompra</value>
<value>com.americamovil.dda._1.m.enviapedidocompra.DTPedidoCompraRes</value>
<!-- 17 y 23 -->
<value>com.americamovil.dda._1.enviaposicionpo.DTCreaPosicionPOReq</value>
<value>com.americamovil.dda._1.enviaposicionpo.DTModificaPosicionPO</value>
<value>com.americamovil.dda._1.enviaposicionpo.DTPosicionPORes</value>
<!-- 32 -->
<value>com.americamovil.dda._1.enviaentradamercancia.DTEntradaMercancia</value>
<value>com.americamovil.dda._1.enviaentradamercancia.DTEntradaMercanciaRes</value>
<!-- 14 -->
<value>com.americamovil.dda._1.f.enviafactura.DTFactura</value>
<value>com.americamovil.dda._1.f.enviafactura.DTFacturasRes</value>
</list>
</property>
<property name="marshallerProperties">
<map>
<entry key="jaxb.encoding">
<value>UTF-8</value>
</entry>
</map>
</property>
</bean>
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/>
<!-- WS Orden Compra SAP -->
<bean id="wsContratosSAP" class="org.springframework.ws.client.core.WebServiceTemplate">
<constructor-arg ref="messageFactory"/>
<property name="marshaller" ref="jaxbMarshallerBean" />
<property name="unmarshaller" ref="jaxbMarshallerBean" />
<property name="messageSender">
<bean class="org.springframework.ws.transport.http.CommonsHttpMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${sap.services.credenciales}"/>
</bean>
</property>
<property name="connectionTimeout">
<value>60000</value>
</property>
</bean>
</property>
<!-- Nuevo codigo
<property name="messageSender">
<bean class="org.springframework.ws.transport.http.HttpComponentsMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${sap.services.credenciales}"/>
</bean>
</property>
<property name="connectionTimeout">
<value>35000</value>
</property>
</bean>
</property>
-->
</bean>
<!-- BO -->
<bean id="contratoBO" class="mx.com.amx.mx.dda.ws.bo.ContratoBO">
<property name="contratoDAO" ref="contratoSAPDAO" />
<property name="wsMgr" ref="contratoWSBO" />
</bean>
<!-- BO WS -->
<bean id="contratoWSBO" class="mx.com.amx.mx.dda.ws.bo.ContratoWSBO">
</bean>
<!--DAO -->
<bean id="contratoSAPDAO" class="mx.com.amx.mx.dda.ws.dao.ContratoDAO">
<property name="jdbcTemplate" ref="jdbcTemplate" />
</bean>
<!-- log4j setting -->
<bean id="log4jInitialization" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="org.springframework.util.Log4jConfigurer" />
<property name="targetMethod" value="initLogging" />
<property name="arguments">
<list>
<value>${log4j.properties.location}</value>
</list>
</property>
</bean>
</beans>
<?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:jee="http://www.springframework.org/schema/jee"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd">
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<value>classpath:general.properties</value>
</property>
</bean>
<jee:jndi-lookup id="dsDDA" jndi-name="${database.jndi}" cache="true" expected-type="javax.sql.DataSource" />
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dsDDA" />
</bean>
</beans>
\ No newline at end of file
This diff is collapsed.
log4j.rootCategory=DEBUG, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_WS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
#log4j.rootCategory=ALL, CONSOLE, LOGFILE
log4j.rootCategory=DEBUG, CONSOLE, LOGFILE
# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
#log4j.appender.CONSOLE.Threshold=debug
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
# LOGFILE is set to be a File appender using a PatternLayout.
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=C:\\logs\\mx\\dda\\ws\\DDA_WS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.Threshold=ALL
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH\:mm\:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=20
\ No newline at end of file
log4j.rootCategory=DEBUG, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_WS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
log4j.rootCategory=DEBUG, LOGFILE
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
#log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_WS.log
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_WSB_WS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0">
<display-name>DDA_WSB_ClienteSAP</display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>DDACWebServices</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:ApplicationContext.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>DDACWebServices</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath:ApplicationContext*.xml
</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
</web-app>
\ No newline at end of file
<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>DDA_WSB_ClienteSAP</title>
</head>
<body>
DDA_WSB_ClienteSAP :: WSB Cliente SAP <br>
</body>
</html>
libs.CopyLibs.classpath=\
${base}/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar;\
${base}/javaee-endorsed-api-6.0
libs.CopyLibs.displayName=CopyLibs Task
libs.CopyLibs.prop-version=2.0
libs.javaee-endorsed-api-6.0.classpath=\
${base}/javaee-endorsed-api-6.0/javax.annotation.jar;\
${base}/javaee-endorsed-api-6.0/jaxb-api-osgi.jar;\
${base}/javaee-endorsed-api-6.0/webservices-api-osgi.jar
libs.javaee-endorsed-api-6.0.displayName=Java EE 6 Endorsed API Library
libs.javaee-endorsed-api-6.0.javadoc=\
${base}/javaee-endorsed-api-6.0/javaee-doc-api.jar
<?xml version="1.0" encoding="UTF-8"?>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2011, 2016 Oracle and/or its affiliates. All rights reserved.
Oracle and Java are registered trademarks of Oracle and/or its affiliates.
Other names may be trademarks of their respective owners.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common
Development and Distribution License("CDDL") (collectively, the
"License"). You may not use this file except in compliance with the
License. You can obtain a copy of the License at
http://www.netbeans.org/cddl-gplv2.html
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
specific language governing permissions and limitations under the
License. When distributing the software, include this License Header
Notice in each file and include the License file at
nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the
License Header, with the fields enclosed by brackets [] replaced by
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"
If you wish your version of this file to be governed by only the CDDL
or only the GPL Version 2, indicate your decision by adding
"[Contributor] elects to include this software in this distribution
under the [CDDL or GPL Version 2] license." If you do not indicate a
single choice of license, a recipient has the option to distribute
your version of this file under either the CDDL, the GPL Version 2 or
to extend the choice of license to its licensees as provided above.
However, if you add GPL Version 2 code and therefore, elected the GPL
Version 2 license, then the option applies only if the new code is
made subject to such option by the copyright holder.
Contributor(s):
-->
<project default="-deploy-ant" basedir=".">
<target name="-init" if="deploy.ant.enabled">
<property file="${deploy.ant.properties.file}"/>
<tempfile property="temp.module.folder" prefix="tomcat" destdir="${java.io.tmpdir}"/>
<unwar src="${deploy.ant.archive}" dest="${temp.module.folder}">
<patternset includes="META-INF/context.xml"/>
</unwar>
<xmlproperty file="${temp.module.folder}/META-INF/context.xml"/>
<delete dir="${temp.module.folder}"/>
</target>
<target name="-check-credentials" if="deploy.ant.enabled" depends="-init">
<fail message="Tomcat password has to be passed as tomcat.password property.">
<condition>
<not>
<isset property="tomcat.password"/>
</not>
</condition>
</fail>
</target>
<target name="-deploy-ant" if="deploy.ant.enabled" depends="-init,-check-credentials">
<echo message="Deploying ${deploy.ant.archive} to ${Context(path)}"/>
<taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask">
<classpath>
<pathelement path="${tomcat.home}/lib/catalina-ant.jar"/>
<pathelement path="${tomcat.home}/lib/tomcat-coyote.jar"/>
<pathelement path="${tomcat.home}/lib/tomcat-util.jar"/>
<pathelement path="${tomcat.home}/bin/tomcat-juli.jar"/>
</classpath>
</taskdef>
<deploy url="${tomcat.url}/manager/text" username="${tomcat.username}"
password="${tomcat.password}" path="${Context(path)}"
war="${deploy.ant.archive}"/>
<property name="deploy.ant.client.url" value="${tomcat.url}${Context(path)}"/>
</target>
<target name="-undeploy-ant" if="deploy.ant.enabled" depends="-init,-check-credentials">
<echo message="Undeploying ${Context(path)}"/>
<taskdef name="undeploy" classname="org.apache.catalina.ant.UndeployTask">
<classpath>
<pathelement path="${tomcat.home}/lib/catalina-ant.jar"/>
<pathelement path="${tomcat.home}/lib/tomcat-coyote.jar"/>
<pathelement path="${tomcat.home}/lib/tomcat-util.jar"/>
<pathelement path="${tomcat.home}/bin/tomcat-juli.jar"/>
</classpath>
</taskdef>
<undeploy url="${tomcat.url}/manager/text" username="${tomcat.username}"
password="${tomcat.password}" path="${Context(path)}"/>
</target>
</project>
This diff is collapsed.
build.xml.data.CRC32=cabfb3e9
build.xml.script.CRC32=8c8a73d9
build.xml.stylesheet.CRC32=651128d4@1.77.1.1
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=cabfb3e9
nbproject/build-impl.xml.script.CRC32=1e99bee6
nbproject/build-impl.xml.stylesheet.CRC32=99ea4b56@1.77.1.1
deploy.ant.properties.file=C:\\Users\\jfmj_\\AppData\\Roaming\\NetBeans\\8.2\\tomcat70.properties
j2ee.server.domain=C:/apache-tomcat-7.0.67
j2ee.server.home=D:/apache-tomcat-7.0.67
j2ee.server.instance=tomcat70:home=D:\\apache-tomcat-7.0.67
javac.debug=true
javadoc.preview=true
selected.browser=default
user.properties.file=C:\\Users\\jfmj_\\AppData\\Roaming\\NetBeans\\8.2\\build.properties
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group/>
</open-files>
</project-private>
This diff is collapsed.
This diff is collapsed.
<?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:jee="http://www.springframework.org/schema/jee"
xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="mx.com.amx.mx.dda.ws"/>
<mvc:annotation-driven/>
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<value>classpath:general.properties</value>
</property>
</bean>
<bean class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver">
<property name="order" value="1" />
<property name="mediaTypes">
<map>
<entry key="json" value="application/json"/>
<entry key="html" value="text/html"/>
</map>
</property>
<property name="defaultViews">
<list>
<bean class="org.springframework.web.servlet.view.json.MappingJacksonJsonView">
<property name="prefixJson" value="true"/>
<property name="contentType" value="application/json;charset=UTF-8"/>
</bean>
</list>
</property>
<property name="ignoreAcceptHeader" value="true" />
</bean>
<bean id="jaxbMarshallerBean" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="classesToBeBound">
<list>
<!-- 45 -->
<value>com.americamovil.dda._1.m.enviatitulo.DTTitulo</value>
<!-- 8 -->
<value>com.americamovil.dda._1.m.enviapedidocompra.DTPedidoCompra</value>
<value>com.americamovil.dda._1.m.enviapedidocompra.DTPedidoCompraRes</value>
<!-- 17 y 23 -->
<value>com.americamovil.dda._1.enviaposicionpo.DTCreaPosicionPOReq</value>
<value>com.americamovil.dda._1.enviaposicionpo.DTModificaPosicionPO</value>
<value>com.americamovil.dda._1.enviaposicionpo.DTPosicionPORes</value>
<!-- 32 -->
<value>com.americamovil.dda._1.enviaentradamercancia.DTEntradaMercancia</value>
<value>com.americamovil.dda._1.enviaentradamercancia.DTEntradaMercanciaRes</value>
<!-- 14 -->
<value>com.americamovil.dda._1.f.enviafactura.DTFactura</value>
<value>com.americamovil.dda._1.f.enviafactura.DTFacturasRes</value>
</list>
</property>
<property name="marshallerProperties">
<map>
<entry key="jaxb.encoding">
<value>UTF-8</value>
</entry>
</map>
</property>
</bean>
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"/>
<!-- WS Orden Compra SAP -->
<bean id="wsContratosSAP" class="org.springframework.ws.client.core.WebServiceTemplate">
<constructor-arg ref="messageFactory"/>
<property name="marshaller" ref="jaxbMarshallerBean" />
<property name="unmarshaller" ref="jaxbMarshallerBean" />
<property name="messageSender">
<bean class="org.springframework.ws.transport.http.CommonsHttpMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${sap.services.credenciales}"/>
</bean>
</property>
<property name="connectionTimeout">
<value>60000</value>
</property>
</bean>
</property>
<!-- Nuevo codigo
<property name="messageSender">
<bean class="org.springframework.ws.transport.http.HttpComponentsMessageSender">
<property name="credentials">
<bean class="org.apache.commons.httpclient.UsernamePasswordCredentials">
<constructor-arg value="${sap.services.credenciales}"/>
</bean>
</property>
<property name="connectionTimeout">
<value>35000</value>
</property>
</bean>
</property>
-->
</bean>
<!-- BO -->
<bean id="contratoBO" class="mx.com.amx.mx.dda.ws.bo.ContratoBO">
<property name="contratoDAO" ref="contratoSAPDAO" />
<property name="wsMgr" ref="contratoWSBO" />
</bean>
<!-- BO WS -->
<bean id="contratoWSBO" class="mx.com.amx.mx.dda.ws.bo.ContratoWSBO">
</bean>
<!--DAO -->
<bean id="contratoSAPDAO" class="mx.com.amx.mx.dda.ws.dao.ContratoDAO">
<property name="jdbcTemplate" ref="jdbcTemplate" />
</bean>
<!-- log4j setting -->
<bean id="log4jInitialization" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetClass" value="org.springframework.util.Log4jConfigurer" />
<property name="targetMethod" value="initLogging" />
<property name="arguments">
<list>
<value>${log4j.properties.location}</value>
</list>
</property>
</bean>
</beans>
<?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:jee="http://www.springframework.org/schema/jee"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd">
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location">
<value>classpath:general.properties</value>
</property>
</bean>
<jee:jndi-lookup id="dsDDA" jndi-name="${database.jndi}" cache="true" expected-type="javax.sql.DataSource" />
<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
<property name="dataSource" ref="dsDDA" />
</bean>
</beans>
\ No newline at end of file
This diff is collapsed.
log4j.rootCategory=DEBUG, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_WS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
#log4j.rootCategory=ALL, CONSOLE, LOGFILE
log4j.rootCategory=DEBUG, CONSOLE, LOGFILE
# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
#log4j.appender.CONSOLE.Threshold=debug
log4j.appender.CONSOLE.Threshold=DEBUG
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
# LOGFILE is set to be a File appender using a PatternLayout.
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=C:\\logs\\mx\\dda\\ws\\DDA_WS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.Threshold=ALL
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH\:mm\:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=20
\ No newline at end of file
log4j.rootCategory=DEBUG, LOGFILE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_WS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
log4j.rootCategory=DEBUG, LOGFILE
log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender
#log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_WS.log
log4j.appender.LOGFILE.File=logs/mx/dda/ws/DDA_WSB_WS.log
log4j.appender.LOGFILE.Append=true
log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
log4j.appender.LOGFILE.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}]%-5p %c %x[%L] - %m%n
log4j.appender.LOGFILE.MaxFileSize=10MB
log4j.appender.LOGFILE.MaxBackupIndex=30
\ No newline at end of file
package com.americamovil.dda._1.enviaentradamercancia;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Estructura de datos para la respuesta de entrada de mercancia
*
* <p>Clase Java para DT_EntradaMercancia_res complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType name="DT_EntradaMercancia_res">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Respuesta">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="DocMaterial">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="EjercDoc">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="4"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Mensaje">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="100"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlRootElement(name="MT_EntradaMercancia_res" , namespace = "http://americamovil.com/DDA/1/EnviaEntradaMercancia" )
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DT_EntradaMercancia_res", propOrder = {
"respuesta"
})
public class DTEntradaMercanciaRes {
@XmlElement(name = "Respuesta", required = true)
protected DTEntradaMercanciaRes.Respuesta respuesta;
/**
* Obtiene el valor de la propiedad respuesta.
*
* @return
* possible object is
* {@link DTEntradaMercanciaRes.Respuesta }
*
*/
public DTEntradaMercanciaRes.Respuesta getRespuesta() {
return respuesta;
}
/**
* Define el valor de la propiedad respuesta.
*
* @param value
* allowed object is
* {@link DTEntradaMercanciaRes.Respuesta }
*
*/
public void setRespuesta(DTEntradaMercanciaRes.Respuesta value) {
this.respuesta = value;
}
/**
* <p>Clase Java para anonymous complex type.
*
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="DocMaterial">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="10"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="EjercDoc">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="4"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Mensaje">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;maxLength value="100"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"docMaterial",
"ejercDoc",
"mensaje"
})
public static class Respuesta {
@XmlElement(name = "DocMaterial", required = true)
protected String docMaterial;
@XmlElement(name = "EjercDoc", required = true)
protected String ejercDoc;
@XmlElement(name = "Mensaje", required = true)
protected String mensaje;
/**
* Obtiene el valor de la propiedad docMaterial.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocMaterial() {
return docMaterial;
}
/**
* Define el valor de la propiedad docMaterial.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocMaterial(String value) {
this.docMaterial = value;
}
/**
* Obtiene el valor de la propiedad ejercDoc.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEjercDoc() {
return ejercDoc;
}
/**
* Define el valor de la propiedad ejercDoc.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEjercDoc(String value) {
this.ejercDoc = value;
}
/**
* Obtiene el valor de la propiedad mensaje.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMensaje() {
return mensaje;
}
/**
* Define el valor de la propiedad mensaje.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMensaje(String value) {
this.mensaje = value;
}
}
}
package com.americamovil.dda._1.enviaentradamercancia;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the com.americamovil.dda._1.enviaentradamercancia package.
* <p>An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _MTEntradaMercanciaRes_QNAME = new QName("http://americamovil.com/DDA/1/EnviaEntradaMercancia", "MT_EntradaMercancia_res");
private final static QName _MTEntradaMercancia_QNAME = new QName("http://americamovil.com/DDA/1/EnviaEntradaMercancia", "MT_EntradaMercancia");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.americamovil.dda._1.enviaentradamercancia
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link DTEntradaMercancia }
*
*/
public DTEntradaMercancia createDTEntradaMercancia() {
return new DTEntradaMercancia();
}
/**
* Create an instance of {@link DTEntradaMercanciaRes }
*
*/
public DTEntradaMercanciaRes createDTEntradaMercanciaRes() {
return new DTEntradaMercanciaRes();
}
/**
* Create an instance of {@link DTEntradaMercancia.Item }
*
*/
public DTEntradaMercancia.Item createDTEntradaMercanciaItem() {
return new DTEntradaMercancia.Item();
}
/**
* Create an instance of {@link DTEntradaMercanciaRes.Respuesta }
*
*/
public DTEntradaMercanciaRes.Respuesta createDTEntradaMercanciaResRespuesta() {
return new DTEntradaMercanciaRes.Respuesta();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DTEntradaMercanciaRes }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://americamovil.com/DDA/1/EnviaEntradaMercancia", name = "MT_EntradaMercancia_res")
public JAXBElement<DTEntradaMercanciaRes> createMTEntradaMercanciaRes(DTEntradaMercanciaRes value) {
return new JAXBElement<DTEntradaMercanciaRes>(_MTEntradaMercanciaRes_QNAME, DTEntradaMercanciaRes.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DTEntradaMercancia }{@code >}}
*
*/
@XmlElementDecl(namespace = "http://americamovil.com/DDA/1/EnviaEntradaMercancia", name = "MT_EntradaMercancia")
public JAXBElement<DTEntradaMercancia> createMTEntradaMercancia(DTEntradaMercancia value) {
return new JAXBElement<DTEntradaMercancia>(_MTEntradaMercancia_QNAME, DTEntradaMercancia.class, null, value);
}
}
package com.americamovil.dda._1.enviaentradamercancia;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2017-06-01T09:52:44.994-05:00
* Generated source version: 2.7.6
*
*/
@WebService(targetNamespace = "http://americamovil.com/DDA/1/EnviaEntradaMercancia", name = "SI_EntradaMercancia_Out")
@XmlSeeAlso({ObjectFactory.class})
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface SIEntradaMercanciaOut {
@WebMethod(operationName = "EnviaEntradaMercancia", action = "http://sap.com/xi/WebService/soap1.1")
@WebResult(name = "MT_EntradaMercancia_res", targetNamespace = "http://americamovil.com/DDA/1/EnviaEntradaMercancia", partName = "MT_EntradaMercancia_res")
public DTEntradaMercanciaRes enviaEntradaMercancia(
@WebParam(partName = "MT_EntradaMercancia", name = "MT_EntradaMercancia", targetNamespace = "http://americamovil.com/DDA/1/EnviaEntradaMercancia")
DTEntradaMercancia mtEntradaMercancia
);
}
package com.americamovil.dda._1.enviaentradamercancia;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2017-06-01T09:52:44.986-05:00
* Generated source version: 2.7.6
*
*/
public final class SIEntradaMercanciaOut_HTTPPort_Client {
private static final QName SERVICE_NAME = new QName("http://americamovil.com/DDA/1/EnviaEntradaMercancia", "SYS_AM_1_DDA_DEV_SI_EntradaMercancia_Out_x_x");
private SIEntradaMercanciaOut_HTTPPort_Client() {
}
public static void main(String args[]) throws java.lang.Exception {
URL wsdlURL = SYSAM1DDADEVSIEntradaMercanciaOutXX.WSDL_LOCATION;
if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
File wsdlFile = new File(args[0]);
try {
if (wsdlFile.exists()) {
wsdlURL = wsdlFile.toURI().toURL();
} else {
wsdlURL = new URL(args[0]);
}
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
SYSAM1DDADEVSIEntradaMercanciaOutXX ss = new SYSAM1DDADEVSIEntradaMercanciaOutXX(wsdlURL, SERVICE_NAME);
SIEntradaMercanciaOut port = ss.getHTTPPort();
{
System.out.println("Invoking enviaEntradaMercancia...");
com.americamovil.dda._1.enviaentradamercancia.DTEntradaMercancia _enviaEntradaMercancia_mtEntradaMercancia = null;
com.americamovil.dda._1.enviaentradamercancia.DTEntradaMercanciaRes _enviaEntradaMercancia__return = port.enviaEntradaMercancia(_enviaEntradaMercancia_mtEntradaMercancia);
System.out.println("enviaEntradaMercancia.result=" + _enviaEntradaMercancia__return);
}
System.exit(0);
}
}
package com.americamovil.dda._1.enviaentradamercancia;
/**
* Please modify this class to meet your needs
* This class is not complete
*/
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2017-06-01T09:52:44.941-05:00
* Generated source version: 2.7.6
*
*/
public final class SIEntradaMercanciaOut_HTTPSPort_Client {
private static final QName SERVICE_NAME = new QName("http://americamovil.com/DDA/1/EnviaEntradaMercancia", "SYS_AM_1_DDA_DEV_SI_EntradaMercancia_Out_x_x");
private SIEntradaMercanciaOut_HTTPSPort_Client() {
}
public static void main(String args[]) throws java.lang.Exception {
URL wsdlURL = SYSAM1DDADEVSIEntradaMercanciaOutXX.WSDL_LOCATION;
if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
File wsdlFile = new File(args[0]);
try {
if (wsdlFile.exists()) {
wsdlURL = wsdlFile.toURI().toURL();
} else {
wsdlURL = new URL(args[0]);
}
} catch (MalformedURLException e) {
e.printStackTrace();
}
}
SYSAM1DDADEVSIEntradaMercanciaOutXX ss = new SYSAM1DDADEVSIEntradaMercanciaOutXX(wsdlURL, SERVICE_NAME);
SIEntradaMercanciaOut port = ss.getHTTPSPort();
{
System.out.println("Invoking enviaEntradaMercancia...");
com.americamovil.dda._1.enviaentradamercancia.DTEntradaMercancia _enviaEntradaMercancia_mtEntradaMercancia = null;
com.americamovil.dda._1.enviaentradamercancia.DTEntradaMercanciaRes _enviaEntradaMercancia__return = port.enviaEntradaMercancia(_enviaEntradaMercancia_mtEntradaMercancia);
System.out.println("enviaEntradaMercancia.result=" + _enviaEntradaMercancia__return);
}
System.exit(0);
}
}
package com.americamovil.dda._1.enviaentradamercancia;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* This class was generated by Apache CXF 2.7.6
* 2017-06-01T09:52:44.998-05:00
* Generated source version: 2.7.6
*
*/
@WebServiceClient(name = "SYS_AM_1_DDA_DEV_SI_EntradaMercancia_Out_x_x",
wsdlLocation = "i32.xml",
targetNamespace = "http://americamovil.com/DDA/1/EnviaEntradaMercancia")
public class SYSAM1DDADEVSIEntradaMercanciaOutXX extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://americamovil.com/DDA/1/EnviaEntradaMercancia", "SYS_AM_1_DDA_DEV_SI_EntradaMercancia_Out_x_x");
public final static QName HTTPSPort = new QName("http://americamovil.com/DDA/1/EnviaEntradaMercancia", "HTTPS_Port");
public final static QName HTTPPort = new QName("http://americamovil.com/DDA/1/EnviaEntradaMercancia", "HTTP_Port");
static {
URL url = SYSAM1DDADEVSIEntradaMercanciaOutXX.class.getResource("i32.xml");
if (url == null) {
url = SYSAM1DDADEVSIEntradaMercanciaOutXX.class.getClassLoader().getResource("i32.xml");
}
if (url == null) {
java.util.logging.Logger.getLogger(SYSAM1DDADEVSIEntradaMercanciaOutXX.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "i32.xml");
}
WSDL_LOCATION = url;
}
public SYSAM1DDADEVSIEntradaMercanciaOutXX(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public SYSAM1DDADEVSIEntradaMercanciaOutXX(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public SYSAM1DDADEVSIEntradaMercanciaOutXX() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns SIEntradaMercanciaOut
*/
@WebEndpoint(name = "HTTPS_Port")
public SIEntradaMercanciaOut getHTTPSPort() {
return super.getPort(HTTPSPort, SIEntradaMercanciaOut.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns SIEntradaMercanciaOut
*/
@WebEndpoint(name = "HTTPS_Port")
public SIEntradaMercanciaOut getHTTPSPort(WebServiceFeature... features) {
return super.getPort(HTTPSPort, SIEntradaMercanciaOut.class, features);
}
/**
*
* @return
* returns SIEntradaMercanciaOut
*/
@WebEndpoint(name = "HTTP_Port")
public SIEntradaMercanciaOut getHTTPPort() {
return super.getPort(HTTPPort, SIEntradaMercanciaOut.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns SIEntradaMercanciaOut
*/
@WebEndpoint(name = "HTTP_Port")
public SIEntradaMercanciaOut getHTTPPort(WebServiceFeature... features) {
return super.getPort(HTTPPort, SIEntradaMercanciaOut.class, features);
}
}
@javax.xml.bind.annotation.XmlSchema(namespace = "http://americamovil.com/DDA/1/EnviaEntradaMercancia")
package com.americamovil.dda._1.enviaentradamercancia;
This diff is collapsed.
package com.americamovil.dda._1.enviaposicionpo;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by Apache CXF 2.7.6
* 2016-09-27T10:30:11.555-05:00
* Generated source version: 2.7.6
*
*/
@WebService(targetNamespace = "http://americamovil.com/DDA/1/EnviaPosicionPO", name = "SI_PosicionPO_Out")
@XmlSeeAlso({ObjectFactory.class})
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface SIPosicionPOOut {
@WebMethod(operationName = "EnviaMovimientoFinalPO", action = "http://sap.com/xi/WebService/soap1.1")
@WebResult(name = "MT_PosicionPO_res", targetNamespace = "http://americamovil.com/DDA/1/EnviaPosicionPO", partName = "MT_PosicionPO_res")
public DTPosicionPORes enviaMovimientoFinalPO(
@WebParam(partName = "MT_MovimientoFinalPO", name = "MT_MovimientoFinalPO", targetNamespace = "http://americamovil.com/DDA/1/EnviaPosicionPO")
DTMovimientoFinalPO mtMovimientoFinalPO
);
@WebMethod(operationName = "EnviaModifPosicionPO", action = "http://sap.com/xi/WebService/soap1.1")
@WebResult(name = "MT_PosicionPO_res", targetNamespace = "http://americamovil.com/DDA/1/EnviaPosicionPO", partName = "MT_PosicionPO_res")
public DTPosicionPORes enviaModifPosicionPO(
@WebParam(partName = "MT_ModificaPosicionPO", name = "MT_ModificaPosicionPO", targetNamespace = "http://americamovil.com/DDA/1/EnviaPosicionPO")
DTModificaPosicionPO mtModificaPosicionPO
);
@WebMethod(operationName = "EnviaPosicionPO", action = "http://sap.com/xi/WebService/soap1.1")
@WebResult(name = "MT_PosicionPO_res", targetNamespace = "http://americamovil.com/DDA/1/EnviaPosicionPO", partName = "MT_PosicionPO_res")
public DTPosicionPORes enviaPosicionPO(
@WebParam(partName = "MT_CreaPosicionPO_req", name = "MT_CreaPosicionPO_req", targetNamespace = "http://americamovil.com/DDA/1/EnviaPosicionPO")
DTCreaPosicionPOReq mtCreaPosicionPOReq
);
}
@javax.xml.bind.annotation.XmlSchema(namespace = "http://americamovil.com/DDA/1/EnviaPosicionPO")
package com.americamovil.dda._1.enviaposicionpo;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
@javax.xml.bind.annotation.XmlSchema(namespace = "http://americamovil.com/DDA/1/F/EnviaFactura")
package com.americamovil.dda._1.f.enviafactura;
@javax.xml.bind.annotation.XmlSchema(namespace = "http://americamovil.com/DDA/1/M/EnviaPedidoCompra")
package com.americamovil.dda._1.m.enviapedidocompra;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
@javax.xml.bind.annotation.XmlSchema(namespace = "http://americamovil.com/DDA/1/M/EnviaTitulo")
package com.americamovil.dda._1.m.enviatitulo;
This diff is collapsed.
K 14
bugtraq:number
V 4
true
END
This diff is collapsed.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.03.13 at 03:52:26 PM CST
//
@javax.xml.bind.annotation.XmlSchema(namespace = "http://wadl.dev.java.net/2009/02", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package com.mine.wadl.artifact;
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment