1 7 8 package test.wsdl.nested; 9 import org.apache.axis.message.MessageElement; 10 import test.wsdl.nested.holders.PE_ADDRESSHolder; 11 import test.wsdl.nested.holders.RETURNHolder; 12 13 import javax.xml.namespace.QName ; 14 15 public class Nested2BindingImpl implements test.wsdl.nested.Nested2PortType { 16 public void nestedSvc2(java.lang.String cUSTOMERNO, java.lang.String pIDISTRCHAN, java.lang.String pIDIVISION, java.lang.String pIPASSBUFFER, java.lang.String pISALESORG, PE_ADDRESSHolder PE_ADDRESS, RETURNHolder rETURN) throws java.rmi.RemoteException { 17 PE_ADDRESS address = new PE_ADDRESS(); 18 address.setFORM_OF_AD("Company"); 19 address.setFIRST_NAME(""); 20 address.setNAME("Becker Berlin"); 21 address.setNAME_3(""); 22 address.setNAME_4(""); 23 address.setDATE_BIRTH("0000-00-00"); 24 address.setSTREET("Calvinstr. 36"); 25 address.setPOSTL_CODE("13467"); 26 address.setCITY("Berlin"); 27 address.setREGION(""); 28 address.setCOUNTRY(""); 29 address.setCOUNTRNISO(""); 30 address.setCOUNTRAISO(""); 31 address.setINTERNET(""); 32 address.setFAX_NUMBER("030-8853-999"); 33 address.setTELEPHONE("030-8853-0"); 34 address.setTELEPHONE2(""); 35 address.setLANGU("D"); 36 address.setLANGU_ISO("DE"); 37 address.setCURRENCY(""); 38 address.setCURRENCY_ISO(""); 39 address.setCOUNTRYISO("DE"); 40 address.setONLY_CHANGE_COMADDRESS("X"); 41 MessageElement me = new MessageElement(new QName ("foo", "bar"), 42 "Test Any"); 43 address.set_any(new MessageElement [] { me }); 44 45 RETURN ret = new RETURN(); 46 ret.setTYPE(""); 47 ret.setCODE(""); 48 ret.setMESSAGE(""); 49 ret.setLOG_NO(""); 50 ret.setLOG_MSG_NO("123456"); 51 ret.setMESSAGE_V1(""); 52 ret.setMESSAGE_V2(""); 53 ret.setMESSAGE_V3(""); 54 ret.setMESSAGE_V4(""); 55 56 PE_ADDRESS.value = address; 57 rETURN.value = ret; 58 } 59 60 } 61 | Popular Tags |