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
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 =
);
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
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
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
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
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:
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
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.