/**
 ** 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/nwlwpll2/nwlwpll2.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 Jwlwpll2 extends RPCService {

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

	public Jwlwpll2() {
		super();
	}

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

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

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

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

	private Nwlwpll2Axwebent nwlwpll2Axwebent;

	public void setNwlwpll2Axwebent(Nwlwpll2Axwebent p) {
		nwlwpll2Axwebent = p;
	}

	public Nwlwpll2Axwebent getNwlwpll2Axwebent() {
		return nwlwpll2Axwebent;
	}

	private Nwlwpll2Axweblst nwlwpll2Axweblst;

	public void setNwlwpll2Axweblst(Nwlwpll2Axweblst p) {
		nwlwpll2Axweblst = p;
	}

	public Nwlwpll2Axweblst getNwlwpll2Axweblst() {
		return nwlwpll2Axweblst;
	}

	private Nwlwpll2Awlwpll2 nwlwpll2Awlwpll2;

	public void setNwlwpll2Awlwpll2(Nwlwpll2Awlwpll2 p) {
		nwlwpll2Awlwpll2 = p;
	}

	public Nwlwpll2Awlwpll2 getNwlwpll2Awlwpll2() {
		return nwlwpll2Awlwpll2;
	}

	private Nwlwpll2Awlwpll2_tab nwlwpll2Awlwpll2_tab;

	public void setNwlwpll2Awlwpll2_tab(Nwlwpll2Awlwpll2_tab p) {
		nwlwpll2Awlwpll2_tab = p;
	}

	public Nwlwpll2Awlwpll2_tab getNwlwpll2Awlwpll2_tab() {
		return nwlwpll2Awlwpll2_tab;
	}

	private final static byte[] NWLWPLL2_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,1MN3,0MN2,0MN3,0MN2,0MA1,0MN2,0MG1,0MG1,1MG2,"
			  + "1MG3,1MA5,0MA32,0MA4,0MA1,0MA32,0MA32,0MA2,0MG3,0MG2,0MG2,"
			  + "1MA1,0MN2,0MA65,0MG2,0MG1,0MG1,1MG2,1,200MA5,0MA5,0MA38,"
			  + "0MA4,0MA30,0MA1,0MA25,0MG2,0MG1,0." ).getBytes();

	public void nwlwpll2() throws BrokerException {

		buildHeader (NWLWPLL2_FORMAT, "62", 22263, 0, "NWLWPLL2", true, 1110, true, false, 2000);
if (nwlwpll2Axwebent == null) nwlwpll2Axwebent = new Nwlwpll2Axwebent();
		if ( getVersion() >= 2000 ) {
			nwlwpll2Axwebent.add();
		} else {
		super.marshal.addDataN(nwlwpll2Axwebent.dbid, 3, 0);
		super.marshal.addDataA(nwlwpll2Axwebent.cible_exploitant, 2);
		super.marshal.addDataA(nwlwpll2Axwebent.groupe_exploitant, 8);
		super.marshal.addDataN(nwlwpll2Axwebent.numero_session, 8, 0);
		super.marshal.addDataA(nwlwpll2Axwebent.utilisateur, 8);
		super.marshal.addDataA(nwlwpll2Axwebent.transaction, 8);
		super.marshal.addDataA(nwlwpll2Axwebent.fonction, 8);
		super.marshal.addDataA(nwlwpll2Axwebent.date_time_deb, 15);
		super.marshal.addDataA(nwlwpll2Axwebent.cd_cible, 2);
		super.marshal.addDataA(nwlwpll2Axwebent.cd_stegrp, 3);
		super.marshal.addDataA(nwlwpll2Axwebent.cd_titre, 3);
		super.marshal.addDataA(nwlwpll2Axwebent.num_cli_ref, 11);
		super.marshal.addDataA(nwlwpll2Axwebent.mot_passe_appl, 8);
		super.marshal.addDataA(nwlwpll2Axwebent.cd_application, 8);
		super.marshal.addDataA(nwlwpll2Axwebent.type_user, 1);
		super.marshal.addDataN(nwlwpll2Axwebent.code_retour, 2, 0);
		super.marshal.addDataN(nwlwpll2Axwebent.nb_ano, 1, 0);
		if (nwlwpll2Axwebent.t_ano == null) nwlwpll2Axwebent.t_ano = new Nwlwpll2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (nwlwpll2Axwebent.t_ano[i0] == null) nwlwpll2Axwebent.t_ano[i0] = new Nwlwpll2AxwebentT_ano();
		for (int i0=0; i0<5; i0++) super.marshal.addDataA(nwlwpll2Axwebent.t_ano[i0].code_ano, 4);
		for (int i0=0; i0<5; i0++) super.marshal.addDataA(nwlwpll2Axwebent.t_ano[i0].lib_ano, 65);
		for (int i0=0; i0<5; i0++) super.marshal.addDataA(nwlwpll2Axwebent.t_ano[i0].type_ano, 1);
		for (int i0=0; i0<5; i0++) super.marshal.addDataN(nwlwpll2Axwebent.t_ano[i0].num_data, 2, 0);
		}
if (nwlwpll2Axweblst == null) nwlwpll2Axweblst = new Nwlwpll2Axweblst();
		if ( getVersion() >= 2000 ) {
			nwlwpll2Axweblst.add();
		} else {
		super.marshal.addDataN(nwlwpll2Axweblst.nb_rep_souhait, 3, 0);
		super.marshal.addDataN(nwlwpll2Axweblst.num_page_souhait, 2, 0);
		super.marshal.addDataN(nwlwpll2Axweblst.nb_rep_rendues, 3, 0);
		super.marshal.addDataN(nwlwpll2Axweblst.num_page_rendue, 2, 0);
		super.marshal.addDataA(nwlwpll2Axweblst.top_page_suivante, 1);
		super.marshal.addDataN(nwlwpll2Axweblst.nb_pages_totales, 2, 0);
		}
if (nwlwpll2Awlwpll2 == null) nwlwpll2Awlwpll2 = new Nwlwpll2Awlwpll2();
		if ( getVersion() >= 2000 ) {
			nwlwpll2Awlwpll2.add();
		} else {
if (nwlwpll2Awlwpll2.demande == null) nwlwpll2Awlwpll2.demande = new Nwlwpll2Awlwpll2Demande();
if (nwlwpll2Awlwpll2.demande.critere_select == null) nwlwpll2Awlwpll2.demande.critere_select = new Nwlwpll2Awlwpll2DemandeCritere_select();
		super.marshal.addDataA(nwlwpll2Awlwpll2.demande.critere_select.f_cd_insee, 5);
		super.marshal.addDataA(nwlwpll2Awlwpll2.demande.critere_select.f_localite, 32);
		super.marshal.addDataA(nwlwpll2Awlwpll2.demande.critere_select.f_cd_zpo, 4);
		super.marshal.addDataA(nwlwpll2Awlwpll2.demande.critere_select.f_type_portage, 1);
		super.marshal.addDataA(nwlwpll2Awlwpll2.demande.critere_select.f_lib_zpo, 32);
		super.marshal.addDataA(nwlwpll2Awlwpll2.demande.critere_select.f_lib_type, 32);
		super.marshal.addDataA(nwlwpll2Awlwpll2.demande.critere_select.f_top_ts, 2);
if (nwlwpll2Awlwpll2.retour == null) nwlwpll2Awlwpll2.retour = new Nwlwpll2Awlwpll2Retour();
		super.marshal.addDataA(nwlwpll2Awlwpll2.retour.tp_ret, 1);
		super.marshal.addDataN(nwlwpll2Awlwpll2.retour.cd_ret, 2, 0);
		super.marshal.addDataA(nwlwpll2Awlwpll2.retour.msg_ret, 65);
		}
if (nwlwpll2Awlwpll2_tab == null) nwlwpll2Awlwpll2_tab = new Nwlwpll2Awlwpll2_tab();
		if ( getVersion() >= 2000 ) {
			nwlwpll2Awlwpll2_tab.add();
		} else {
		if (nwlwpll2Awlwpll2_tab.ligne_ref == null) nwlwpll2Awlwpll2_tab.ligne_ref = new Nwlwpll2Awlwpll2_tabLigne_ref[200];
		for (int i0=0; i0<200; i0++) if (nwlwpll2Awlwpll2_tab.ligne_ref[i0] == null) nwlwpll2Awlwpll2_tab.ligne_ref[i0] = new Nwlwpll2Awlwpll2_tabLigne_ref();
		for (int i0=0; i0<200; i0++) super.marshal.addDataA(nwlwpll2Awlwpll2_tab.ligne_ref[i0].cd_insee, 5);
		for (int i0=0; i0<200; i0++) super.marshal.addDataA(nwlwpll2Awlwpll2_tab.ligne_ref[i0].cd_postal, 5);
		for (int i0=0; i0<200; i0++) super.marshal.addDataA(nwlwpll2Awlwpll2_tab.ligne_ref[i0].lib_localite, 38);
		for (int i0=0; i0<200; i0++) super.marshal.addDataA(nwlwpll2Awlwpll2_tab.ligne_ref[i0].cd_zpo, 4);
		for (int i0=0; i0<200; i0++) super.marshal.addDataA(nwlwpll2Awlwpll2_tab.ligne_ref[i0].lib_zone, 30);
		for (int i0=0; i0<200; i0++) super.marshal.addDataA(nwlwpll2Awlwpll2_tab.ligne_ref[i0].type_portage, 1);
		for (int i0=0; i0<200; i0++) super.marshal.addDataA(nwlwpll2Awlwpll2_tab.ligne_ref[i0].lib_type, 25);
		}

		callServer();

		if (nwlwpll2Axwebent == null) nwlwpll2Axwebent = new Nwlwpll2Axwebent();
		if ( getVersion() >= 2000 ) {
			nwlwpll2Axwebent.get();
		} else {
		nwlwpll2Axwebent.dbid = super.marshal.getDataN(3, 0);
		nwlwpll2Axwebent.cible_exploitant = super.marshal.getDataA(2);
		nwlwpll2Axwebent.groupe_exploitant = super.marshal.getDataA(8);
		nwlwpll2Axwebent.numero_session = super.marshal.getDataN(8, 0);
		nwlwpll2Axwebent.utilisateur = super.marshal.getDataA(8);
		nwlwpll2Axwebent.transaction = super.marshal.getDataA(8);
		nwlwpll2Axwebent.fonction = super.marshal.getDataA(8);
		nwlwpll2Axwebent.date_time_deb = super.marshal.getDataA(15);
		nwlwpll2Axwebent.cd_cible = super.marshal.getDataA(2);
		nwlwpll2Axwebent.cd_stegrp = super.marshal.getDataA(3);
		nwlwpll2Axwebent.cd_titre = super.marshal.getDataA(3);
		nwlwpll2Axwebent.num_cli_ref = super.marshal.getDataA(11);
		nwlwpll2Axwebent.mot_passe_appl = super.marshal.getDataA(8);
		nwlwpll2Axwebent.cd_application = super.marshal.getDataA(8);
		nwlwpll2Axwebent.type_user = super.marshal.getDataA(1);
		nwlwpll2Axwebent.code_retour = super.marshal.getDataN(2, 0);
		nwlwpll2Axwebent.nb_ano = super.marshal.getDataN(1, 0);
				if (nwlwpll2Axwebent.t_ano == null) nwlwpll2Axwebent.t_ano = new Nwlwpll2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (nwlwpll2Axwebent.t_ano[i0] == null) nwlwpll2Axwebent.t_ano[i0] = new Nwlwpll2AxwebentT_ano();
		for (int i0=0; i0<5; i0++) nwlwpll2Axwebent.t_ano[i0].code_ano = super.marshal.getDataA(4);
		for (int i0=0; i0<5; i0++) nwlwpll2Axwebent.t_ano[i0].lib_ano = super.marshal.getDataA(65);
		for (int i0=0; i0<5; i0++) nwlwpll2Axwebent.t_ano[i0].type_ano = super.marshal.getDataA(1);
		for (int i0=0; i0<5; i0++) nwlwpll2Axwebent.t_ano[i0].num_data = super.marshal.getDataN(2, 0);
		}
		if (nwlwpll2Axweblst == null) nwlwpll2Axweblst = new Nwlwpll2Axweblst();
		if ( getVersion() >= 2000 ) {
			nwlwpll2Axweblst.get();
		} else {
		nwlwpll2Axweblst.nb_rep_souhait = super.marshal.getDataN(3, 0);
		nwlwpll2Axweblst.num_page_souhait = super.marshal.getDataN(2, 0);
		nwlwpll2Axweblst.nb_rep_rendues = super.marshal.getDataN(3, 0);
		nwlwpll2Axweblst.num_page_rendue = super.marshal.getDataN(2, 0);
		nwlwpll2Axweblst.top_page_suivante = super.marshal.getDataA(1);
		nwlwpll2Axweblst.nb_pages_totales = super.marshal.getDataN(2, 0);
		}
		if (nwlwpll2Awlwpll2 == null) nwlwpll2Awlwpll2 = new Nwlwpll2Awlwpll2();
		if ( getVersion() >= 2000 ) {
			nwlwpll2Awlwpll2.get();
		} else {
		if (nwlwpll2Awlwpll2.demande == null) nwlwpll2Awlwpll2.demande = new Nwlwpll2Awlwpll2Demande();
		if (nwlwpll2Awlwpll2.demande.critere_select == null) nwlwpll2Awlwpll2.demande.critere_select = new Nwlwpll2Awlwpll2DemandeCritere_select();
		nwlwpll2Awlwpll2.demande.critere_select.f_cd_insee = super.marshal.getDataA(5);
		nwlwpll2Awlwpll2.demande.critere_select.f_localite = super.marshal.getDataA(32);
		nwlwpll2Awlwpll2.demande.critere_select.f_cd_zpo = super.marshal.getDataA(4);
		nwlwpll2Awlwpll2.demande.critere_select.f_type_portage = super.marshal.getDataA(1);
		nwlwpll2Awlwpll2.demande.critere_select.f_lib_zpo = super.marshal.getDataA(32);
		nwlwpll2Awlwpll2.demande.critere_select.f_lib_type = super.marshal.getDataA(32);
		nwlwpll2Awlwpll2.demande.critere_select.f_top_ts = super.marshal.getDataA(2);
		if (nwlwpll2Awlwpll2.retour == null) nwlwpll2Awlwpll2.retour = new Nwlwpll2Awlwpll2Retour();
		nwlwpll2Awlwpll2.retour.tp_ret = super.marshal.getDataA(1);
		nwlwpll2Awlwpll2.retour.cd_ret = super.marshal.getDataN(2, 0);
		nwlwpll2Awlwpll2.retour.msg_ret = super.marshal.getDataA(65);
		}
		if (nwlwpll2Awlwpll2_tab == null) nwlwpll2Awlwpll2_tab = new Nwlwpll2Awlwpll2_tab();
		if ( getVersion() >= 2000 ) {
			nwlwpll2Awlwpll2_tab.get();
		} else {
				if (nwlwpll2Awlwpll2_tab.ligne_ref == null) nwlwpll2Awlwpll2_tab.ligne_ref = new Nwlwpll2Awlwpll2_tabLigne_ref[200];
		for (int i0=0; i0<200; i0++) if (nwlwpll2Awlwpll2_tab.ligne_ref[i0] == null) nwlwpll2Awlwpll2_tab.ligne_ref[i0] = new Nwlwpll2Awlwpll2_tabLigne_ref();
		for (int i0=0; i0<200; i0++) nwlwpll2Awlwpll2_tab.ligne_ref[i0].cd_insee = super.marshal.getDataA(5);
		for (int i0=0; i0<200; i0++) nwlwpll2Awlwpll2_tab.ligne_ref[i0].cd_postal = super.marshal.getDataA(5);
		for (int i0=0; i0<200; i0++) nwlwpll2Awlwpll2_tab.ligne_ref[i0].lib_localite = super.marshal.getDataA(38);
		for (int i0=0; i0<200; i0++) nwlwpll2Awlwpll2_tab.ligne_ref[i0].cd_zpo = super.marshal.getDataA(4);
		for (int i0=0; i0<200; i0++) nwlwpll2Awlwpll2_tab.ligne_ref[i0].lib_zone = super.marshal.getDataA(30);
		for (int i0=0; i0<200; i0++) nwlwpll2Awlwpll2_tab.ligne_ref[i0].type_portage = super.marshal.getDataA(1);
		for (int i0=0; i0<200; i0++) nwlwpll2Awlwpll2_tab.ligne_ref[i0].lib_type = super.marshal.getDataA(25);
		}

	}

	public class Nwlwpll2Axwebent {
		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 Nwlwpll2AxwebentT_ano[] t_ano;
		public void add() throws BrokerException {
			Jwlwpll2.super.marshal.addDataN(dbid, 3, 0);
			Jwlwpll2.super.marshal.addDataA(cible_exploitant, 2);
			Jwlwpll2.super.marshal.addDataA(groupe_exploitant, 8);
			Jwlwpll2.super.marshal.addDataN(numero_session, 8, 0);
			Jwlwpll2.super.marshal.addDataA(utilisateur, 8);
			Jwlwpll2.super.marshal.addDataA(transaction, 8);
			Jwlwpll2.super.marshal.addDataA(fonction, 8);
			Jwlwpll2.super.marshal.addDataA(date_time_deb, 15);
			Jwlwpll2.super.marshal.addDataA(cd_cible, 2);
			Jwlwpll2.super.marshal.addDataA(cd_stegrp, 3);
			Jwlwpll2.super.marshal.addDataA(cd_titre, 3);
			Jwlwpll2.super.marshal.addDataA(num_cli_ref, 11);
			Jwlwpll2.super.marshal.addDataA(mot_passe_appl, 8);
			Jwlwpll2.super.marshal.addDataA(cd_application, 8);
			Jwlwpll2.super.marshal.addDataA(type_user, 1);
			Jwlwpll2.super.marshal.addDataN(code_retour, 2, 0);
			Jwlwpll2.super.marshal.addDataN(nb_ano, 1, 0);
			if (t_ano == null) t_ano = new Nwlwpll2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (t_ano[i0] == null) t_ano[i0] = new Nwlwpll2AxwebentT_ano();
			for (int i0=0; i0<5; i0++) t_ano[i0].add();
		}
		public void get() throws BrokerException {
			dbid = Jwlwpll2.super.marshal.getDataN(3, 0);
			cible_exploitant = Jwlwpll2.super.marshal.getDataA(2);
			groupe_exploitant = Jwlwpll2.super.marshal.getDataA(8);
			numero_session = Jwlwpll2.super.marshal.getDataN(8, 0);
			utilisateur = Jwlwpll2.super.marshal.getDataA(8);
			transaction = Jwlwpll2.super.marshal.getDataA(8);
			fonction = Jwlwpll2.super.marshal.getDataA(8);
			date_time_deb = Jwlwpll2.super.marshal.getDataA(15);
			cd_cible = Jwlwpll2.super.marshal.getDataA(2);
			cd_stegrp = Jwlwpll2.super.marshal.getDataA(3);
			cd_titre = Jwlwpll2.super.marshal.getDataA(3);
			num_cli_ref = Jwlwpll2.super.marshal.getDataA(11);
			mot_passe_appl = Jwlwpll2.super.marshal.getDataA(8);
			cd_application = Jwlwpll2.super.marshal.getDataA(8);
			type_user = Jwlwpll2.super.marshal.getDataA(1);
			code_retour = Jwlwpll2.super.marshal.getDataN(2, 0);
			nb_ano = Jwlwpll2.super.marshal.getDataN(1, 0);
			if (t_ano == null) t_ano = new Nwlwpll2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (t_ano[i0] == null) t_ano[i0] = new Nwlwpll2AxwebentT_ano();
			for (int i0=0; i0<5; i0++) {
				t_ano[i0].get();
			}
		}
	}

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

	public class Nwlwpll2Axweblst {
		public BigDecimal nb_rep_souhait;
		public BigDecimal num_page_souhait;
		public BigDecimal nb_rep_rendues;
		public BigDecimal num_page_rendue;
		public String top_page_suivante;
		public BigDecimal nb_pages_totales;
		public void add() throws BrokerException {
			Jwlwpll2.super.marshal.addDataN(nb_rep_souhait, 3, 0);
			Jwlwpll2.super.marshal.addDataN(num_page_souhait, 2, 0);
			Jwlwpll2.super.marshal.addDataN(nb_rep_rendues, 3, 0);
			Jwlwpll2.super.marshal.addDataN(num_page_rendue, 2, 0);
			Jwlwpll2.super.marshal.addDataA(top_page_suivante, 1);
			Jwlwpll2.super.marshal.addDataN(nb_pages_totales, 2, 0);
		}
		public void get() throws BrokerException {
			nb_rep_souhait = Jwlwpll2.super.marshal.getDataN(3, 0);
			num_page_souhait = Jwlwpll2.super.marshal.getDataN(2, 0);
			nb_rep_rendues = Jwlwpll2.super.marshal.getDataN(3, 0);
			num_page_rendue = Jwlwpll2.super.marshal.getDataN(2, 0);
			top_page_suivante = Jwlwpll2.super.marshal.getDataA(1);
			nb_pages_totales = Jwlwpll2.super.marshal.getDataN(2, 0);
		}
	}

	public class Nwlwpll2Awlwpll2 {
		public Nwlwpll2Awlwpll2Demande demande;
		public Nwlwpll2Awlwpll2Retour retour;
		public void add() throws BrokerException {
			if (demande == null) demande = new Nwlwpll2Awlwpll2Demande();
			demande.add();
			if (retour == null) retour = new Nwlwpll2Awlwpll2Retour();
			retour.add();
		}
		public void get() throws BrokerException {
			if (demande == null) demande = new Nwlwpll2Awlwpll2Demande();
							demande.get();
			if (retour == null) retour = new Nwlwpll2Awlwpll2Retour();
							retour.get();
		}
	}

	public class Nwlwpll2Awlwpll2Demande {
		public Nwlwpll2Awlwpll2DemandeCritere_select critere_select;
		public void add() throws BrokerException {
			if (critere_select == null) critere_select = new Nwlwpll2Awlwpll2DemandeCritere_select();
			critere_select.add();
		}
		public void get() throws BrokerException {
			if (critere_select == null) critere_select = new Nwlwpll2Awlwpll2DemandeCritere_select();
							critere_select.get();
		}
	}

	public class Nwlwpll2Awlwpll2DemandeCritere_select {
		public String f_cd_insee;
		public String f_localite;
		public String f_cd_zpo;
		public String f_type_portage;
		public String f_lib_zpo;
		public String f_lib_type;
		public String f_top_ts;
		public void add() throws BrokerException {
			Jwlwpll2.super.marshal.addDataA(f_cd_insee, 5);
			Jwlwpll2.super.marshal.addDataA(f_localite, 32);
			Jwlwpll2.super.marshal.addDataA(f_cd_zpo, 4);
			Jwlwpll2.super.marshal.addDataA(f_type_portage, 1);
			Jwlwpll2.super.marshal.addDataA(f_lib_zpo, 32);
			Jwlwpll2.super.marshal.addDataA(f_lib_type, 32);
			Jwlwpll2.super.marshal.addDataA(f_top_ts, 2);
		}
		public void get() throws BrokerException {
			f_cd_insee = Jwlwpll2.super.marshal.getDataA(5);
			f_localite = Jwlwpll2.super.marshal.getDataA(32);
			f_cd_zpo = Jwlwpll2.super.marshal.getDataA(4);
			f_type_portage = Jwlwpll2.super.marshal.getDataA(1);
			f_lib_zpo = Jwlwpll2.super.marshal.getDataA(32);
			f_lib_type = Jwlwpll2.super.marshal.getDataA(32);
			f_top_ts = Jwlwpll2.super.marshal.getDataA(2);
		}
	}

	public class Nwlwpll2Awlwpll2Retour {
		public String tp_ret;
		public BigDecimal cd_ret;
		public String msg_ret;
		public void add() throws BrokerException {
			Jwlwpll2.super.marshal.addDataA(tp_ret, 1);
			Jwlwpll2.super.marshal.addDataN(cd_ret, 2, 0);
			Jwlwpll2.super.marshal.addDataA(msg_ret, 65);
		}
		public void get() throws BrokerException {
			tp_ret = Jwlwpll2.super.marshal.getDataA(1);
			cd_ret = Jwlwpll2.super.marshal.getDataN(2, 0);
			msg_ret = Jwlwpll2.super.marshal.getDataA(65);
		}
	}

	public class Nwlwpll2Awlwpll2_tab {
		public Nwlwpll2Awlwpll2_tabLigne_ref[] ligne_ref;
		public void add() throws BrokerException {
			if (ligne_ref == null) ligne_ref = new Nwlwpll2Awlwpll2_tabLigne_ref[200];
		for (int i0=0; i0<200; i0++) if (ligne_ref[i0] == null) ligne_ref[i0] = new Nwlwpll2Awlwpll2_tabLigne_ref();
			for (int i0=0; i0<200; i0++) ligne_ref[i0].add();
		}
		public void get() throws BrokerException {
			if (ligne_ref == null) ligne_ref = new Nwlwpll2Awlwpll2_tabLigne_ref[200];
		for (int i0=0; i0<200; i0++) if (ligne_ref[i0] == null) ligne_ref[i0] = new Nwlwpll2Awlwpll2_tabLigne_ref();
			for (int i0=0; i0<200; i0++) {
				ligne_ref[i0].get();
			}
		}
	}

	public class Nwlwpll2Awlwpll2_tabLigne_ref {
		public String cd_insee;
		public String cd_postal;
		public String lib_localite;
		public String cd_zpo;
		public String lib_zone;
		public String type_portage;
		public String lib_type;
		public void add() throws BrokerException {
			Jwlwpll2.super.marshal.addDataA(cd_insee, 5);
			Jwlwpll2.super.marshal.addDataA(cd_postal, 5);
			Jwlwpll2.super.marshal.addDataA(lib_localite, 38);
			Jwlwpll2.super.marshal.addDataA(cd_zpo, 4);
			Jwlwpll2.super.marshal.addDataA(lib_zone, 30);
			Jwlwpll2.super.marshal.addDataA(type_portage, 1);
			Jwlwpll2.super.marshal.addDataA(lib_type, 25);
		}
		public void get() throws BrokerException {
			cd_insee = Jwlwpll2.super.marshal.getDataA(5);
			cd_postal = Jwlwpll2.super.marshal.getDataA(5);
			lib_localite = Jwlwpll2.super.marshal.getDataA(38);
			cd_zpo = Jwlwpll2.super.marshal.getDataA(4);
			lib_zone = Jwlwpll2.super.marshal.getDataA(30);
			type_portage = Jwlwpll2.super.marshal.getDataA(1);
			lib_type = Jwlwpll2.super.marshal.getDataA(25);
		}
	}

}
