add customer question

2008-08-04 Thread jose junior malheiros barros
I am trying insert person in database, when i use the following statement insert correctly:     LocalDispatcher dispatcher = dctx.getDispatcher();     Map input = UtilMisc.toMap(firstName,  zeca, lastName, tatu);     Map serviceResults = dispatcher.runSync(createPerson, input); i

Re: add customer question

2008-08-04 Thread BJ Freeman
before we get into code. are you familiar with the code now in ofbiz to get emails? jose junior malheiros barros sent the following on 8/4/2008 6:12 AM: I am trying insert person in database, when i use the following statement insert correctly: LocalDispatcher dispatcher =

Re: add customer question

2008-08-04 Thread jjmbconquista
); Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses -- View this message in context: http://www.nabble.com/add-customer-question-tp18811016p18811562.html Sent from the OFBiz

Re: add customer question

2008-08-04 Thread BJ Freeman
the java mail container is disabled by default in the ofbiz-containers.xml check code if you wish framework\service\src\org\ofbiz\service\mail look in applications\content\src\org\ofbiz\content\email and applications\content\servicedef you will see sample in the mca.xml here is one I use mca

Re: add customer question

2008-08-04 Thread jjmbconquista
Thanks BJ, but now i want know why this statement work corrently: LocalDispatcher dispatcher = dctx.getDispatcher(); Map input = UtilMisc.toMap(firstName, zeca, lastName, tatu); Map serviceResults = dispatcher.runSync(createPerson, input); and this not: GenericDelegator

Re: add customer question

2008-08-04 Thread BJ Freeman
from the log looks like you doing rmi and the error are Error running simple method [ensureNaPartyRole] in XML file [org/ofbiz/party/party/PartySimpleMethods.xml]: (Could not find SimpleMethod XML document in resource: org/ofbiz/party/party/PartySimpleMethods.xml) so your create person fail

Re: add customer question

2008-08-04 Thread BJ Freeman
also the dispatcher=GenericDispatcher.getLocalDispatcher(OPro,delegator) OPro dispatcher is not defined or you don't have all the class paths define in your component. jjmbconquista sent the following on 8/4/2008 7:16 AM: Thanks BJ, but now i want know why this statement work corrently:

Re: add customer question

2008-08-04 Thread BJ Freeman
btw ensureNaPartyRole is an seca BJ Freeman sent the following on 8/4/2008 7:25 AM: from the log looks like you doing rmi and the error are Error running simple method [ensureNaPartyRole] in XML file [org/ofbiz/party/party/PartySimpleMethods.xml]: (Could not find SimpleMethod XML document

Re: add customer question

2008-08-04 Thread jjmbconquista
what should I put in place of OPro, you have some idea or some tutorial that can help me? BJ Freeman wrote: also the dispatcher=GenericDispatcher.getLocalDispatcher(OPro,delegator) OPro dispatcher is not defined or you don't have all the class paths define in your component.