/**
 ** 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/nwlwcdm2/nwlwcdm2.idl.
 **
 ** @author    Software AG
 ** @version   EntireX Wrapper, Version: 7.2.1.50, Date: 06 Mar 2006 (1.71.2.2)
 **
 **/

import java.math.BigDecimal;

import com.softwareag.entirex.aci.Broker;
import com.softwareag.entirex.aci.BrokerException;
import com.softwareag.entirex.aci.BrokerService;
import com.softwareag.entirex.aci.RPCService;

public class Jwlwcdm2 extends RPCService {

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

	public Jwlwcdm2() {
		super();
	}

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

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

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

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

	private Nwlwcdm2Axwebent nwlwcdm2Axwebent;

	public void setNwlwcdm2Axwebent(Nwlwcdm2Axwebent p) {
		nwlwcdm2Axwebent = p;
	}

	public Nwlwcdm2Axwebent getNwlwcdm2Axwebent() {
		return nwlwcdm2Axwebent;
	}

	private Nwlwcdm2Awlwcdm2 nwlwcdm2Awlwcdm2;

	public void setNwlwcdm2Awlwcdm2(Nwlwcdm2Awlwcdm2 p) {
		nwlwcdm2Awlwcdm2 = p;
	}

	public Nwlwcdm2Awlwcdm2 getNwlwcdm2Awlwcdm2() {
		return nwlwcdm2Awlwcdm2;
	}

	private final static byte[] NWLWCDM2_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,1MA2,0MP7,0MP3,0MG2,0MG2,1MA1,0MA2,0MP7,"
			  + "0MP3,0MG2,0MG2,1MA4,0MA1,0MA70,0MG2,0MG2,1MP9,0MA8,0MA1,"
			  + "0MA10,0MN8,0MN8,0MA1,0MA8,0MA1,0MG2,0MG2,1MP9,0MP3,0MA1,"
			  + "0MN3,0MA10,0MA32,0MA1,0MA1,0MA1,0MA1,0MA1,0MA1,0MN1,0MN4,"
			  + "0MG2,0MG1,0." ).getBytes();

	public void nwlwcdm2() throws BrokerException {

		buildHeader (NWLWCDM2_FORMAT, "70", 703, 0, "NWLWCDM2", true, 1110, true, false, 2000);
if (nwlwcdm2Axwebent == null) nwlwcdm2Axwebent = new Nwlwcdm2Axwebent();
		if ( getVersion() >= 2000 ) {
			nwlwcdm2Axwebent.add();
		} else {
		super.marshal.addDataN(nwlwcdm2Axwebent.dbid, 3, 0);
		super.marshal.addDataA(nwlwcdm2Axwebent.cible_exploitant, 2);
		super.marshal.addDataA(nwlwcdm2Axwebent.groupe_exploitant, 8);
		super.marshal.addDataN(nwlwcdm2Axwebent.numero_session, 8, 0);
		super.marshal.addDataA(nwlwcdm2Axwebent.utilisateur, 8);
		super.marshal.addDataA(nwlwcdm2Axwebent.transaction, 8);
		super.marshal.addDataA(nwlwcdm2Axwebent.fonction, 8);
		super.marshal.addDataA(nwlwcdm2Axwebent.date_time_deb, 15);
		super.marshal.addDataA(nwlwcdm2Axwebent.cd_cible, 2);
		super.marshal.addDataA(nwlwcdm2Axwebent.cd_stegrp, 3);
		super.marshal.addDataA(nwlwcdm2Axwebent.cd_titre, 3);
		super.marshal.addDataA(nwlwcdm2Axwebent.num_cli_ref, 11);
		super.marshal.addDataA(nwlwcdm2Axwebent.mot_passe_appl, 8);
		super.marshal.addDataA(nwlwcdm2Axwebent.cd_application, 8);
		super.marshal.addDataA(nwlwcdm2Axwebent.type_user, 1);
		super.marshal.addDataN(nwlwcdm2Axwebent.code_retour, 2, 0);
		super.marshal.addDataN(nwlwcdm2Axwebent.nb_ano, 1, 0);
		if (nwlwcdm2Axwebent.t_ano == null) nwlwcdm2Axwebent.t_ano = new Nwlwcdm2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (nwlwcdm2Axwebent.t_ano[i0] == null) nwlwcdm2Axwebent.t_ano[i0] = new Nwlwcdm2AxwebentT_ano();
		for (int i0=0; i0<5; i0++) super.marshal.addDataA(nwlwcdm2Axwebent.t_ano[i0].code_ano, 4);
		for (int i0=0; i0<5; i0++) super.marshal.addDataA(nwlwcdm2Axwebent.t_ano[i0].lib_ano, 65);
		for (int i0=0; i0<5; i0++) super.marshal.addDataA(nwlwcdm2Axwebent.t_ano[i0].type_ano, 1);
		for (int i0=0; i0<5; i0++) super.marshal.addDataN(nwlwcdm2Axwebent.t_ano[i0].num_data, 2, 0);
		}
if (nwlwcdm2Awlwcdm2 == null) nwlwcdm2Awlwcdm2 = new Nwlwcdm2Awlwcdm2();
		if ( getVersion() >= 2000 ) {
			nwlwcdm2Awlwcdm2.add();
		} else {
if (nwlwcdm2Awlwcdm2.demande == null) nwlwcdm2Awlwcdm2.demande = new Nwlwcdm2Awlwcdm2Demande();
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.demande.i_cd_cible, 2);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.demande.i_id_cmd, 7, 0);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.demande.i_id_sscmd, 3, 0);
if (nwlwcdm2Awlwcdm2.copie == null) nwlwcdm2Awlwcdm2.copie = new Nwlwcdm2Awlwcdm2Copie();
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.copie.top_cc, 1);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.copie.i_cd_cible_cc, 2);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.copie.i_id_cmd_cc, 7, 0);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.copie.i_id_sscmd_cc, 3, 0);
if (nwlwcdm2Awlwcdm2.anomalie == null) nwlwcdm2Awlwcdm2.anomalie = new Nwlwcdm2Awlwcdm2Anomalie();
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.anomalie.code_ano, 4);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.anomalie.type_ano, 1);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.anomalie.lib_ano, 70);
if (nwlwcdm2Awlwcdm2.reponse_cmd == null) nwlwcdm2Awlwcdm2.reponse_cmd = new Nwlwcdm2Awlwcdm2Reponse_cmd();
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.reponse_cmd.isn_enr_cmd, 9, 0);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_cmd.cd_cmd, 8);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_cmd.type_cmd, 1);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_cmd.k_parution, 10);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.reponse_cmd.dt_trt, 8, 0);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.reponse_cmd.dt_distrib, 8, 0);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_cmd.nature, 1);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_cmd.jour, 8);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_cmd.cd_etat_cmd, 1);
if (nwlwcdm2Awlwcdm2.reponse_sscmd == null) nwlwcdm2Awlwcdm2.reponse_sscmd = new Nwlwcdm2Awlwcdm2Reponse_sscmd();
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.reponse_sscmd.isn_enr_sscmd, 9, 0);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.reponse_sscmd.id_sscmd_creee, 3, 0);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_sscmd.type_sscmd, 1);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.reponse_sscmd.num_edt, 3, 0);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_sscmd.cd_promo, 10);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_sscmd.lbl_promo, 32);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_sscmd.top_inclus, 1);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_sscmd.top_societe, 1);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_sscmd.top_carnet, 1);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_sscmd.top_grand_compte, 1);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_sscmd.type_promo, 1);
		super.marshal.addDataA(nwlwcdm2Awlwcdm2.reponse_sscmd.top_coiffe, 1);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.reponse_sscmd.qte_promo, 1, 0);
		super.marshal.addDataN(nwlwcdm2Awlwcdm2.reponse_sscmd.poids, 4, 0);
		}

		callServer();

		if (nwlwcdm2Axwebent == null) nwlwcdm2Axwebent = new Nwlwcdm2Axwebent();
		if ( getVersion() >= 2000 ) {
			nwlwcdm2Axwebent.get();
		} else {
		nwlwcdm2Axwebent.dbid = super.marshal.getDataN(3, 0);
		nwlwcdm2Axwebent.cible_exploitant = super.marshal.getDataA(2);
		nwlwcdm2Axwebent.groupe_exploitant = super.marshal.getDataA(8);
		nwlwcdm2Axwebent.numero_session = super.marshal.getDataN(8, 0);
		nwlwcdm2Axwebent.utilisateur = super.marshal.getDataA(8);
		nwlwcdm2Axwebent.transaction = super.marshal.getDataA(8);
		nwlwcdm2Axwebent.fonction = super.marshal.getDataA(8);
		nwlwcdm2Axwebent.date_time_deb = super.marshal.getDataA(15);
		nwlwcdm2Axwebent.cd_cible = super.marshal.getDataA(2);
		nwlwcdm2Axwebent.cd_stegrp = super.marshal.getDataA(3);
		nwlwcdm2Axwebent.cd_titre = super.marshal.getDataA(3);
		nwlwcdm2Axwebent.num_cli_ref = super.marshal.getDataA(11);
		nwlwcdm2Axwebent.mot_passe_appl = super.marshal.getDataA(8);
		nwlwcdm2Axwebent.cd_application = super.marshal.getDataA(8);
		nwlwcdm2Axwebent.type_user = super.marshal.getDataA(1);
		nwlwcdm2Axwebent.code_retour = super.marshal.getDataN(2, 0);
		nwlwcdm2Axwebent.nb_ano = super.marshal.getDataN(1, 0);
				if (nwlwcdm2Axwebent.t_ano == null) nwlwcdm2Axwebent.t_ano = new Nwlwcdm2AxwebentT_ano[5];
		for (int i0=0; i0<5; i0++) if (nwlwcdm2Axwebent.t_ano[i0] == null) nwlwcdm2Axwebent.t_ano[i0] = new Nwlwcdm2AxwebentT_ano();
		for (int i0=0; i0<5; i0++) nwlwcdm2Axwebent.t_ano[i0].code_ano = super.marshal.getDataA(4);
		for (int i0=0; i0<5; i0++) nwlwcdm2Axwebent.t_ano[i0].lib_ano = super.marshal.getDataA(65);
		for (int i0=0; i0<5; i0++) nwlwcdm2Axwebent.t_ano[i0].type_ano = super.marshal.getDataA(1);
		for (int i0=0; i0<5; i0++) nwlwcdm2Axwebent.t_ano[i0].num_data = super.marshal.getDataN(2, 0);
		}
		if (nwlwcdm2Awlwcdm2 == null) nwlwcdm2Awlwcdm2 = new Nwlwcdm2Awlwcdm2();
		if ( getVersion() >= 2000 ) {
			nwlwcdm2Awlwcdm2.get();
		} else {
		if (nwlwcdm2Awlwcdm2.demande == null) nwlwcdm2Awlwcdm2.demande = new Nwlwcdm2Awlwcdm2Demande();
		nwlwcdm2Awlwcdm2.demande.i_cd_cible = super.marshal.getDataA(2);
		nwlwcdm2Awlwcdm2.demande.i_id_cmd = super.marshal.getDataN(7, 0);
		nwlwcdm2Awlwcdm2.demande.i_id_sscmd = super.marshal.getDataN(3, 0);
		if (nwlwcdm2Awlwcdm2.copie == null) nwlwcdm2Awlwcdm2.copie = new Nwlwcdm2Awlwcdm2Copie();
		nwlwcdm2Awlwcdm2.copie.top_cc = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.copie.i_cd_cible_cc = super.marshal.getDataA(2);
		nwlwcdm2Awlwcdm2.copie.i_id_cmd_cc = super.marshal.getDataN(7, 0);
		nwlwcdm2Awlwcdm2.copie.i_id_sscmd_cc = super.marshal.getDataN(3, 0);
		if (nwlwcdm2Awlwcdm2.anomalie == null) nwlwcdm2Awlwcdm2.anomalie = new Nwlwcdm2Awlwcdm2Anomalie();
		nwlwcdm2Awlwcdm2.anomalie.code_ano = super.marshal.getDataA(4);
		nwlwcdm2Awlwcdm2.anomalie.type_ano = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.anomalie.lib_ano = super.marshal.getDataA(70);
		if (nwlwcdm2Awlwcdm2.reponse_cmd == null) nwlwcdm2Awlwcdm2.reponse_cmd = new Nwlwcdm2Awlwcdm2Reponse_cmd();
		nwlwcdm2Awlwcdm2.reponse_cmd.isn_enr_cmd = super.marshal.getDataN(9, 0);
		nwlwcdm2Awlwcdm2.reponse_cmd.cd_cmd = super.marshal.getDataA(8);
		nwlwcdm2Awlwcdm2.reponse_cmd.type_cmd = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.reponse_cmd.k_parution = super.marshal.getDataA(10);
		nwlwcdm2Awlwcdm2.reponse_cmd.dt_trt = super.marshal.getDataN(8, 0);
		nwlwcdm2Awlwcdm2.reponse_cmd.dt_distrib = super.marshal.getDataN(8, 0);
		nwlwcdm2Awlwcdm2.reponse_cmd.nature = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.reponse_cmd.jour = super.marshal.getDataA(8);
		nwlwcdm2Awlwcdm2.reponse_cmd.cd_etat_cmd = super.marshal.getDataA(1);
		if (nwlwcdm2Awlwcdm2.reponse_sscmd == null) nwlwcdm2Awlwcdm2.reponse_sscmd = new Nwlwcdm2Awlwcdm2Reponse_sscmd();
		nwlwcdm2Awlwcdm2.reponse_sscmd.isn_enr_sscmd = super.marshal.getDataN(9, 0);
		nwlwcdm2Awlwcdm2.reponse_sscmd.id_sscmd_creee = super.marshal.getDataN(3, 0);
		nwlwcdm2Awlwcdm2.reponse_sscmd.type_sscmd = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.reponse_sscmd.num_edt = super.marshal.getDataN(3, 0);
		nwlwcdm2Awlwcdm2.reponse_sscmd.cd_promo = super.marshal.getDataA(10);
		nwlwcdm2Awlwcdm2.reponse_sscmd.lbl_promo = super.marshal.getDataA(32);
		nwlwcdm2Awlwcdm2.reponse_sscmd.top_inclus = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.reponse_sscmd.top_societe = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.reponse_sscmd.top_carnet = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.reponse_sscmd.top_grand_compte = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.reponse_sscmd.type_promo = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.reponse_sscmd.top_coiffe = super.marshal.getDataA(1);
		nwlwcdm2Awlwcdm2.reponse_sscmd.qte_promo = super.marshal.getDataN(1, 0);
		nwlwcdm2Awlwcdm2.reponse_sscmd.poids = super.marshal.getDataN(4, 0);
		}

	}

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

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

	public class Nwlwcdm2Awlwcdm2 {
		public Nwlwcdm2Awlwcdm2Demande demande;
		public Nwlwcdm2Awlwcdm2Copie copie;
		public Nwlwcdm2Awlwcdm2Anomalie anomalie;
		public Nwlwcdm2Awlwcdm2Reponse_cmd reponse_cmd;
		public Nwlwcdm2Awlwcdm2Reponse_sscmd reponse_sscmd;
		public void add() throws BrokerException {
			if (demande == null) demande = new Nwlwcdm2Awlwcdm2Demande();
			demande.add();
			if (copie == null) copie = new Nwlwcdm2Awlwcdm2Copie();
			copie.add();
			if (anomalie == null) anomalie = new Nwlwcdm2Awlwcdm2Anomalie();
			anomalie.add();
			if (reponse_cmd == null) reponse_cmd = new Nwlwcdm2Awlwcdm2Reponse_cmd();
			reponse_cmd.add();
			if (reponse_sscmd == null) reponse_sscmd = new Nwlwcdm2Awlwcdm2Reponse_sscmd();
			reponse_sscmd.add();
		}
		public void get() throws BrokerException {
			if (demande == null) demande = new Nwlwcdm2Awlwcdm2Demande();
							demande.get();
			if (copie == null) copie = new Nwlwcdm2Awlwcdm2Copie();
							copie.get();
			if (anomalie == null) anomalie = new Nwlwcdm2Awlwcdm2Anomalie();
							anomalie.get();
			if (reponse_cmd == null) reponse_cmd = new Nwlwcdm2Awlwcdm2Reponse_cmd();
							reponse_cmd.get();
			if (reponse_sscmd == null) reponse_sscmd = new Nwlwcdm2Awlwcdm2Reponse_sscmd();
							reponse_sscmd.get();
		}
	}

	public class Nwlwcdm2Awlwcdm2Demande {
		public String i_cd_cible;
		public BigDecimal i_id_cmd;
		public BigDecimal i_id_sscmd;
		public void add() throws BrokerException {
			Jwlwcdm2.super.marshal.addDataA(i_cd_cible, 2);
			Jwlwcdm2.super.marshal.addDataN(i_id_cmd, 7, 0);
			Jwlwcdm2.super.marshal.addDataN(i_id_sscmd, 3, 0);
		}
		public void get() throws BrokerException {
			i_cd_cible = Jwlwcdm2.super.marshal.getDataA(2);
			i_id_cmd = Jwlwcdm2.super.marshal.getDataN(7, 0);
			i_id_sscmd = Jwlwcdm2.super.marshal.getDataN(3, 0);
		}
	}

	public class Nwlwcdm2Awlwcdm2Copie {
		public String top_cc;
		public String i_cd_cible_cc;
		public BigDecimal i_id_cmd_cc;
		public BigDecimal i_id_sscmd_cc;
		public void add() throws BrokerException {
			Jwlwcdm2.super.marshal.addDataA(top_cc, 1);
			Jwlwcdm2.super.marshal.addDataA(i_cd_cible_cc, 2);
			Jwlwcdm2.super.marshal.addDataN(i_id_cmd_cc, 7, 0);
			Jwlwcdm2.super.marshal.addDataN(i_id_sscmd_cc, 3, 0);
		}
		public void get() throws BrokerException {
			top_cc = Jwlwcdm2.super.marshal.getDataA(1);
			i_cd_cible_cc = Jwlwcdm2.super.marshal.getDataA(2);
			i_id_cmd_cc = Jwlwcdm2.super.marshal.getDataN(7, 0);
			i_id_sscmd_cc = Jwlwcdm2.super.marshal.getDataN(3, 0);
		}
	}

	public class Nwlwcdm2Awlwcdm2Anomalie {
		public String code_ano;
		public String type_ano;
		public String lib_ano;
		public void add() throws BrokerException {
			Jwlwcdm2.super.marshal.addDataA(code_ano, 4);
			Jwlwcdm2.super.marshal.addDataA(type_ano, 1);
			Jwlwcdm2.super.marshal.addDataA(lib_ano, 70);
		}
		public void get() throws BrokerException {
			code_ano = Jwlwcdm2.super.marshal.getDataA(4);
			type_ano = Jwlwcdm2.super.marshal.getDataA(1);
			lib_ano = Jwlwcdm2.super.marshal.getDataA(70);
		}
	}

	public class Nwlwcdm2Awlwcdm2Reponse_cmd {
		public BigDecimal isn_enr_cmd;
		public String cd_cmd;
		public String type_cmd;
		public String k_parution;
		public BigDecimal dt_trt;
		public BigDecimal dt_distrib;
		public String nature;
		public String jour;
		public String cd_etat_cmd;
		public void add() throws BrokerException {
			Jwlwcdm2.super.marshal.addDataN(isn_enr_cmd, 9, 0);
			Jwlwcdm2.super.marshal.addDataA(cd_cmd, 8);
			Jwlwcdm2.super.marshal.addDataA(type_cmd, 1);
			Jwlwcdm2.super.marshal.addDataA(k_parution, 10);
			Jwlwcdm2.super.marshal.addDataN(dt_trt, 8, 0);
			Jwlwcdm2.super.marshal.addDataN(dt_distrib, 8, 0);
			Jwlwcdm2.super.marshal.addDataA(nature, 1);
			Jwlwcdm2.super.marshal.addDataA(jour, 8);
			Jwlwcdm2.super.marshal.addDataA(cd_etat_cmd, 1);
		}
		public void get() throws BrokerException {
			isn_enr_cmd = Jwlwcdm2.super.marshal.getDataN(9, 0);
			cd_cmd = Jwlwcdm2.super.marshal.getDataA(8);
			type_cmd = Jwlwcdm2.super.marshal.getDataA(1);
			k_parution = Jwlwcdm2.super.marshal.getDataA(10);
			dt_trt = Jwlwcdm2.super.marshal.getDataN(8, 0);
			dt_distrib = Jwlwcdm2.super.marshal.getDataN(8, 0);
			nature = Jwlwcdm2.super.marshal.getDataA(1);
			jour = Jwlwcdm2.super.marshal.getDataA(8);
			cd_etat_cmd = Jwlwcdm2.super.marshal.getDataA(1);
		}
	}

	public class Nwlwcdm2Awlwcdm2Reponse_sscmd {
		public BigDecimal isn_enr_sscmd;
		public BigDecimal id_sscmd_creee;
		public String type_sscmd;
		public BigDecimal num_edt;
		public String cd_promo;
		public String lbl_promo;
		public String top_inclus;
		public String top_societe;
		public String top_carnet;
		public String top_grand_compte;
		public String type_promo;
		public String top_coiffe;
		public BigDecimal qte_promo;
		public BigDecimal poids;
		public void add() throws BrokerException {
			Jwlwcdm2.super.marshal.addDataN(isn_enr_sscmd, 9, 0);
			Jwlwcdm2.super.marshal.addDataN(id_sscmd_creee, 3, 0);
			Jwlwcdm2.super.marshal.addDataA(type_sscmd, 1);
			Jwlwcdm2.super.marshal.addDataN(num_edt, 3, 0);
			Jwlwcdm2.super.marshal.addDataA(cd_promo, 10);
			Jwlwcdm2.super.marshal.addDataA(lbl_promo, 32);
			Jwlwcdm2.super.marshal.addDataA(top_inclus, 1);
			Jwlwcdm2.super.marshal.addDataA(top_societe, 1);
			Jwlwcdm2.super.marshal.addDataA(top_carnet, 1);
			Jwlwcdm2.super.marshal.addDataA(top_grand_compte, 1);
			Jwlwcdm2.super.marshal.addDataA(type_promo, 1);
			Jwlwcdm2.super.marshal.addDataA(top_coiffe, 1);
			Jwlwcdm2.super.marshal.addDataN(qte_promo, 1, 0);
			Jwlwcdm2.super.marshal.addDataN(poids, 4, 0);
		}
		public void get() throws BrokerException {
			isn_enr_sscmd = Jwlwcdm2.super.marshal.getDataN(9, 0);
			id_sscmd_creee = Jwlwcdm2.super.marshal.getDataN(3, 0);
			type_sscmd = Jwlwcdm2.super.marshal.getDataA(1);
			num_edt = Jwlwcdm2.super.marshal.getDataN(3, 0);
			cd_promo = Jwlwcdm2.super.marshal.getDataA(10);
			lbl_promo = Jwlwcdm2.super.marshal.getDataA(32);
			top_inclus = Jwlwcdm2.super.marshal.getDataA(1);
			top_societe = Jwlwcdm2.super.marshal.getDataA(1);
			top_carnet = Jwlwcdm2.super.marshal.getDataA(1);
			top_grand_compte = Jwlwcdm2.super.marshal.getDataA(1);
			type_promo = Jwlwcdm2.super.marshal.getDataA(1);
			top_coiffe = Jwlwcdm2.super.marshal.getDataA(1);
			qte_promo = Jwlwcdm2.super.marshal.getDataN(1, 0);
			poids = Jwlwcdm2.super.marshal.getDataN(4, 0);
		}
	}

}
