Announcement Announcement Module
Collapse
No announcement yet.
Web Services with AXIS in Spring Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Web Services with AXIS in Spring

    I'm having a problem with responses of the web services

    The error is


    Code:
    23/09/05 13:07:12 DEBUG [GestorCatalogoDisponible.getTecnologiasSoportadas (145)] Tecnologias soportadas por el telefono 912156666: [4, 5, 7, 8, 9, 2]
    
    23/09/05 13:07:16 ERROR [BeanSerializer.serialize (274)] Exception:
    
    java.lang.IllegalArgumentException: The char '0x0' in '.' is not a valid XML character.
    
    at org.apache.axis.components.encoding.UTF8Encoder.writeEncoded(UTF8Encoder.java:81)
    
    at org.apache.axis.encoding.SerializationContext.writeSafeString(SerializationContext.java:1222)
    
    at org.apache.axis.encoding.ser.SimpleSerializer.serialize(SimpleSerializer.java:104)
    
    at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1426)
    
    at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:914)
    
    at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:702)
    
    at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
    
    at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1426)
    
    at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:914)
    
    at org.apache.axis.encoding.SerializationContext.outputMultiRefs(SerializationContext.java:989)
    
    at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)
    
    at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:477)
    
    at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
    
    at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
    
    at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
    
    at org.apache.axis.Message.writeTo(Message.java:528)
    
    at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:902)
    
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:777)
    
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    
    at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:172)
    
    at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    
    at java.lang.Thread.run(Thread.java:534)
    
    23/09/05 13:07:16 ERROR [Message.writeTo (530)] java.io.IOException:
    THE WDSL FILE CONTAINS THE FOLLOWING

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl&#58;definitions targetNamespace="http&#58;//intWS.integracion.jazcrm.indra.es" xmlns&#58;tns3="http&#58;//exception.comun.soporte.jazcrm.indra.es" xmlns&#58;impl="http&#58;//intWS.integracion.jazcrm.indra.es" xmlns&#58;intf="http&#58;//intWS.integracion.jazcrm.indra.es" xmlns&#58;apachesoap="http&#58;//xml.apache.org/xml-soap" xmlns&#58;wsdlsoap="http&#58;//schemas.xmlsoap.org/wsdl/soap/" xmlns&#58;soapenc="http&#58;//schemas.xmlsoap.org/soap/encoding/" xmlns&#58;xsd="http&#58;//www.w3.org/2001/XMLSchema" xmlns&#58;tns2="http&#58;//integracion.comun.soporte.jazcrm.indra.es" xmlns&#58;tns4="http&#58;//lang.java" xmlns&#58;tns1="http&#58;//vo.comun.soporte.jazcrm.indra.es" xmlns&#58;wsdl="http&#58;//schemas.xmlsoap.org/wsdl/" name="">
    <!--WSDL created by Apache Axis version&#58; 1.2.1
    Built on Jun 14, 2005 &#40;09&#58;15&#58;57 EDT&#41;-->
     <wsdl&#58;types>
      <schema xmlns="http&#58;//www.w3.org/2001/XMLSchema" targetNamespace="http&#58;//vo.comun.soporte.jazcrm.indra.es">
       <import namespace="http&#58;//integracion.comun.soporte.jazcrm.indra.es"/>
       <import namespace="http&#58;//exception.comun.soporte.jazcrm.indra.es"/>
       <import namespace="http&#58;//lang.java"/>
       <import namespace="http&#58;//intWS.integracion.jazcrm.indra.es"/>
       <import namespace="http&#58;//schemas.xmlsoap.org/soap/encoding/"/>
       <complexType abstract="true" name="BaseObject">
        <sequence>
         <element name="id" type="xsd&#58;long"/>
         <element name="version" nillable="true" type="xsd&#58;int"/>
        </sequence>
       </complexType>
      </schema>
      <schema xmlns="http&#58;//www.w3.org/2001/XMLSchema" targetNamespace="http&#58;//intWS.integracion.jazcrm.indra.es">
       <import namespace="http&#58;//integracion.comun.soporte.jazcrm.indra.es"/>
       <import namespace="http&#58;//exception.comun.soporte.jazcrm.indra.es"/>
       <import namespace="http&#58;//lang.java"/>
       <import namespace="http&#58;//vo.comun.soporte.jazcrm.indra.es"/>
       <import namespace="http&#58;//schemas.xmlsoap.org/soap/encoding/"/>
       <complexType name="ServicioWS">
        <complexContent>
         <extension base="tns1&#58;BaseObject">
          <sequence>
           <element name="tipoServicio" nillable="true" type="xsd&#58;string"/>
           <element name="codServicio" nillable="true" type="xsd&#58;string"/>
           <element name="nombre" nillable="true" type="xsd&#58;string"/>
           <element name="descripcion" nillable="true" type="xsd&#58;string"/>
          </sequence>
         </extension>
        </complexContent>
       </complexType>
       <complexType name="ArrayOfServicioWS">
        <complexContent>
         <restriction base="soapenc&#58;Array">
          <attribute ref="soapenc&#58;arrayType" wsdl&#58;arrayType="impl&#58;ServicioWS&#91;&#93;"/>
         </restriction>
        </complexContent>
       </complexType>
      </schema>
      <schema xmlns="http&#58;//www.w3.org/2001/XMLSchema" targetNamespace="http&#58;//exception.comun.soporte.jazcrm.indra.es">
       <import namespace="http&#58;//integracion.comun.soporte.jazcrm.indra.es"/>
       <import namespace="http&#58;//lang.java"/>
       <import namespace="http&#58;//intWS.integracion.jazcrm.indra.es"/>
       <import namespace="http&#58;//vo.comun.soporte.jazcrm.indra.es"/>
       <import namespace="http&#58;//schemas.xmlsoap.org/soap/encoding/"/>
       <complexType name="CRMException">
        <sequence>
         <element name="cause" nillable="true" type="xsd&#58;anyType"/>
         <element name="message" nillable="true" type="xsd&#58;string"/>
        </sequence>
       </complexType>
      </schema>
      <schema xmlns="http&#58;//www.w3.org/2001/XMLSchema" targetNamespace="http&#58;//integracion.comun.soporte.jazcrm.indra.es">
       <import namespace="http&#58;//exception.comun.soporte.jazcrm.indra.es"/>
       <import namespace="http&#58;//lang.java"/>
       <import namespace="http&#58;//intWS.integracion.jazcrm.indra.es"/>
       <import namespace="http&#58;//vo.comun.soporte.jazcrm.indra.es"/>
       <import namespace="http&#58;//schemas.xmlsoap.org/soap/encoding/"/>
       <complexType name="IntegracionException">
        <complexContent>
         <extension base="tns3&#58;CRMException">
          <sequence/>
         </extension>
        </complexContent>
       </complexType>
      </schema>
     </wsdl&#58;types>
    
    
    
       <wsdl&#58;message name="getServiciosDisponiblesRequest">
    
          <wsdl&#58;part name="telefono" type="xsd&#58;string"/>
    
       </wsdl&#58;message>
       
       <wsdl&#58;message name="getServiciosDisponiblesResponse">
    
          <wsdl&#58;part name="getServiciosDisponiblesReturn" type="impl&#58;ArrayOfServicioWS"/>
    
       </wsdl&#58;message>
    
       <wsdl&#58;portType name="ServicioCanalWeb">
    
          <wsdl&#58;operation name="getServiciosDisponibles" parameterOrder="telefono">
    
             <wsdl&#58;input name="getServiciosDisponiblesRequest" message="impl&#58;getServiciosDisponiblesRequest"/>
    
             <wsdl&#58;output name="getServiciosDisponiblesResponse" message="impl&#58;getServiciosDisponiblesResponse"/>
    
             <wsdl&#58;fault name="IntegracionException" message="impl&#58;IntegracionException"/>
    
          </wsdl&#58;operation>
    
    
       </wsdl&#58;portType>
    
       <wsdl&#58;binding name="ServicioCanalWebSoapBinding" type="impl&#58;ServicioCanalWeb">
    
          <wsdlsoap&#58;binding style="rpc" transport="http&#58;//schemas.xmlsoap.org/soap/http"/>
    
          <wsdl&#58;operation name="getServiciosDisponibles">
    
             <wsdlsoap&#58;operation soapAction=""/>
    
             <wsdl&#58;input name="getServiciosDisponiblesRequest">
    
                <wsdlsoap&#58;body use="encoded" encodingStyle="http&#58;//schemas.xmlsoap.org/soap/encoding/" namespace="http&#58;//intWS.integracion.jazcrm.indra.es"/>
    
             </wsdl&#58;input>
    
             <wsdl&#58;output name="getServiciosDisponiblesResponse">
    
                <wsdlsoap&#58;body use="encoded" encodingStyle="http&#58;//schemas.xmlsoap.org/soap/encoding/" namespace="http&#58;//intWS.integracion.jazcrm.indra.es"/>
    
             </wsdl&#58;output>
    
             <wsdl&#58;fault name="IntegracionException">
    
                <wsdlsoap&#58;fault name="IntegracionException" use="encoded" encodingStyle="http&#58;//schemas.xmlsoap.org/soap/encoding/" namespace="http&#58;//intWS.integracion.jazcrm.indra.es"/>
    
             </wsdl&#58;fault>
    
          </wsdl&#58;operation>
    
       </wsdl&#58;binding>
    
       <wsdl&#58;service name="ServicioCanalWebService">
    
          <wsdl&#58;port name="ServicioCanalWeb" binding="impl&#58;ServicioCanalWebSoapBinding">
    
             <wsdlsoap&#58;address location="http&#58;//localhost&#58;8080/services/ServicioCanalWeb"/>
    
          </wsdl&#58;port>
    
       </wsdl&#58;service>
    
    </wsdl&#58;definitions>
    THIS IS THE SERVER-CONFIG.WSDD


    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <deployment xmlns="http&#58;//xml.apache.org/axis/wsdd/" xmlns&#58;java="http&#58;//xml.apache.org/axis/wsdd/providers/java">
     <globalConfiguration>
      <parameter name="sendXMLDeclaration" value="false"/>
      <parameter name="sendMultiRefs" value="true"/>
      <parameter name="disablePrettyXML" value="true"/>
      <parameter name="adminPassword" value="admin"/>
      <parameter name="attachments.Directory" value="http&#58;//localhost&#58;8080/WEB-INF/attachments"/>
      <parameter name="dotNetSoapEncFix" value="true"/>
      <parameter name="enableNamespacePrefixOptimization" value="true"/>
      <parameter name="sendXMLDeclaration" value="true"/>
      <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
      <parameter name="sendXsiTypes" value="true"/>
      <requestFlow>
       <handler type="java&#58;org.apache.axis.handlers.JWSHandler">
        <parameter name="scope" value="session"/>
       </handler>
       <handler type="java&#58;org.apache.axis.handlers.JWSHandler">
        <parameter name="scope" value="request"/>
        <parameter name="extension" value=".jwr"/>
       </handler>
      </requestFlow>
     </globalConfiguration>
     <handler name="LocalResponder" type="java&#58;org.apache.axis.transport.local.LocalResponder"/>
     <handler name="URLMapper" type="java&#58;org.apache.axis.handlers.http.URLMapper"/>
     <handler name="Authenticate" type="java&#58;org.apache.axis.handlers.SimpleAuthenticationHandler"/>
     
     <service name="ClienteServicio" provider="java&#58;RPC">
      <operation name="getByCIF" qname="ns1&#58;getByCIF" returnQName="getByCIFReturn" returnType="ns1&#58;ArrayOfInfoCliente" soapAction="" xmlns&#58;ns1="http&#58;//intWS.integracion.jazcrm.indra.es">
       <parameter name="id" type="xsd&#58;string" xmlns&#58;xsd="http&#58;//www.w3.org/2001/XMLSchema"/>
      </operation>
      <operation name="getByTelefono" qname="ns2&#58;getByTelefono" returnQName="getByTelefonoReturn" returnType="ns2&#58;ArrayOfInfoCliente" soapAction="" xmlns&#58;ns2="http&#58;//intWS.integracion.jazcrm.indra.es">
       <parameter name="tel" type="xsd&#58;string" xmlns&#58;xsd="http&#58;//www.w3.org/2001/XMLSchema"/>
      </operation>
      <operation name="getByNombre" qname="ns3&#58;getByNombre" returnQName="getByNombreReturn" returnType="ns3&#58;ArrayOfInfoCliente" soapAction="" xmlns&#58;ns3="http&#58;//intWS.integracion.jazcrm.indra.es">
       <parameter name="nombre" type="xsd&#58;string" xmlns&#58;xsd="http&#58;//www.w3.org/2001/XMLSchema"/>
      </operation>
      <operation name="getByApp" qname="ns4&#58;getByApp" returnQName="getByAppReturn" returnType="ns4&#58;ArrayOfInfoCliente" soapAction="" xmlns&#58;ns4="http&#58;//intWS.integracion.jazcrm.indra.es">
       <parameter name="apellidos" type="xsd&#58;string" xmlns&#58;xsd="http&#58;//www.w3.org/2001/XMLSchema"/>
      </operation>
      <parameter name="allowedMethods" value="getByNombre getByApp getByTelefono getByCIF"/>
      <parameter name="typeMappingVersion" value="1.2"/>
      <parameter name="wsdlPortType" value="ClienteServicio"/>
      <parameter name="className" value="es.indra.jazcrm.integracion.intWS.ClienteServicio"/>
      <parameter name="wsdlServicePort" value="ClienteServicio"/>
      <parameter name="wsdlTargetNamespace" value="http&#58;//intWS.integracion.jazcrm.indra.es"/>
      <parameter name="wsdlServiceElement" value="ClienteServicioService"/>
      <parameter name="schemaUnqualified" value="http&#58;//intWS.integracion.jazcrm.indra.es"/>
      <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http&#58;//schemas.xmlsoap.org/soap/encoding/" qname="ns6&#58;InfoCliente" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" type="java&#58;es.indra.jazcrm.integracion.intWS.InfoCliente" xmlns&#58;ns6="http&#58;//intWS.integracion.jazcrm.indra.es"/>
      <arrayMapping innerType="ns7&#58;InfoCliente" languageSpecificType="java&#58;es.indra.jazcrm.integracion.intWS.InfoCliente&#91;&#93;" qname="ns7&#58;ArrayOfInfoCliente" xmlns&#58;ns7="http&#58;//intWS.integracion.jazcrm.indra.es"/>
     </service>
     
      <service name="ServicioCanalWeb" provider="java&#58;RPC">
      <operation name="getServiciosDisponibles" qname="ns1&#58;getServiciosDisponibles" returnQName="getServiciosDisponiblesReturn" returnType="ns1&#58;ArrayOfServicioWS" soapAction="" xmlns&#58;ns1="http&#58;//intWS.integracion.jazcrm.indra.es">
       <parameter name="telefono" type="xsd&#58;string" xmlns&#58;xsd="http&#58;//www.w3.org/2001/XMLSchema"/>
      </operation>
      <parameter name="allowedMethods" value="getServiciosDisponibles"/>
      <parameter name="typeMappingVersion" value="1.2"/>
      <parameter name="wsdlPortType" value="ServicioCanalWeb"/>
      <parameter name="className" value="es.indra.jazcrm.integracion.intWS.ServicioCanalWeb"/>
      <parameter name="wsdlServicePort" value="ServicioCanalWeb"/>
      <parameter name="wsdlTargetNamespace" value="http&#58;//intWS.integracion.jazcrm.indra.es"/>
      <parameter name="wsdlServiceElement" value="ServicioCanalWebService"/>
      <parameter name="schemaUnqualified" value="http&#58;//intWS.integracion.jazcrm.indra.es"/>
      <typeMapping deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" encodingStyle="http&#58;//schemas.xmlsoap.org/soap/encoding/" qname="ns6&#58;ServicioWS" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" type="java&#58;es.indra.jazcrm.integracion.intWS.ServicioWS" xmlns&#58;ns6="http&#58;//intWS.integracion.jazcrm.indra.es"/>
      <arrayMapping innerType="ns7&#58;ServicioWS" languageSpecificType="java&#58;es.indra.jazcrm.integracion.intWS.ServicioWS&#91;&#93;" qname="ns7&#58;ArrayOfServicioWS" xmlns&#58;ns7="http&#58;//intWS.integracion.jazcrm.indra.es"/>
     </service>
     
     <service name="AdminService" provider="java&#58;MSG">
      <parameter name="allowedMethods" value="AdminService"/>
      <parameter name="enableRemoteAdmin" value="true"/>
      <parameter name="className" value="org.apache.axis.utils.Admin"/>
      <namespace>http&#58;//xml.apache.org/axis/wsdd/</namespace>
     </service>
     <service name="Version" provider="java&#58;RPC">
      <parameter name="allowedMethods" value="getVersion"/>
      <parameter name="className" value="org.apache.axis.Version"/>
     </service>
     <transport name="http">
      <requestFlow>
       <handler type="URLMapper"/>
       <handler type="java&#58;org.apache.axis.handlers.http.HTTPAuthHandler"/>
      </requestFlow>
      <parameter name="qs&#58;list" value="org.apache.axis.transport.http.QSListHandler"/>
      <parameter name="qs&#58;wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
      <parameter name="qs.list" value="org.apache.axis.transport.http.QSListHandler"/>
      <parameter name="qs.method" value="org.apache.axis.transport.http.QSMethodHandler"/>
      <parameter name="qs&#58;method" value="org.apache.axis.transport.http.QSMethodHandler"/>
      <parameter name="qs.wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
     </transport>
     <transport name="local">
      <responseFlow>
       <handler type="LocalResponder"/>
      </responseFlow>
     </transport>
    </deployment>
    AND THE WEB.XML

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http&#58;//java.sun.com/dtd/web-app_2_3.dtd">
    
    <web-app>
    
        <display-name>crm_Jazztel</display-name>
    
    <!-- 
        <filter>
            <filter-name>autenticacion</filter-name>
            <filter-class>es.indra.jazcrm.atc.autenticacion.FiltroAutenticacion</filter-class>
    	<init-param>
    		<param-name>dirigir</param-name>
    		<param-value>/autenticar.jsp</param-value>
    	</init-param>
        </filter>
        <filter-mapping>
            <filter-name>autenticacion</filter-name>
            <url-pattern>*.do</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>autenticacion</filter-name>
            <url-pattern>/jsp/*</url-pattern>
        </filter-mapping>
        -->
    	<context-param>
    		<param-name>contextConfigLocation</param-name>
    		<param-value>WEB-INF/classes/spring/applicationContext.xml</param-value>
    	</context-param> 
    	<context-param>
    	    <param-name>fontPath</param-name>
    	    <param-value>WEB-INF/fonts</param-value>
    	</context-param>
    	<filter>
    		<filter-name>hibernateFilter</filter-name>
    		<filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
    	</filter>
    	<filter-mapping>
    		<filter-name>hibernateFilter</filter-name>
    		<url-pattern>*.do</url-pattern>
    	</filter-mapping>
    	<filter-mapping>
    		<filter-name>hibernateFilter</filter-name>
    		<url-pattern>*.jsp</url-pattern>
    	</filter-mapping> 
    	<filter-mapping>
    		<filter-name>hibernateFilter</filter-name>
    		<url-pattern>/services/*</url-pattern>
    	</filter-mapping>
    	<listener>
    		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    	</listener>
    <!-- 
       <filter>
            <filter-name>sitemesh</filter-name>
            <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>sitemesh</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
    -->
        <servlet>
            <servlet-name>action</servlet-name>
            <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    		<init-param>
            		<param-name>config</param-name>
    			<param-value>/WEB-INF/classes/struts/struts-config.xml</param-value>
    		</init-param>
    		<init-param>
    			<param-name>config/canalweb</param-name> 
    			<param-value>/WEB-INF/classes/struts/struts-config-canalweb.xml</param-value>
    		</init-param>
    		<init-param>
    			<param-name>config/catalogo</param-name> 
    			<param-value>/WEB-INF/classes/struts/struts-config-catalogo.xml</param-value>
    		</init-param>
    		<init-param>
    			<param-name>config/contratacion</param-name> 
    			<param-value>/WEB-INF/classes/struts/struts-config-contratacion.xml</param-value>
    		</init-param>
    		<init-param>
    			<param-name>config/moduloclientes</param-name>
    			<param-value>/WEB-INF/classes/struts/struts-moduloclientes.xml</param-value>
                    </init-param>
    		<init-param>
    			<param-name>config/modexpedientes</param-name>
    			<param-value>/WEB-INF/classes/struts/struts-modexpedientes.xml</param-value>
            </init-param>
       		<init-param>
    			<param-name>config/moduloadmin</param-name>
    			<param-value>/WEB-INF/classes/struts/struts-atc-admin.xml</param-value>
            </init-param>	
            <init-param>
    			<param-name>config/integracion</param-name> 
    			<param-value>/WEB-INF/classes/struts/struts-config-integracion.xml</param-value>
    		</init-param>
            <load-on-startup>1</load-on-startup>
        </servlet>
    	
        <servlet-mapping>
            <servlet-name>action</servlet-name>
            <url-pattern>*.do</url-pattern>
        </servlet-mapping>
    
        <!--
        <welcome-file-list>
            <welcome-file>login.jsp</welcome-file>
        </welcome-file-list>
        -->
        <welcome-file-list>
            <welcome-file>jsp/index.jsp</welcome-file>
        </welcome-file-list>
        
        <taglib>
            <taglib-uri>/WEB-INF/indra.tld</taglib-uri>
            <taglib-location>/WEB-INF/tld/indra.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
            <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
            <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
            <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
            <taglib-location>/WEB-INF/tld/struts-template.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
            <taglib-location>/WEB-INF/tld/struts-nested.tld</taglib-location>
        </taglib>
        <taglib>
            <taglib-uri>/WEB-INF/log.tld</taglib-uri>
            <taglib-location>/WEB-INF/tld/log.tld</taglib-location>
        </taglib>
    
    		<!--  PARAMETROS AXIS -->
                <servlet>
                            <display-name>Apache-Axis Servlet</display-name>
                            <servlet-name>AxisServlet</servlet-name>
                            <servlet-class>
                            org.apache.axis.transport.http.AxisServlet
                            </servlet-class>
                </servlet>
                <servlet>
                            <display-name>Axis Admin Servlet</display-name>
                            <servlet-name>AdminServlet</servlet-name>
                            <servlet-class>
                            org.apache.axis.transport.http.AdminServlet
                            </servlet-class>
                            <load-on-startup>100</load-on-startup>
                </servlet>
                <servlet-mapping>
                            <servlet-name>AxisServlet</servlet-name>
                            <url-pattern>/servlet/AxisServlet</url-pattern>
                </servlet-mapping>
                <servlet-mapping>
                            <servlet-name>AxisServlet</servlet-name>
                            <url-pattern>*.jws</url-pattern>
                </servlet-mapping>
                <servlet-mapping>
                            <servlet-name>AxisServlet</servlet-name>
                            <url-pattern>/services/*</url-pattern>
                </servlet-mapping>
    
                <servlet-mapping>
                            <servlet-name>AdminServlet</servlet-name>
                            <url-pattern>/servlet/AdminServlet</url-pattern>
                </servlet-mapping>
    
    		<!-- FIN PARAMETROS AXIS -->
    
    	<error-page>
    		<exception-type>
    			java.lang.Exception
    		</exception-type>
    		<location>/jsp/errors/error.jsp</location>
    	</error-page>
    		
    
    </web-app>
    I WILL LIKE TO KNOW IF I CAN CHANGE ENCODING UTF-8 WITH ISO-8859-1 FOR AXIS

  • #2
    Please do not crosspost. I have removed the other post in the Web forum.

    Comment


    • #3
      Problem solved

      The problem was on the database, there was some strange characters on them

      Thank you anyway!

      Comment

      Working...
      X