You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Manuel Nicolas Ortuño <ma...@carm.es> on 2005/05/30 20:26:18 UTC

WSDL2JAVA

Hello, I have this wsdl. When I use wsdl2java (axis 1.1) generate the class
_IM_OBTENEREC.java. I use this class to invoke web service

_EX_OBTENEREC IM_ObtenerEC(_IM_OBTENEREC IM_OBTENEREC) work ok

But if i use axis 1.2 wsdl2java not generate _IM_OBTENEREC only generate
IM_OBTENEREC.java

 

public interface IM_OBTENEREC extends java.rmi.Remote {

    public es.carm.ctyc.wc.CSigepal2.EX_OBTENEREC
IM_ObtenerEC(es.carm.ctyc.wc.CSigepal2.IM_OBTENEREC IM_OBTENEREC) throws
java.rmi.RemoteException;

}

 

In axis 1.2 I have implemet the interface IM_OBTENEREC?

Have any solution that all java object are generated by axis?

 

Thanks

 

 

<?xml version="1.0" encoding="ISO-8859-1"?>

 

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:p1="http://carm.es/ws/ec" name="IM_ObtenerEC"
targetNamespace="http://carm.es/ws/ec">

    <wsdl:types>

        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://carm.es/ws/ec" targetNamespace="http://carm.es/ws/ec">

            <xsd:element name="EX_OBTENEREC">

                <xsd:annotation>

                    <xsd:documentation>

                    Nodo con la lista de expediente contables obtenidos y
con el resultado  final: Error u OK

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:complexType>

                    <xsd:sequence>

                        <xsd:element name="LISTA_EXP_CONTABLE"
type="LISTA_EXP_CONTABLEType">

                            <xsd:annotation>

                                <xsd:documentation>

                                Lista de expedientes obtenidos en la
consulta

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="RESULTADO" type="RESULTADOType">

                            <xsd:annotation>

                                <xsd:documentation>

                                CODIGOS DE ERROR:

 

0001:&apos;ERROR: ESPECIFIQUE MÁS SU BUSQUEDA&apos;: clave incompleta y
ademas falta o el centro gestor o el ejercicio del expediente

 

0002: &apos;ERROR: NO HAY RESULTADOS PARA ESE CENTRO GESTOR Y EJER&apos;:
como filtros nos encontramos la clave incompleta con lo que intenta acceder
por el centro gestor y el ejercicio del expediente, para los valores
introducidos no existe ningun tipo de registro

 

0003: &apos;ERROR: NO HAY RESULTADOS PARA LA CLAVE ELEGIDA&apos;: se ha
pasado como filtro de elección: circuito, código de territorio, ejercicio
del expediente y el número del expediente; para los valores introducidos no
hay ningún registro en la BD.

 

0005: &apos;ERROR: SALIDA VACIA!&apos;: no se tiene permisos para acceder a
ningun expediente resultado del filtro

 

0006:  &apos;ERROR: SALIDA VACIA, RELAJE EL FILTRADO&apos;: con los valores
escogidos para el filtro no hay ningun registro en la BD

 

0050: &apos;ERROR: FORMATO DE FECHAS INCORRECTO&apos;: formato de fechas
incorrecto

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                    </xsd:sequence>

                </xsd:complexType>

            </xsd:element>

            <xsd:element name="IM_OBTENEREC">

                <xsd:annotation>

                    <xsd:documentation>

                    Filtros de entrada para obtener un expediente, como
minimo se deben de complimentar la clave ID_EXP (circuito y cod_terri toman
por defecto los valores &apos;contable&apos; y &apos;000000&apos;) ó CENGES
y POSEXP

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:complexType>

                    <xsd:sequence>

                        <xsd:element name="ID_EXP" type="ID_EXPType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Identificación o clave de un expediente

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="POS_EXP" type="POS_EXPType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Posición de la línea dentro del expediente

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="CEN_GES" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Código del centro gestor

                                </xsd:documentation>

                            </xsd:annotation>

                            <xsd:simpleType>

                                <xsd:restriction base="CEN_GESType" />

                            </xsd:simpleType>

                        </xsd:element>

                        <xsd:element name="POS_PRE" type="POS_PREType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Partida Presupuestaria

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="PROYECTO" type="PROYECTOType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Proyecto al que se imputa el gasto.
Obligatorio solo para determinados conceptos presupuestarios

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="FEC_CONTAB_DESDE"
type="FECHAType" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Fecha de contabilización inicial (para una
busqueda a partir de esta fecha)

Formato dd/mm/aaaa

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="FEC_CONTAB_HASTA"
type="FECHAType" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Fecha de contabilización final (para una
busqueda como máximo hasta esta fecha)

Formato dd/mm/aaaa

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="FEC_REAL_ALTA_DESDE"
type="FECHAType" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Fecha real del alta del expediente en el
sistema (para una busqueda a partir de esta fecha)

Formato dd/mm/aaaa

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="FEC_REAL_ALTA_HASTA"
type="FECHAType" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Fecha real del alta del expediente en el
sistema  (para una busqueda como máximo hasta esta fecha)

Formato dd/mm/aaaa

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="ACREEDOR" type="COD_TERType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Acreedor o tercero del expediente

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                    </xsd:sequence>

                </xsd:complexType>

            </xsd:element>

            <xsd:simpleType name="POS_EXPType">

                <xsd:annotation>

                    <xsd:documentation>

                    Posición de una linea dentro de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string" />

            </xsd:simpleType>

            <xsd:simpleType name="TIPO_INTERVType">

                <xsd:annotation>

                    <xsd:documentation>

                    Tipo de intervención de  un expediente

L: Limitada

O: Ordinaria

N: Sin intervención.

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="1" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="IMPORTEType">

                <xsd:annotation>

                    <xsd:documentation>

                    Importe

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="17" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="ACTIVO_FIJOType">

                <xsd:annotation>

                    <xsd:documentation>

                    Activo fijo de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="16" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="FECHAType">

                <xsd:annotation>

                    <xsd:documentation>

                    Tipo Fecha

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string" />

            </xsd:simpleType>

            <xsd:simpleType name="POS_PREType">

                <xsd:annotation>

                    <xsd:documentation>

                    Posición presupuestaria de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="15" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="COD_TERType">

                <xsd:annotation>

                    <xsd:documentation>

                    Código de un tercero

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="10" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="SOCIEDADType">

                <xsd:annotation>

                    <xsd:documentation>

                    Sociedad financiera

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="4" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="FASE_INTERVType">

                <xsd:annotation>

                    <xsd:documentation>

                    Fase de intervención de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="8" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="MONEDAType">

                <xsd:annotation>

                    <xsd:documentation>

                    Moneda de un importe

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="3" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="NIFType">

                <xsd:annotation>

                    <xsd:documentation>

                    NIF o CIF de un acreedor

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="16" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="FASE_DOCType">

                <xsd:annotation>

                    <xsd:documentation>

                    Fase de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="10" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="PROYECTOType">

                <xsd:annotation>

                    <xsd:documentation>

                    Proyecto de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="8" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="CLASE_DOCType">

                <xsd:annotation>

                    <xsd:documentation>

                    Clase del documento FI

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="2" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="CEN_GESType">

                <xsd:annotation>

                    <xsd:documentation>

                    Centro gestor de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string" />

            </xsd:simpleType>

            <xsd:simpleType name="DOC_FIType">

                <xsd:annotation>

                    <xsd:documentation>

                    Documento presupuestario

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string" />

            </xsd:simpleType>

            <xsd:complexType name="LINEA_CONTABLEType">

                <xsd:annotation>

                    <xsd:documentation>

                    Linea Expediente contable

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="POS_EXP" type="POS_EXPType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Posición de la línea dentro del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="CEN_GES" type="CEN_GESType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Código del centro gestor

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="POS_PRE" type="POS_PREType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Posición presupuestaria

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="ACREEDOR" type="COD_TERType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Acreedor o tercero del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="NIF" type="NIFType" minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            NIF o CIF del acreedor

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="IMPORTE" type="IMPORTEType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Importe de la línea

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="DISPONIBLE" type="IMPORTEType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Importe disponible de la línea = IMPORTE -
CONSUMIDO

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="MONEDA" type="MONEDAType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Moneda de devolución de los importes de la línea

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="FECHA_PAGO" type="FECHAType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Fecha de pago de la línea

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="DOC_FI" type="DOC_FIType"
minOccurs="0" default="0000000000">

                        <xsd:annotation>

                            <xsd:documentation>

                            Documento FI. Se rellena solo en el caso de
documentos del tipo O

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="PROYECTO" type="PROYECTOType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Proyecto al que se imputa el gasto. Obligatorio
solo para determinados conceptos presupuestarios

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="ACTIVO_FIJO" type="ACTIVO_FIJOType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Activo fijo al que imputar el gasto

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="DESC_LIN" minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Descripción de la línea que produce el gasto

                            </xsd:documentation>

                        </xsd:annotation>

                        <xsd:simpleType>

                            <xsd:restriction base="xsd:string">

                                <xsd:maxLength value="25" />

                            </xsd:restriction>

                        </xsd:simpleType>

                    </xsd:element>

                    <xsd:element name="POS_EXP_REF" type="POS_EXPType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Posición de línea del expediente de referencia.
Obligatoria solo cuando el expediente tiene otro documento de referencia

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="LISTA_EXP_CONTABLEType">

                <xsd:annotation>

                    <xsd:documentation>

                    Lista de expedientes contables

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="EXPEDIENTE_CONTABLE"
type="EXPEDIENTE_CONTABLEType" minOccurs="0" maxOccurs="unbounded">

                        <xsd:annotation>

                            <xsd:documentation>

                            Expediente contable

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="RESULTADOType">

                <xsd:annotation>

                    <xsd:documentation>

                    Devolución de un error y su mensaje asociado

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="TEXTO_ERROR" type="xsd:string">

                        <xsd:annotation>

                            <xsd:documentation>

                            Texto asociado al error

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="CODIGO_ERROR" type="xsd:string">

                        <xsd:annotation>

                            <xsd:documentation>

                            Código de retorno de la llamada: 

0:   OK 

&gt;0: ERROR Hay algún problema, en cuyo caso en el campo TEXTO_ERROR
aparece la descripción del error.

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="EXPEDIENTE_CONTABLEType">

                <xsd:annotation>

                    <xsd:documentation>

                    Identificación o clave de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="CAB">

                        <xsd:annotation>

                            <xsd:documentation>

                            Cabecera del expediente contable

                            </xsd:documentation>

                        </xsd:annotation>

                        <xsd:complexType>

                            <xsd:sequence>

                                <xsd:element name="ID_CAB" type="ID_EXPType"
/>

                                <xsd:element name="DESC_CAB">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Descripción global del expediente

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="DOC_PRE"
type="xsd:string">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Documento presupuestario

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="SOCIEDAD"
type="SOCIEDADType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Sociedad del expediente

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="FASE_DOC"
type="FASE_DOCType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Fase presupuestaria del documento

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="CLASE_DOC"
type="CLASE_DOCType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Clase del documento FI

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="TIPO_EXP">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Tipo de expediente de tramitación

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="INTERVENCION"
type="INTERVENCIONType" minOccurs="0" />

                                <xsd:element name="FECHA_CONT"
type="FECHAType" minOccurs="0">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Fecha de contabilizacion del
expediente. Coincide con la fecha de cierre

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="FECHA_ALTA"
type="FECHAType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Fecha de creación del documento a
efectos contables

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="FECHA_REAL_ALTA"
type="FECHAType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Fecha real del alta del expediente
en el sistema

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="ID_DOC_REF"
type="ID_EXPType" minOccurs="0">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Clave del expediente de referencia

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="DOC_PRE_REF"
minOccurs="0">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Documento presupuestario de
referencia

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                            </xsd:sequence>

                        </xsd:complexType>

                    </xsd:element>

                    <xsd:element name="LINEAS" minOccurs="0"
maxOccurs="unbounded">

                        <xsd:complexType>

                            <xsd:sequence>

                                <xsd:element name="NUM_LIN">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Número de líneas del expediente
contable

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="LINEA_CONTABLE"
type="LINEA_CONTABLEType" maxOccurs="unbounded" />

                            </xsd:sequence>

                        </xsd:complexType>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="INTERVENCIONType">

                <xsd:annotation>

                    <xsd:documentation>

                    Tipo de intervención

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="INTERV" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Intervención Si/No (X/ )

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="TIPO_INTERV" type="TIPO_INTERVType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Tipo de intervención de fiscalización

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="FASE_INTERV" type="FASE_INTERVType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Fase de intervención de fiscalización

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="ID_EXPType">

                <xsd:annotation>

                    <xsd:documentation>

                    Identificación o clave de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="CIRCUITO" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Circuito del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="COD_TERRI" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Código territorial de gestión

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="EJER" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Ejercicio presupuestario del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="NUMEXP" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Número identificador del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

        </xsd:schema>

    </wsdl:types>

    <wsdl:message name="p1.IM_OBTENEREC">

        <wsdl:part name="IM_OBTENEREC" element="p1:IM_OBTENEREC" />

    </wsdl:message>

    <wsdl:message name="p1.EX_OBTENEREC">

        <wsdl:part name="EX_OBTENEREC" element="p1:EX_OBTENEREC" />

    </wsdl:message>

    <wsdl:portType name="IM_ObtenerEC">

        <wsdl:operation name="IM_ObtenerEC">

            <wsdl:input message="p1:p1.IM_OBTENEREC" />

            <wsdl:output message="p1:p1.EX_OBTENEREC" />

        </wsdl:operation>

    </wsdl:portType>

    <wsdl:binding name="IM_ObtenerECBinding" type="p1:IM_ObtenerEC">

        <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
style="document" transport="http://schemas.xmlsoap.org/soap/http" />

        <wsdl:operation name="IM_ObtenerEC">

            <soap:operation
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
soapAction="http://sap.com/xi/WebService/soap1.1" />

            <wsdl:input>

                <soap:body
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" />

            </wsdl:input>

            <wsdl:output>

                <soap:body
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" />

            </wsdl:output>

        </wsdl:operation>

    </wsdl:binding>

    <wsdl:service name="IM_ObtenerECService">

        <wsdl:port name="IM_ObtenerECPort" binding="p1:IM_ObtenerECBinding">

            <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
location="http://clustertxi.carm.es:50000/XISOAPAdapter/MessageServlet?chann
el=:SN_ObtenerEC:MandarFicheroSOAP&amp;version=3.0&amp;Sender.Service=SN_Obt
enerEC&amp;Interface=http%3A%2F%2Fcarm.es%2Fws%2Fec%5EIM_ObtenerEC" />

        </wsdl:port>

    </wsdl:service>

</wsdl:definitions>


RE: WSDL2JAVA

Posted by Manuel Nicolas Ortuño <ma...@carm.es>.
Hello,

This is the line than i use java -cp %AXISCLASSPATH%
org.apache.axis.wsdl.WSDL2Java -pes.carm.ctyc.wc.CSigepal -oCliente
-dApplication -W ObtenerEc.wsdl

 

The same line in axis 1.1 generate all the classes. Generate

 

package es.carm.ctyc.wc.CSigepal;

public interface IM_ObtenerEC extends java.rmi.Remote {

    public es.carm.ctyc.wc.CSigepal._EX_OBTENEREC
IM_ObtenerEC(es.carm.ctyc.wc.CSigepal._IM_OBTENEREC IM_OBTENEREC) throws
java.rmi.RemoteException;

}

 

The class es.carm.ctyc.wc.CSigepal._IM_OBTENEREC is generated by axis 1.1,
but not by axis 1.2

 

I need this class for invoke web service.

 

Thanks.

  _____  

De: Bob Carpenter [mailto:bobc@engineer.com] 
Enviado el: lunes, 30 de mayo de 2005 21:09
Para: axis-user@ws.apache.org; manuel.nicolas4@carm.es
Asunto: RE: WSDL2JAVA

 

Manuel,

 

Did you use the -W option with wsdl2java?  Using it should emit all of the
files.

 

--BobC

 

-----Original Message-----
From: Manuel Nicolas Ortuño [mailto:manuel.nicolas4@carm.es]
Sent: Monday, May 30, 2005 11:26 AM
To: axis-user@ws.apache.org
Subject: WSDL2JAVA

Hello, I have this wsdl. When I use wsdl2java (axis 1.1) generate the class
_IM_OBTENEREC.java. I use this class to invoke web service

_EX_OBTENEREC IM_ObtenerEC(_IM_OBTENEREC IM_OBTENEREC) work ok

But if i use axis 1.2 wsdl2java not generate _IM_OBTENEREC only generate
IM_OBTENEREC.java

 

public interface IM_OBTENEREC extends java.rmi.Remote {

    public es.carm.ctyc.wc.CSigepal2.EX_OBTENEREC
IM_ObtenerEC(es.carm.ctyc.wc.CSigepal2.IM_OBTENEREC IM_OBTENEREC) throws
java.rmi.RemoteException;

}

 

In axis 1.2 I have implemet the interface IM_OBTENEREC?

Have any solution that all java object are generated by axis?

 

Thanks

 

 

<?xml version="1.0" encoding="ISO-8859-1"?>

 

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:p1="http://carm.es/ws/ec" name="IM_ObtenerEC"
targetNamespace="http://carm.es/ws/ec">

    <wsdl:types>

        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://carm.es/ws/ec" targetNamespace="http://carm.es/ws/ec">

            <xsd:element name="EX_OBTENEREC">

                <xsd:annotation>

                    <xsd:documentation>

                    Nodo con la lista de expediente contables obtenidos y
con el resultado  final: Error u OK

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:complexType>

                    <xsd:sequence>

                        <xsd:element name="LISTA_EXP_CONTABLE"
type="LISTA_EXP_CONTABLEType">

                            <xsd:annotation>

                                <xsd:documentation>

                                Lista de expedientes obtenidos en la
consulta

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="RESULTADO" type="RESULTADOType">

                            <xsd:annotation>

                                <xsd:documentation>

                                CODIGOS DE ERROR:

 

0001:&apos;ERROR: ESPECIFIQUE MÁS SU BUSQUEDA&apos;: clave incompleta y
ademas falta o el centro gestor o el ejercicio del expediente

 

0002: &apos;ERROR: NO HAY RESULTADOS PARA ESE CENTRO GESTOR Y EJER&apos;:
como filtros nos encontramos la clave incompleta con lo que intenta acceder
por el centro gestor y el ejercicio del expediente, para los valores
introducidos no existe ningun tipo de registro

 

0003: &apos;ERROR: NO HAY RESULTADOS PARA LA CLAVE ELEGIDA&apos;: se ha
pasado como filtro de elección: circuito, código de territorio, ejercicio
del expediente y el número del expediente; para los valores introducidos no
hay ningún registro en la BD.

 

0005: &apos;ERROR: SALIDA VACIA!&apos;: no se tiene permisos para acceder a
ningun expediente resultado del filtro

 

0006:  &apos;ERROR: SALIDA VACIA, RELAJE EL FILTRADO&apos;: con los valores
escogidos para el filtro no hay ningun registro en la BD

 

0050: &apos;ERROR: FORMATO DE FECHAS INCORRECTO&apos;: formato de fechas
incorrecto

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                    </xsd:sequence>

                </xsd:complexType>

            </xsd:element>

            <xsd:element name="IM_OBTENEREC">

                <xsd:annotation>

                    <xsd:documentation>

                    Filtros de entrada para obtener un expediente, como
minimo se deben de complimentar la clave ID_EXP (circuito y cod_terri toman
por defecto los valores &apos;contable&apos; y &apos;000000&apos;) ó CENGES
y POSEXP

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:complexType>

                    <xsd:sequence>

                        <xsd:element name="ID_EXP" type="ID_EXPType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Identificación o clave de un expediente

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="POS_EXP" type="POS_EXPType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Posición de la línea dentro del expediente

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="CEN_GES" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Código del centro gestor

                                </xsd:documentation>

                            </xsd:annotation>

                            <xsd:simpleType>

                                <xsd:restriction base="CEN_GESType" />

                            </xsd:simpleType>

                        </xsd:element>

                        <xsd:element name="POS_PRE" type="POS_PREType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Partida Presupuestaria

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="PROYECTO" type="PROYECTOType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Proyecto al que se imputa el gasto.
Obligatorio solo para determinados conceptos presupuestarios

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="FEC_CONTAB_DESDE"
type="FECHAType" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Fecha de contabilización inicial (para una
busqueda a partir de esta fecha)

Formato dd/mm/aaaa

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="FEC_CONTAB_HASTA"
type="FECHAType" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Fecha de contabilización final (para una
busqueda como máximo hasta esta fecha)

Formato dd/mm/aaaa

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="FEC_REAL_ALTA_DESDE"
type="FECHAType" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Fecha real del alta del expediente en el
sistema (para una busqueda a partir de esta fecha)

Formato dd/mm/aaaa

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="FEC_REAL_ALTA_HASTA"
type="FECHAType" minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Fecha real del alta del expediente en el
sistema  (para una busqueda como máximo hasta esta fecha)

Formato dd/mm/aaaa

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                        <xsd:element name="ACREEDOR" type="COD_TERType"
minOccurs="0">

                            <xsd:annotation>

                                <xsd:documentation>

                                Acreedor o tercero del expediente

                                </xsd:documentation>

                            </xsd:annotation>

                        </xsd:element>

                    </xsd:sequence>

                </xsd:complexType>

            </xsd:element>

            <xsd:simpleType name="POS_EXPType">

                <xsd:annotation>

                    <xsd:documentation>

                    Posición de una linea dentro de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string" />

            </xsd:simpleType>

            <xsd:simpleType name="TIPO_INTERVType">

                <xsd:annotation>

                    <xsd:documentation>

                    Tipo de intervención de  un expediente

L: Limitada

O: Ordinaria

N: Sin intervención.

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="1" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="IMPORTEType">

                <xsd:annotation>

                    <xsd:documentation>

                    Importe

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="17" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="ACTIVO_FIJOType">

                <xsd:annotation>

                    <xsd:documentation>

                    Activo fijo de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="16" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="FECHAType">

                <xsd:annotation>

                    <xsd:documentation>

                    Tipo Fecha

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string" />

            </xsd:simpleType>

            <xsd:simpleType name="POS_PREType">

                <xsd:annotation>

                    <xsd:documentation>

                    Posición presupuestaria de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="15" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="COD_TERType">

                <xsd:annotation>

                    <xsd:documentation>

                    Código de un tercero

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="10" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="SOCIEDADType">

                <xsd:annotation>

                    <xsd:documentation>

                    Sociedad financiera

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="4" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="FASE_INTERVType">

                <xsd:annotation>

                    <xsd:documentation>

                    Fase de intervención de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="8" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="MONEDAType">

                <xsd:annotation>

                    <xsd:documentation>

                    Moneda de un importe

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="3" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="NIFType">

                <xsd:annotation>

                    <xsd:documentation>

                    NIF o CIF de un acreedor

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="16" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="FASE_DOCType">

                <xsd:annotation>

                    <xsd:documentation>

                    Fase de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="10" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="PROYECTOType">

                <xsd:annotation>

                    <xsd:documentation>

                    Proyecto de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="8" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="CLASE_DOCType">

                <xsd:annotation>

                    <xsd:documentation>

                    Clase del documento FI

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string">

                    <xsd:maxLength value="2" />

                </xsd:restriction>

            </xsd:simpleType>

            <xsd:simpleType name="CEN_GESType">

                <xsd:annotation>

                    <xsd:documentation>

                    Centro gestor de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string" />

            </xsd:simpleType>

            <xsd:simpleType name="DOC_FIType">

                <xsd:annotation>

                    <xsd:documentation>

                    Documento presupuestario

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:restriction base="xsd:string" />

            </xsd:simpleType>

            <xsd:complexType name="LINEA_CONTABLEType">

                <xsd:annotation>

                    <xsd:documentation>

                    Linea Expediente contable

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="POS_EXP" type="POS_EXPType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Posición de la línea dentro del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="CEN_GES" type="CEN_GESType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Código del centro gestor

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="POS_PRE" type="POS_PREType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Posición presupuestaria

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="ACREEDOR" type="COD_TERType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Acreedor o tercero del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="NIF" type="NIFType" minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            NIF o CIF del acreedor

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="IMPORTE" type="IMPORTEType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Importe de la línea

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="DISPONIBLE" type="IMPORTEType">

                        <xsd:annotation>

                            <xsd:documentation>

                            Importe disponible de la línea = IMPORTE -
CONSUMIDO

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="MONEDA" type="MONEDAType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Moneda de devolución de los importes de la línea

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="FECHA_PAGO" type="FECHAType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Fecha de pago de la línea

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="DOC_FI" type="DOC_FIType"
minOccurs="0" default="0000000000">

                        <xsd:annotation>

                            <xsd:documentation>

                            Documento FI. Se rellena solo en el caso de
documentos del tipo O

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="PROYECTO" type="PROYECTOType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Proyecto al que se imputa el gasto. Obligatorio
solo para determinados conceptos presupuestarios

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="ACTIVO_FIJO" type="ACTIVO_FIJOType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Activo fijo al que imputar el gasto

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="DESC_LIN" minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Descripción de la línea que produce el gasto

                            </xsd:documentation>

                        </xsd:annotation>

                        <xsd:simpleType>

                            <xsd:restriction base="xsd:string">

                                <xsd:maxLength value="25" />

                            </xsd:restriction>

                        </xsd:simpleType>

                    </xsd:element>

                    <xsd:element name="POS_EXP_REF" type="POS_EXPType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Posición de línea del expediente de referencia.
Obligatoria solo cuando el expediente tiene otro documento de referencia

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="LISTA_EXP_CONTABLEType">

                <xsd:annotation>

                    <xsd:documentation>

                    Lista de expedientes contables

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="EXPEDIENTE_CONTABLE"
type="EXPEDIENTE_CONTABLEType" minOccurs="0" maxOccurs="unbounded">

                        <xsd:annotation>

                            <xsd:documentation>

                            Expediente contable

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="RESULTADOType">

                <xsd:annotation>

                    <xsd:documentation>

                    Devolución de un error y su mensaje asociado

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="TEXTO_ERROR" type="xsd:string">

                        <xsd:annotation>

                            <xsd:documentation>

                            Texto asociado al error

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="CODIGO_ERROR" type="xsd:string">

                        <xsd:annotation>

                            <xsd:documentation>

                            Código de retorno de la llamada: 

0:   OK 

&gt;0: ERROR Hay algún problema, en cuyo caso en el campo TEXTO_ERROR
aparece la descripción del error.

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="EXPEDIENTE_CONTABLEType">

                <xsd:annotation>

                    <xsd:documentation>

                    Identificación o clave de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="CAB">

                        <xsd:annotation>

                            <xsd:documentation>

                            Cabecera del expediente contable

                            </xsd:documentation>

                        </xsd:annotation>

                        <xsd:complexType>

                            <xsd:sequence>

                                <xsd:element name="ID_CAB" type="ID_EXPType"
/>

                                <xsd:element name="DESC_CAB">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Descripción global del expediente

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="DOC_PRE"
type="xsd:string">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Documento presupuestario

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="SOCIEDAD"
type="SOCIEDADType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Sociedad del expediente

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="FASE_DOC"
type="FASE_DOCType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Fase presupuestaria del documento

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="CLASE_DOC"
type="CLASE_DOCType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Clase del documento FI

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="TIPO_EXP">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Tipo de expediente de tramitación

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="INTERVENCION"
type="INTERVENCIONType" minOccurs="0" />

                                <xsd:element name="FECHA_CONT"
type="FECHAType" minOccurs="0">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Fecha de contabilizacion del
expediente. Coincide con la fecha de cierre

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="FECHA_ALTA"
type="FECHAType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Fecha de creación del documento a
efectos contables

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="FECHA_REAL_ALTA"
type="FECHAType">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Fecha real del alta del expediente
en el sistema

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="ID_DOC_REF"
type="ID_EXPType" minOccurs="0">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Clave del expediente de referencia

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="DOC_PRE_REF"
minOccurs="0">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Documento presupuestario de
referencia

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                            </xsd:sequence>

                        </xsd:complexType>

                    </xsd:element>

                    <xsd:element name="LINEAS" minOccurs="0"
maxOccurs="unbounded">

                        <xsd:complexType>

                            <xsd:sequence>

                                <xsd:element name="NUM_LIN">

                                    <xsd:annotation>

                                        <xsd:documentation>

                                        Número de líneas del expediente
contable

                                        </xsd:documentation>

                                    </xsd:annotation>

                                </xsd:element>

                                <xsd:element name="LINEA_CONTABLE"
type="LINEA_CONTABLEType" maxOccurs="unbounded" />

                            </xsd:sequence>

                        </xsd:complexType>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="INTERVENCIONType">

                <xsd:annotation>

                    <xsd:documentation>

                    Tipo de intervención

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="INTERV" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Intervención Si/No (X/ )

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="TIPO_INTERV" type="TIPO_INTERVType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Tipo de intervención de fiscalización

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="FASE_INTERV" type="FASE_INTERVType"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Fase de intervención de fiscalización

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

            <xsd:complexType name="ID_EXPType">

                <xsd:annotation>

                    <xsd:documentation>

                    Identificación o clave de un expediente

                    </xsd:documentation>

                </xsd:annotation>

                <xsd:sequence>

                    <xsd:element name="CIRCUITO" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Circuito del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="COD_TERRI" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Código territorial de gestión

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="EJER" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Ejercicio presupuestario del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                    <xsd:element name="NUMEXP" type="xsd:string"
minOccurs="0">

                        <xsd:annotation>

                            <xsd:documentation>

                            Número identificador del expediente

                            </xsd:documentation>

                        </xsd:annotation>

                    </xsd:element>

                </xsd:sequence>

            </xsd:complexType>

        </xsd:schema>

    </wsdl:types>

    <wsdl:message name="p1.IM_OBTENEREC">

        <wsdl:part name="IM_OBTENEREC" element="p1:IM_OBTENEREC" />

    </wsdl:message>

    <wsdl:message name="p1.EX_OBTENEREC">

        <wsdl:part name="EX_OBTENEREC" element="p1:EX_OBTENEREC" />

    </wsdl:message>

    <wsdl:portType name="IM_ObtenerEC">

        <wsdl:operation name="IM_ObtenerEC">

            <wsdl:input message="p1:p1.IM_OBTENEREC" />

            <wsdl:output message="p1:p1.EX_OBTENEREC" />

        </wsdl:operation>

    </wsdl:portType>

    <wsdl:binding name="IM_ObtenerECBinding" type="p1:IM_ObtenerEC">

        <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
style="document" transport="http://schemas.xmlsoap.org/soap/http" />

        <wsdl:operation name="IM_ObtenerEC">

            <soap:operation
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
soapAction="http://sap.com/xi/WebService/soap1.1" />

            <wsdl:input>

                <soap:body
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" />

            </wsdl:input>

            <wsdl:output>

                <soap:body
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" />

            </wsdl:output>

        </wsdl:operation>

    </wsdl:binding>

    <wsdl:service name="IM_ObtenerECService">

        <wsdl:port name="IM_ObtenerECPort" binding="p1:IM_ObtenerECBinding">

            <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
location="http://clustertxi.carm.es:50000/XISOAPAdapter/MessageServlet?chann
el=:SN_ObtenerEC:MandarFicheroSOAP&amp;version=3.0&amp;Sender.Service=SN_Obt
enerEC&amp;Interface=http%3A%2F%2Fcarm.es%2Fws%2Fec%5EIM_ObtenerEC" />

        </wsdl:port>

    </wsdl:service>

</wsdl:definitions>


RE: WSDL2JAVA

Posted by Bob Carpenter <bo...@engineer.com>.
Manuel,

Did you use the -W option with wsdl2java?  Using it should emit all of the
files.

--BobC

  -----Original Message-----
  From: Manuel Nicolas Ortuño [mailto:manuel.nicolas4@carm.es]
  Sent: Monday, May 30, 2005 11:26 AM
  To: axis-user@ws.apache.org
  Subject: WSDL2JAVA


  Hello, I have this wsdl. When I use wsdl2java (axis 1.1) generate the
class _IM_OBTENEREC.java. I use this class to invoke web service

  _EX_OBTENEREC IM_ObtenerEC(_IM_OBTENEREC IM_OBTENEREC) work ok

  But if i use axis 1.2 wsdl2java not generate _IM_OBTENEREC only generate
IM_OBTENEREC.java



  public interface IM_OBTENEREC extends java.rmi.Remote {

      public es.carm.ctyc.wc.CSigepal2.EX_OBTENEREC
IM_ObtenerEC(es.carm.ctyc.wc.CSigepal2.IM_OBTENEREC IM_OBTENEREC) throws
java.rmi.RemoteException;

  }



  In axis 1.2 I have implemet the interface IM_OBTENEREC?

  Have any solution that all java object are generated by axis?



  Thanks





  <?xml version="1.0" encoding="ISO-8859-1"?>



  <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:p1="http://carm.es/ws/ec" name="IM_ObtenerEC"
targetNamespace="http://carm.es/ws/ec">

      <wsdl:types>

          <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://carm.es/ws/ec" targetNamespace="http://carm.es/ws/ec">

              <xsd:element name="EX_OBTENEREC">

                  <xsd:annotation>

                      <xsd:documentation>

                      Nodo con la lista de expediente contables obtenidos y
con el resultado  final: Error u OK

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:complexType>

                      <xsd:sequence>

                          <xsd:element name="LISTA_EXP_CONTABLE"
type="LISTA_EXP_CONTABLEType">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Lista de expedientes obtenidos en la
consulta

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                          <xsd:element name="RESULTADO"
type="RESULTADOType">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  CODIGOS DE ERROR:



  0001:&apos;ERROR: ESPECIFIQUE MÁS SU BUSQUEDA&apos;: clave incompleta y
ademas falta o el centro gestor o el ejercicio del expediente



  0002: &apos;ERROR: NO HAY RESULTADOS PARA ESE CENTRO GESTOR Y EJER&apos;:
como filtros nos encontramos la clave incompleta con lo que intenta acceder
por el centro gestor y el ejercicio del expediente, para los valores
introducidos no existe ningun tipo de registro



  0003: &apos;ERROR: NO HAY RESULTADOS PARA LA CLAVE ELEGIDA&apos;: se ha
pasado como filtro de elección: circuito, código de territorio, ejercicio
del expediente y el número del expediente; para los valores introducidos no
hay ningún registro en la BD.



  0005: &apos;ERROR: SALIDA VACIA!&apos;: no se tiene permisos para acceder
a ningun expediente resultado del filtro



  0006:  &apos;ERROR: SALIDA VACIA, RELAJE EL FILTRADO&apos;: con los
valores escogidos para el filtro no hay ningun registro en la BD



  0050: &apos;ERROR: FORMATO DE FECHAS INCORRECTO&apos;: formato de fechas
incorrecto

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                      </xsd:sequence>

                  </xsd:complexType>

              </xsd:element>

              <xsd:element name="IM_OBTENEREC">

                  <xsd:annotation>

                      <xsd:documentation>

                      Filtros de entrada para obtener un expediente, como
minimo se deben de complimentar la clave ID_EXP (circuito y cod_terri toman
por defecto los valores &apos;contable&apos; y &apos;000000&apos;) ó CENGES
y POSEXP

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:complexType>

                      <xsd:sequence>

                          <xsd:element name="ID_EXP" type="ID_EXPType"
minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Identificación o clave de un expediente

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                          <xsd:element name="POS_EXP" type="POS_EXPType"
minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Posición de la línea dentro del expediente

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                          <xsd:element name="CEN_GES" minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Código del centro gestor

                                  </xsd:documentation>

                              </xsd:annotation>

                              <xsd:simpleType>

                                  <xsd:restriction base="CEN_GESType" />

                              </xsd:simpleType>

                          </xsd:element>

                          <xsd:element name="POS_PRE" type="POS_PREType"
minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Partida Presupuestaria

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                          <xsd:element name="PROYECTO" type="PROYECTOType"
minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Proyecto al que se imputa el gasto.
Obligatorio solo para determinados conceptos presupuestarios

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                          <xsd:element name="FEC_CONTAB_DESDE"
type="FECHAType" minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Fecha de contabilización inicial (para una
busqueda a partir de esta fecha)

  Formato dd/mm/aaaa

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                          <xsd:element name="FEC_CONTAB_HASTA"
type="FECHAType" minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Fecha de contabilización final (para una
busqueda como máximo hasta esta fecha)

  Formato dd/mm/aaaa

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                          <xsd:element name="FEC_REAL_ALTA_DESDE"
type="FECHAType" minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Fecha real del alta del expediente en el
sistema (para una busqueda a partir de esta fecha)

  Formato dd/mm/aaaa

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                          <xsd:element name="FEC_REAL_ALTA_HASTA"
type="FECHAType" minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Fecha real del alta del expediente en el
sistema  (para una busqueda como máximo hasta esta fecha)

  Formato dd/mm/aaaa

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                          <xsd:element name="ACREEDOR" type="COD_TERType"
minOccurs="0">

                              <xsd:annotation>

                                  <xsd:documentation>

                                  Acreedor o tercero del expediente

                                  </xsd:documentation>

                              </xsd:annotation>

                          </xsd:element>

                      </xsd:sequence>

                  </xsd:complexType>

              </xsd:element>

              <xsd:simpleType name="POS_EXPType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Posición de una linea dentro de un expediente

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string" />

              </xsd:simpleType>

              <xsd:simpleType name="TIPO_INTERVType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Tipo de intervención de  un expediente

  L: Limitada

  O: Ordinaria

  N: Sin intervención.

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="1" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="IMPORTEType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Importe

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="17" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="ACTIVO_FIJOType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Activo fijo de un expediente

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="16" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="FECHAType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Tipo Fecha

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string" />

              </xsd:simpleType>

              <xsd:simpleType name="POS_PREType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Posición presupuestaria de un expediente

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="15" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="COD_TERType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Código de un tercero

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="10" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="SOCIEDADType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Sociedad financiera

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="4" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="FASE_INTERVType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Fase de intervención de un expediente

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="8" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="MONEDAType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Moneda de un importe

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="3" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="NIFType">

                  <xsd:annotation>

                      <xsd:documentation>

                      NIF o CIF de un acreedor

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="16" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="FASE_DOCType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Fase de un expediente

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="10" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="PROYECTOType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Proyecto de un expediente

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="8" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="CLASE_DOCType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Clase del documento FI

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string">

                      <xsd:maxLength value="2" />

                  </xsd:restriction>

              </xsd:simpleType>

              <xsd:simpleType name="CEN_GESType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Centro gestor de un expediente

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string" />

              </xsd:simpleType>

              <xsd:simpleType name="DOC_FIType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Documento presupuestario

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:restriction base="xsd:string" />

              </xsd:simpleType>

              <xsd:complexType name="LINEA_CONTABLEType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Linea Expediente contable

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:sequence>

                      <xsd:element name="POS_EXP" type="POS_EXPType">

                          <xsd:annotation>

                              <xsd:documentation>

                              Posición de la línea dentro del expediente

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="CEN_GES" type="CEN_GESType">

                          <xsd:annotation>

                              <xsd:documentation>

                              Código del centro gestor

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="POS_PRE" type="POS_PREType">

                          <xsd:annotation>

                              <xsd:documentation>

                              Posición presupuestaria

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="ACREEDOR" type="COD_TERType"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Acreedor o tercero del expediente

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="NIF" type="NIFType" minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              NIF o CIF del acreedor

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="IMPORTE" type="IMPORTEType">

                          <xsd:annotation>

                              <xsd:documentation>

                              Importe de la línea

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="DISPONIBLE" type="IMPORTEType">

                          <xsd:annotation>

                              <xsd:documentation>

                              Importe disponible de la línea = IMPORTE -
CONSUMIDO

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="MONEDA" type="MONEDAType"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Moneda de devolución de los importes de la
línea

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="FECHA_PAGO" type="FECHAType"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Fecha de pago de la línea

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="DOC_FI" type="DOC_FIType"
minOccurs="0" default="0000000000">

                          <xsd:annotation>

                              <xsd:documentation>

                              Documento FI. Se rellena solo en el caso de
documentos del tipo O

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="PROYECTO" type="PROYECTOType"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Proyecto al que se imputa el gasto.
Obligatorio solo para determinados conceptos presupuestarios

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="ACTIVO_FIJO" type="ACTIVO_FIJOType"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Activo fijo al que imputar el gasto

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="DESC_LIN" minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Descripción de la línea que produce el gasto

                              </xsd:documentation>

                          </xsd:annotation>

                          <xsd:simpleType>

                              <xsd:restriction base="xsd:string">

                                  <xsd:maxLength value="25" />

                              </xsd:restriction>

                          </xsd:simpleType>

                      </xsd:element>

                      <xsd:element name="POS_EXP_REF" type="POS_EXPType"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Posición de línea del expediente de
referencia. Obligatoria solo cuando el expediente tiene otro documento de
referencia

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                  </xsd:sequence>

              </xsd:complexType>

              <xsd:complexType name="LISTA_EXP_CONTABLEType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Lista de expedientes contables

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:sequence>

                      <xsd:element name="EXPEDIENTE_CONTABLE"
type="EXPEDIENTE_CONTABLEType" minOccurs="0" maxOccurs="unbounded">

                          <xsd:annotation>

                              <xsd:documentation>

                              Expediente contable

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                  </xsd:sequence>

              </xsd:complexType>

              <xsd:complexType name="RESULTADOType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Devolución de un error y su mensaje asociado

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:sequence>

                      <xsd:element name="TEXTO_ERROR" type="xsd:string">

                          <xsd:annotation>

                              <xsd:documentation>

                              Texto asociado al error

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="CODIGO_ERROR" type="xsd:string">

                          <xsd:annotation>

                              <xsd:documentation>

                              Código de retorno de la llamada:

  0:   OK

  &gt;0: ERROR Hay algún problema, en cuyo caso en el campo TEXTO_ERROR
aparece la descripción del error.

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                  </xsd:sequence>

              </xsd:complexType>

              <xsd:complexType name="EXPEDIENTE_CONTABLEType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Identificación o clave de un expediente

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:sequence>

                      <xsd:element name="CAB">

                          <xsd:annotation>

                              <xsd:documentation>

                              Cabecera del expediente contable

                              </xsd:documentation>

                          </xsd:annotation>

                          <xsd:complexType>

                              <xsd:sequence>

                                  <xsd:element name="ID_CAB"
type="ID_EXPType" />

                                  <xsd:element name="DESC_CAB">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Descripción global del expediente

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="DOC_PRE"
type="xsd:string">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Documento presupuestario

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="SOCIEDAD"
type="SOCIEDADType">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Sociedad del expediente

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="FASE_DOC"
type="FASE_DOCType">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Fase presupuestaria del documento

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="CLASE_DOC"
type="CLASE_DOCType">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Clase del documento FI

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="TIPO_EXP">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Tipo de expediente de tramitación

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="INTERVENCION"
type="INTERVENCIONType" minOccurs="0" />

                                  <xsd:element name="FECHA_CONT"
type="FECHAType" minOccurs="0">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Fecha de contabilizacion del
expediente. Coincide con la fecha de cierre

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="FECHA_ALTA"
type="FECHAType">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Fecha de creación del documento a
efectos contables

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="FECHA_REAL_ALTA"
type="FECHAType">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Fecha real del alta del expediente
en el sistema

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="ID_DOC_REF"
type="ID_EXPType" minOccurs="0">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Clave del expediente de referencia

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="DOC_PRE_REF"
minOccurs="0">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Documento presupuestario de
referencia

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                              </xsd:sequence>

                          </xsd:complexType>

                      </xsd:element>

                      <xsd:element name="LINEAS" minOccurs="0"
maxOccurs="unbounded">

                          <xsd:complexType>

                              <xsd:sequence>

                                  <xsd:element name="NUM_LIN">

                                      <xsd:annotation>

                                          <xsd:documentation>

                                          Número de líneas del expediente
contable

                                          </xsd:documentation>

                                      </xsd:annotation>

                                  </xsd:element>

                                  <xsd:element name="LINEA_CONTABLE"
type="LINEA_CONTABLEType" maxOccurs="unbounded" />

                              </xsd:sequence>

                          </xsd:complexType>

                      </xsd:element>

                  </xsd:sequence>

              </xsd:complexType>

              <xsd:complexType name="INTERVENCIONType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Tipo de intervención

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:sequence>

                      <xsd:element name="INTERV" type="xsd:string"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Intervención Si/No (X/ )

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="TIPO_INTERV" type="TIPO_INTERVType"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Tipo de intervención de fiscalización

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="FASE_INTERV" type="FASE_INTERVType"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Fase de intervención de fiscalización

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                  </xsd:sequence>

              </xsd:complexType>

              <xsd:complexType name="ID_EXPType">

                  <xsd:annotation>

                      <xsd:documentation>

                      Identificación o clave de un expediente

                      </xsd:documentation>

                  </xsd:annotation>

                  <xsd:sequence>

                      <xsd:element name="CIRCUITO" type="xsd:string"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Circuito del expediente

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="COD_TERRI" type="xsd:string"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Código territorial de gestión

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="EJER" type="xsd:string"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Ejercicio presupuestario del expediente

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                      <xsd:element name="NUMEXP" type="xsd:string"
minOccurs="0">

                          <xsd:annotation>

                              <xsd:documentation>

                              Número identificador del expediente

                              </xsd:documentation>

                          </xsd:annotation>

                      </xsd:element>

                  </xsd:sequence>

              </xsd:complexType>

          </xsd:schema>

      </wsdl:types>

      <wsdl:message name="p1.IM_OBTENEREC">

          <wsdl:part name="IM_OBTENEREC" element="p1:IM_OBTENEREC" />

      </wsdl:message>

      <wsdl:message name="p1.EX_OBTENEREC">

          <wsdl:part name="EX_OBTENEREC" element="p1:EX_OBTENEREC" />

      </wsdl:message>

      <wsdl:portType name="IM_ObtenerEC">

          <wsdl:operation name="IM_ObtenerEC">

              <wsdl:input message="p1:p1.IM_OBTENEREC" />

              <wsdl:output message="p1:p1.EX_OBTENEREC" />

          </wsdl:operation>

      </wsdl:portType>

      <wsdl:binding name="IM_ObtenerECBinding" type="p1:IM_ObtenerEC">

          <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
style="document" transport="http://schemas.xmlsoap.org/soap/http" />

          <wsdl:operation name="IM_ObtenerEC">

              <soap:operation
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
soapAction="http://sap.com/xi/WebService/soap1.1" />

              <wsdl:input>

                  <soap:body
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" />

              </wsdl:input>

              <wsdl:output>

                  <soap:body
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal" />

              </wsdl:output>

          </wsdl:operation>

      </wsdl:binding>

      <wsdl:service name="IM_ObtenerECService">

          <wsdl:port name="IM_ObtenerECPort"
binding="p1:IM_ObtenerECBinding">

              <soap:address
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
location="http://clustertxi.carm.es:50000/XISOAPAdapter/MessageServlet?chann
el=:SN_ObtenerEC:MandarFicheroSOAP&amp;version=3.0&amp;Sender.Service=SN_Obt
enerEC&amp;Interface=http%3A%2F%2Fcarm.es%2Fws%2Fec%5EIM_ObtenerEC" />

          </wsdl:port>

      </wsdl:service>

  </wsdl:definitions>