Ok, so, I've tried this in every combination I can figure, but, since I haven't found any documentation on the details behind the web services, I'm in need of some help. Everything I try throws an error:
"javax.xml.ws.soap.SOAPFaultException: psdi.util.MXApplicationException: Not a valid GL account. Either the required components are not filled or the component values are not valid." Here's my most recent, of many attempts, to code this correctly:
MXGLAccount glAccount = new MXGLAccount();
glAccount.setVALUE("431350-7460-12");
glAccount.getGLCOMP().add(new MXGLComponent("431350", 0);
glAccount.getGLCOMP().add(new MXGLComponent("7460", 1);
glAccount.getGLCOMP().add(new MXGLComponent("12", 2);
labor.setGLDEBITACCT(glAccount);
I've used WSDL2JAVA to generate the classes, and I've overloaded the MXGLComponent constructor to allow me to set both value and order.
Thanks for any help.
Ron Grimes