/**
 ** Please don't modify this file.
 ** This file was generated by the Software AG, EntireX Java Wrapper
 ** from the IDL file C:/Documents and Settings/Admin/Bureau/Brokers logistique/nwlwtcm2/nwlwtcm2.idl.
 **
 ** @author    Software AG
 ** @version   EntireX Wrapper, Version: 7.2.1.50, Date: 06 Mar 2006 (1.71.2.2)
 **
 **/

import java.util.Date;
import java.math.BigDecimal;
import com.softwareag.entirex.aci.*;

public class Jwlwtcm2 extends RPCService {

	public static final String DEFAULT_BROKERID = "10.78.28.40:2200";
	public static final String DEFAULT_SERVER = "RPC/SRV1/CALLNAT";

	public Jwlwtcm2() {
		super();
	}

	public Jwlwtcm2(Broker broker) {
		this(broker, DEFAULT_SERVER);
	}

	public Jwlwtcm2(BrokerService bs) {
		this(bs.getBroker(), bs.toString());
	}

	public Jwlwtcm2(Broker broker, String serverAddr) {
		super(broker, serverAddr, "Jwlwtcm2", true);
	}

	public static String getStubVersion() {
		return "EntireX RPC for Java Stub Version=7.2.1, Patch Level=50";
	}

	private Nwlwtcm2Axwebent nwlwtcm2Axwebent;

	public void setNwlwtcm2Axwebent(Nwlwtcm2Axwebent p) {
		nwlwtcm2Axwebent = p;
	}

	public Nwlwtcm2Axwebent getNwlwtcm2Axwebent() {
		return nwlwtcm2Axwebent;
	}

	private Nwlwtcm2Awlwtcm2 nwlwtcm2Awlwtcm2;

	public void setNwlwtcm2Awlwtcm2(Nwlwtcm2Awlwtcm2 p) {
		nwlwtcm2Awlwtcm2 = p;
	}

	public Nwlwtcm2Awlwtcm2 getNwlwtcm2Awlwtcm2() {
		return nwlwtcm2Awlwtcm2;
	}

	private final static byte[] NWLWTCM2_FORMAT =
			( "MG1,1MN3,0MA2,0MA8,0MN8,0MA8,0MA8,0MA8,0MA15,0MA2,0MA3,0MA3,"
			  + "0MA11,0MA8,0MA8,0MA1,0MN2,0MN1,0MG2,1,5MA4,0MA65,0MA1,0MN2,"
			  + "0MG2,0MG1,0MG1,1MG2,1MA4,0MA1,0MA70,0MG2,0MG2,1MA1,0MA1,"
			  + "0MA2,0MA9,0MA7,0MN2,0MG3,1,50MN9,0MN7,0MA5,0MA5,0MA5,0MA5,"
			  + "0MG3,0MA4,0MA1,0MA1,0MA3,0MN4,0MG2,0MG2,1MA24,0,500MG2,0MG1,"
			  + "0." ).getBytes();

	public void nwlwtcm2() throws BrokerException {

		buildHeader (NWLWTCM2_FORMAT, "56", 14480, 0, "NWLWTCM2", true, 1110, true, false, 2000);
if (nwlwtcm2Axwebent == null) nwlwtcm2Axwebent = new Nwlwtcm2Axwebent();
		if ( getVersion() >= 2000 ) {
			nwlwtcm2Axwebent.add();
		} else {
		super.marshal.addDataN(nwlwtcm2Axwebent.dbid, 3, 0);
		super.marshal.addDataA(nwlwtcm2Axwebent.cible_exploitant, 2);
		super.marshal.addDataA(nwlwtcm2Axwebent.groupe_exploitant, 8);
		super.marshal.addDataN(nwlwtcm2Axwebent.numero_session, 8, 0);
		super.marshal.addDataA(nwlwtcm2Axwebent.utilisateur, 8);
		super.marshal.addDataA(nwlwtcm2Axwebent.transaction, 8);
		super.marshal.addDataA(nwlwtcm2Axwebent.fonction, 8);
		super.marshal.addDataA(nwlwtcm2Axwebent.date_time_deb, 15);
		super.marshal.addDataA(nwlwtcm2Axwebent.cd_cible, 2);
		super.marshal.addDataA(nwlwtcm2Axwebent.cd_stegrp, 3);
		super.marshal.addDataA(nwlwtcm2Axwebent.cd_titre, 3);
		super.marshal.addDataA(nwlwtcm2Axwebent.num_cli_ref, 11);
		super.marshal.addDataA(nwlwtcm2Axwebent.mot_passe_appl, 8);
		super.marshal.addDataA(nwlwtcm2Axwebent.cd_application, 8);
		super.marshal.addDataA(nwlwtcm2Axwebent.type_user, 1);
		super.marshal.addDataN(nwlwtcm2Axwebent.code_retour, 2, 0);
		super.marshal.addDataN(nwlwtcm2Axwebent.nb_ano, 1, 0);
		if (nwlwtcm2Axwebent.t_ano == null) nwlwtcm2Axwebent.t_ano = new Nwlwtcm2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (nwlwtcm2Axwebent.t_ano[i0] == null) nwlwtcm2Axwebent.t_ano[i0] = new Nwlwtcm2AxwebentT_ano();
		for (int i0=0; i0<5; i0++) super.marshal.addDataA(nwlwtcm2Axwebent.t_ano[i0].code_ano, 4);
		for (int i0=0; i0<5; i0++) super.marshal.addDataA(nwlwtcm2Axwebent.t_ano[i0].lib_ano, 65);
		for (int i0=0; i0<5; i0++) super.marshal.addDataA(nwlwtcm2Axwebent.t_ano[i0].type_ano, 1);
		for (int i0=0; i0<5; i0++) super.marshal.addDataN(nwlwtcm2Axwebent.t_ano[i0].num_data, 2, 0);
		}
if (nwlwtcm2Awlwtcm2 == null) nwlwtcm2Awlwtcm2 = new Nwlwtcm2Awlwtcm2();
		if ( getVersion() >= 2000 ) {
			nwlwtcm2Awlwtcm2.add();
		} else {
if (nwlwtcm2Awlwtcm2.info_retour == null) nwlwtcm2Awlwtcm2.info_retour = new Nwlwtcm2Awlwtcm2Info_retour();
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.info_retour.code_ret, 4);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.info_retour.type_ret, 1);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.info_retour.lib_ret, 70);
if (nwlwtcm2Awlwtcm2.param == null) nwlwtcm2Awlwtcm2.param = new Nwlwtcm2Awlwtcm2Param();
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.mode, 1);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.cd_action, 1);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.top_deplacement, 2);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.tpo_id_refer, 9);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.no_ordre_refer, 7);
		super.marshal.addDataN(nwlwtcm2Awlwtcm2.param.nb_troncon, 2, 0);
		if (nwlwtcm2Awlwtcm2.param.tab_stock == null) nwlwtcm2Awlwtcm2.param.tab_stock = new Nwlwtcm2Awlwtcm2ParamTab_stock[50];
		for (int i0=0; i0<50; i0++) if (nwlwtcm2Awlwtcm2.param.tab_stock[i0] == null) nwlwtcm2Awlwtcm2.param.tab_stock[i0] = new Nwlwtcm2Awlwtcm2ParamTab_stock();
		for (int i0=0; i0<50; i0++) super.marshal.addDataN(nwlwtcm2Awlwtcm2.param.tab_stock[i0].tpo_id, 9, 0);
		for (int i0=0; i0<50; i0++) super.marshal.addDataN(nwlwtcm2Awlwtcm2.param.tab_stock[i0].no_ordre, 7, 0);
		for (int i0=0; i0<50; i0++) super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.tab_stock[i0].borne_deb_pair, 5);
		for (int i0=0; i0<50; i0++) super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.tab_stock[i0].borne_fin_pair, 5);
		for (int i0=0; i0<50; i0++) super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.tab_stock[i0].borne_deb_imp, 5);
		for (int i0=0; i0<50; i0++) super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.tab_stock[i0].borne_fin_imp, 5);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.cd_zpo, 4);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.type_portage, 1);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.tpr_groupe, 1);
		super.marshal.addDataA(nwlwtcm2Awlwtcm2.param.tpr_num, 3);
		super.marshal.addDataN(nwlwtcm2Awlwtcm2.param.cpt_troncon, 4, 0);
if (nwlwtcm2Awlwtcm2.resultats == null) nwlwtcm2Awlwtcm2.resultats = new Nwlwtcm2Awlwtcm2Resultats();
				if (nwlwtcm2Awlwtcm2.resultats.ligne_enr == null) nwlwtcm2Awlwtcm2.resultats.ligne_enr = new String[500];
		for (int i0=0; i0<500; i0++) super.marshal.addDataA(nwlwtcm2Awlwtcm2.resultats.ligne_enr[i0], 24);
		}

		callServer();

		if (nwlwtcm2Axwebent == null) nwlwtcm2Axwebent = new Nwlwtcm2Axwebent();
		if ( getVersion() >= 2000 ) {
			nwlwtcm2Axwebent.get();
		} else {
		nwlwtcm2Axwebent.dbid = super.marshal.getDataN(3, 0);
		nwlwtcm2Axwebent.cible_exploitant = super.marshal.getDataA(2);
		nwlwtcm2Axwebent.groupe_exploitant = super.marshal.getDataA(8);
		nwlwtcm2Axwebent.numero_session = super.marshal.getDataN(8, 0);
		nwlwtcm2Axwebent.utilisateur = super.marshal.getDataA(8);
		nwlwtcm2Axwebent.transaction = super.marshal.getDataA(8);
		nwlwtcm2Axwebent.fonction = super.marshal.getDataA(8);
		nwlwtcm2Axwebent.date_time_deb = super.marshal.getDataA(15);
		nwlwtcm2Axwebent.cd_cible = super.marshal.getDataA(2);
		nwlwtcm2Axwebent.cd_stegrp = super.marshal.getDataA(3);
		nwlwtcm2Axwebent.cd_titre = super.marshal.getDataA(3);
		nwlwtcm2Axwebent.num_cli_ref = super.marshal.getDataA(11);
		nwlwtcm2Axwebent.mot_passe_appl = super.marshal.getDataA(8);
		nwlwtcm2Axwebent.cd_application = super.marshal.getDataA(8);
		nwlwtcm2Axwebent.type_user = super.marshal.getDataA(1);
		nwlwtcm2Axwebent.code_retour = super.marshal.getDataN(2, 0);
		nwlwtcm2Axwebent.nb_ano = super.marshal.getDataN(1, 0);
				if (nwlwtcm2Axwebent.t_ano == null) nwlwtcm2Axwebent.t_ano = new Nwlwtcm2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (nwlwtcm2Axwebent.t_ano[i0] == null) nwlwtcm2Axwebent.t_ano[i0] = new Nwlwtcm2AxwebentT_ano();
		for (int i0=0; i0<5; i0++) nwlwtcm2Axwebent.t_ano[i0].code_ano = super.marshal.getDataA(4);
		for (int i0=0; i0<5; i0++) nwlwtcm2Axwebent.t_ano[i0].lib_ano = super.marshal.getDataA(65);
		for (int i0=0; i0<5; i0++) nwlwtcm2Axwebent.t_ano[i0].type_ano = super.marshal.getDataA(1);
		for (int i0=0; i0<5; i0++) nwlwtcm2Axwebent.t_ano[i0].num_data = super.marshal.getDataN(2, 0);
		}
		if (nwlwtcm2Awlwtcm2 == null) nwlwtcm2Awlwtcm2 = new Nwlwtcm2Awlwtcm2();
		if ( getVersion() >= 2000 ) {
			nwlwtcm2Awlwtcm2.get();
		} else {
		if (nwlwtcm2Awlwtcm2.info_retour == null) nwlwtcm2Awlwtcm2.info_retour = new Nwlwtcm2Awlwtcm2Info_retour();
		nwlwtcm2Awlwtcm2.info_retour.code_ret = super.marshal.getDataA(4);
		nwlwtcm2Awlwtcm2.info_retour.type_ret = super.marshal.getDataA(1);
		nwlwtcm2Awlwtcm2.info_retour.lib_ret = super.marshal.getDataA(70);
		if (nwlwtcm2Awlwtcm2.param == null) nwlwtcm2Awlwtcm2.param = new Nwlwtcm2Awlwtcm2Param();
		nwlwtcm2Awlwtcm2.param.mode = super.marshal.getDataA(1);
		nwlwtcm2Awlwtcm2.param.cd_action = super.marshal.getDataA(1);
		nwlwtcm2Awlwtcm2.param.top_deplacement = super.marshal.getDataA(2);
		nwlwtcm2Awlwtcm2.param.tpo_id_refer = super.marshal.getDataA(9);
		nwlwtcm2Awlwtcm2.param.no_ordre_refer = super.marshal.getDataA(7);
		nwlwtcm2Awlwtcm2.param.nb_troncon = super.marshal.getDataN(2, 0);
				if (nwlwtcm2Awlwtcm2.param.tab_stock == null) nwlwtcm2Awlwtcm2.param.tab_stock = new Nwlwtcm2Awlwtcm2ParamTab_stock[50];
		for (int i0=0; i0<50; i0++) if (nwlwtcm2Awlwtcm2.param.tab_stock[i0] == null) nwlwtcm2Awlwtcm2.param.tab_stock[i0] = new Nwlwtcm2Awlwtcm2ParamTab_stock();
		for (int i0=0; i0<50; i0++) nwlwtcm2Awlwtcm2.param.tab_stock[i0].tpo_id = super.marshal.getDataN(9, 0);
		for (int i0=0; i0<50; i0++) nwlwtcm2Awlwtcm2.param.tab_stock[i0].no_ordre = super.marshal.getDataN(7, 0);
		for (int i0=0; i0<50; i0++) nwlwtcm2Awlwtcm2.param.tab_stock[i0].borne_deb_pair = super.marshal.getDataA(5);
		for (int i0=0; i0<50; i0++) nwlwtcm2Awlwtcm2.param.tab_stock[i0].borne_fin_pair = super.marshal.getDataA(5);
		for (int i0=0; i0<50; i0++) nwlwtcm2Awlwtcm2.param.tab_stock[i0].borne_deb_imp = super.marshal.getDataA(5);
		for (int i0=0; i0<50; i0++) nwlwtcm2Awlwtcm2.param.tab_stock[i0].borne_fin_imp = super.marshal.getDataA(5);
		nwlwtcm2Awlwtcm2.param.cd_zpo = super.marshal.getDataA(4);
		nwlwtcm2Awlwtcm2.param.type_portage = super.marshal.getDataA(1);
		nwlwtcm2Awlwtcm2.param.tpr_groupe = super.marshal.getDataA(1);
		nwlwtcm2Awlwtcm2.param.tpr_num = super.marshal.getDataA(3);
		nwlwtcm2Awlwtcm2.param.cpt_troncon = super.marshal.getDataN(4, 0);
		if (nwlwtcm2Awlwtcm2.resultats == null) nwlwtcm2Awlwtcm2.resultats = new Nwlwtcm2Awlwtcm2Resultats();
		for (int i0=0; i0<500; i0++) nwlwtcm2Awlwtcm2.resultats.ligne_enr[i0] = super.marshal.getDataA(24);
		}

	}

	public class Nwlwtcm2Axwebent {
		public BigDecimal dbid;
		public String cible_exploitant;
		public String groupe_exploitant;
		public BigDecimal numero_session;
		public String utilisateur;
		public String transaction;
		public String fonction;
		public String date_time_deb;
		public String cd_cible;
		public String cd_stegrp;
		public String cd_titre;
		public String num_cli_ref;
		public String mot_passe_appl;
		public String cd_application;
		public String type_user;
		public BigDecimal code_retour;
		public BigDecimal nb_ano;
		public Nwlwtcm2AxwebentT_ano[] t_ano;
		public void add() throws BrokerException {
			Jwlwtcm2.super.marshal.addDataN(dbid, 3, 0);
			Jwlwtcm2.super.marshal.addDataA(cible_exploitant, 2);
			Jwlwtcm2.super.marshal.addDataA(groupe_exploitant, 8);
			Jwlwtcm2.super.marshal.addDataN(numero_session, 8, 0);
			Jwlwtcm2.super.marshal.addDataA(utilisateur, 8);
			Jwlwtcm2.super.marshal.addDataA(transaction, 8);
			Jwlwtcm2.super.marshal.addDataA(fonction, 8);
			Jwlwtcm2.super.marshal.addDataA(date_time_deb, 15);
			Jwlwtcm2.super.marshal.addDataA(cd_cible, 2);
			Jwlwtcm2.super.marshal.addDataA(cd_stegrp, 3);
			Jwlwtcm2.super.marshal.addDataA(cd_titre, 3);
			Jwlwtcm2.super.marshal.addDataA(num_cli_ref, 11);
			Jwlwtcm2.super.marshal.addDataA(mot_passe_appl, 8);
			Jwlwtcm2.super.marshal.addDataA(cd_application, 8);
			Jwlwtcm2.super.marshal.addDataA(type_user, 1);
			Jwlwtcm2.super.marshal.addDataN(code_retour, 2, 0);
			Jwlwtcm2.super.marshal.addDataN(nb_ano, 1, 0);
			if (t_ano == null) t_ano = new Nwlwtcm2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (t_ano[i0] == null) t_ano[i0] = new Nwlwtcm2AxwebentT_ano();
			for (int i0=0; i0<5; i0++) t_ano[i0].add();
		}
		public void get() throws BrokerException {
			dbid = Jwlwtcm2.super.marshal.getDataN(3, 0);
			cible_exploitant = Jwlwtcm2.super.marshal.getDataA(2);
			groupe_exploitant = Jwlwtcm2.super.marshal.getDataA(8);
			numero_session = Jwlwtcm2.super.marshal.getDataN(8, 0);
			utilisateur = Jwlwtcm2.super.marshal.getDataA(8);
			transaction = Jwlwtcm2.super.marshal.getDataA(8);
			fonction = Jwlwtcm2.super.marshal.getDataA(8);
			date_time_deb = Jwlwtcm2.super.marshal.getDataA(15);
			cd_cible = Jwlwtcm2.super.marshal.getDataA(2);
			cd_stegrp = Jwlwtcm2.super.marshal.getDataA(3);
			cd_titre = Jwlwtcm2.super.marshal.getDataA(3);
			num_cli_ref = Jwlwtcm2.super.marshal.getDataA(11);
			mot_passe_appl = Jwlwtcm2.super.marshal.getDataA(8);
			cd_application = Jwlwtcm2.super.marshal.getDataA(8);
			type_user = Jwlwtcm2.super.marshal.getDataA(1);
			code_retour = Jwlwtcm2.super.marshal.getDataN(2, 0);
			nb_ano = Jwlwtcm2.super.marshal.getDataN(1, 0);
			if (t_ano == null) t_ano = new Nwlwtcm2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (t_ano[i0] == null) t_ano[i0] = new Nwlwtcm2AxwebentT_ano();
			for (int i0=0; i0<5; i0++) {
				t_ano[i0].get();
			}
		}
	}

	public class Nwlwtcm2AxwebentT_ano {
		public String code_ano;
		public String lib_ano;
		public String type_ano;
		public BigDecimal num_data;
		public void add() throws BrokerException {
			Jwlwtcm2.super.marshal.addDataA(code_ano, 4);
			Jwlwtcm2.super.marshal.addDataA(lib_ano, 65);
			Jwlwtcm2.super.marshal.addDataA(type_ano, 1);
			Jwlwtcm2.super.marshal.addDataN(num_data, 2, 0);
		}
		public void get() throws BrokerException {
			code_ano = Jwlwtcm2.super.marshal.getDataA(4);
			lib_ano = Jwlwtcm2.super.marshal.getDataA(65);
			type_ano = Jwlwtcm2.super.marshal.getDataA(1);
			num_data = Jwlwtcm2.super.marshal.getDataN(2, 0);
		}
	}

	public class Nwlwtcm2Awlwtcm2 {
		public Nwlwtcm2Awlwtcm2Info_retour info_retour;
		public Nwlwtcm2Awlwtcm2Param param;
		public Nwlwtcm2Awlwtcm2Resultats resultats;
		public void add() throws BrokerException {
			if (info_retour == null) info_retour = new Nwlwtcm2Awlwtcm2Info_retour();
			info_retour.add();
			if (param == null) param = new Nwlwtcm2Awlwtcm2Param();
			param.add();
			if (resultats == null) resultats = new Nwlwtcm2Awlwtcm2Resultats();
			resultats.add();
		}
		public void get() throws BrokerException {
			if (info_retour == null) info_retour = new Nwlwtcm2Awlwtcm2Info_retour();
							info_retour.get();
			if (param == null) param = new Nwlwtcm2Awlwtcm2Param();
							param.get();
			if (resultats == null) resultats = new Nwlwtcm2Awlwtcm2Resultats();
							resultats.get();
		}
	}

	public class Nwlwtcm2Awlwtcm2Info_retour {
		public String code_ret;
		public String type_ret;
		public String lib_ret;
		public void add() throws BrokerException {
			Jwlwtcm2.super.marshal.addDataA(code_ret, 4);
			Jwlwtcm2.super.marshal.addDataA(type_ret, 1);
			Jwlwtcm2.super.marshal.addDataA(lib_ret, 70);
		}
		public void get() throws BrokerException {
			code_ret = Jwlwtcm2.super.marshal.getDataA(4);
			type_ret = Jwlwtcm2.super.marshal.getDataA(1);
			lib_ret = Jwlwtcm2.super.marshal.getDataA(70);
		}
	}

	public class Nwlwtcm2Awlwtcm2Param {
		public String mode;
		public String cd_action;
		public String top_deplacement;
		public String tpo_id_refer;
		public String no_ordre_refer;
		public BigDecimal nb_troncon;
		public Nwlwtcm2Awlwtcm2ParamTab_stock[] tab_stock;
		public String cd_zpo;
		public String type_portage;
		public String tpr_groupe;
		public String tpr_num;
		public BigDecimal cpt_troncon;
		public void add() throws BrokerException {
			Jwlwtcm2.super.marshal.addDataA(mode, 1);
			Jwlwtcm2.super.marshal.addDataA(cd_action, 1);
			Jwlwtcm2.super.marshal.addDataA(top_deplacement, 2);
			Jwlwtcm2.super.marshal.addDataA(tpo_id_refer, 9);
			Jwlwtcm2.super.marshal.addDataA(no_ordre_refer, 7);
			Jwlwtcm2.super.marshal.addDataN(nb_troncon, 2, 0);
			if (tab_stock == null) tab_stock = new Nwlwtcm2Awlwtcm2ParamTab_stock[50];
		for (int i0=0; i0<50; i0++) if (tab_stock[i0] == null) tab_stock[i0] = new Nwlwtcm2Awlwtcm2ParamTab_stock();
			for (int i0=0; i0<50; i0++) tab_stock[i0].add();
			Jwlwtcm2.super.marshal.addDataA(cd_zpo, 4);
			Jwlwtcm2.super.marshal.addDataA(type_portage, 1);
			Jwlwtcm2.super.marshal.addDataA(tpr_groupe, 1);
			Jwlwtcm2.super.marshal.addDataA(tpr_num, 3);
			Jwlwtcm2.super.marshal.addDataN(cpt_troncon, 4, 0);
		}
		public void get() throws BrokerException {
			mode = Jwlwtcm2.super.marshal.getDataA(1);
			cd_action = Jwlwtcm2.super.marshal.getDataA(1);
			top_deplacement = Jwlwtcm2.super.marshal.getDataA(2);
			tpo_id_refer = Jwlwtcm2.super.marshal.getDataA(9);
			no_ordre_refer = Jwlwtcm2.super.marshal.getDataA(7);
			nb_troncon = Jwlwtcm2.super.marshal.getDataN(2, 0);
			if (tab_stock == null) tab_stock = new Nwlwtcm2Awlwtcm2ParamTab_stock[50];
		for (int i0=0; i0<50; i0++) if (tab_stock[i0] == null) tab_stock[i0] = new Nwlwtcm2Awlwtcm2ParamTab_stock();
			for (int i0=0; i0<50; i0++) {
				tab_stock[i0].get();
			}
			cd_zpo = Jwlwtcm2.super.marshal.getDataA(4);
			type_portage = Jwlwtcm2.super.marshal.getDataA(1);
			tpr_groupe = Jwlwtcm2.super.marshal.getDataA(1);
			tpr_num = Jwlwtcm2.super.marshal.getDataA(3);
			cpt_troncon = Jwlwtcm2.super.marshal.getDataN(4, 0);
		}
	}

	public class Nwlwtcm2Awlwtcm2ParamTab_stock {
		public BigDecimal tpo_id;
		public BigDecimal no_ordre;
		public String borne_deb_pair;
		public String borne_fin_pair;
		public String borne_deb_imp;
		public String borne_fin_imp;
		public void add() throws BrokerException {
			Jwlwtcm2.super.marshal.addDataN(tpo_id, 9, 0);
			Jwlwtcm2.super.marshal.addDataN(no_ordre, 7, 0);
			Jwlwtcm2.super.marshal.addDataA(borne_deb_pair, 5);
			Jwlwtcm2.super.marshal.addDataA(borne_fin_pair, 5);
			Jwlwtcm2.super.marshal.addDataA(borne_deb_imp, 5);
			Jwlwtcm2.super.marshal.addDataA(borne_fin_imp, 5);
		}
		public void get() throws BrokerException {
			tpo_id = Jwlwtcm2.super.marshal.getDataN(9, 0);
			no_ordre = Jwlwtcm2.super.marshal.getDataN(7, 0);
			borne_deb_pair = Jwlwtcm2.super.marshal.getDataA(5);
			borne_fin_pair = Jwlwtcm2.super.marshal.getDataA(5);
			borne_deb_imp = Jwlwtcm2.super.marshal.getDataA(5);
			borne_fin_imp = Jwlwtcm2.super.marshal.getDataA(5);
		}
	}

	public class Nwlwtcm2Awlwtcm2Resultats {
		public String[] ligne_enr;
		public void add() throws BrokerException {
			if (ligne_enr == null) ligne_enr = new String[500];
			for (int i0=0; i0<500; i0++) Jwlwtcm2.super.marshal.addDataA(ligne_enr[i0], 24);
		}
		public void get() throws BrokerException {
			if (ligne_enr == null) ligne_enr = new String[500];
			for (int i0=0; i0<500; i0++) ligne_enr[i0] = Jwlwtcm2.super.marshal.getDataA(24);
		}
	}

}
