Hello Jose,
Here as i understand form your error message is that :
Your createPerson service returns the error that the input parameters
contains the invalid content : partyId, right ?
So if you are calling service createPerson then it returns the
partyId. It does not needed partyId as input parameter (It generate
the partyId and return it).
If you already have partyId then call updatePerson service. This will
update your existing record.
If you want more help let me know if you have partyId ?
Let me know if you want more informations.
--
Thanks and Regards
Sumit Pandit.
HotWaxMedia, Inc
http://www.hotwaxmedia.com
On Aug 2, 2008, at 6:43 PM, Scott Gray wrote:
Jose,
The createPerson service is running fine:
2008-08-01 13:37:07,500 (http-0.0.0.0-8080-Processor3) [
ServiceDispatcher.java:470:DEBUG] Sync service [pedido/createPerson]
finished in [78] milliseconds
It appears the service that called createPerson (importEmaisFromSite)
is returning an invalid parameter "partyId":
2008-08-01 13:37:07,500 (http-0.0.0.0-8080-Processor3) [
ModelService.java:481:ERROR] [ModelService.validate] :
{importEmaisFromSite} : (OUT) Required test error:
org.ofbiz.service.ServiceValidationException: Unknown parameter found:
[importEmaisFromSite.partyId]
Regards
Scott
2008/8/3 jose junior malheiros barros <[EMAIL PROTECTED]>:
Thanks BJ Freeman,
I am trying to use the services of partymgr component in folder
applications/party. The service definition is this:
<service name="createPerson" engine="java" default-entity-
name="Person"
location="org.ofbiz.party.party.PartyServices"
invoke="createPerson" auth="false">
<description>Create a Person</description>
<auto-attributes mode="INOUT" include="pk" optional="true"/>
<auto-attributes mode="IN" include="nonpk" optional="true"/>
<attribute name="statusId" type="String" mode="IN"
optional="true"/>
<attribute name="preferredCurrencyUomId" type="String"
mode="IN" optional="true"/>
<attribute name="description" type="String" mode="IN"
optional="true"/>
<override name="firstName" optional="false"/>
<override name="lastName" optional="false"/>
</service>
--- Em sáb, 2/8/08, BJ Freeman <[EMAIL PROTECTED]> escreveu:
De: BJ Freeman <[EMAIL PROTECTED]>
Assunto: Re: add person question
Para: dev@ofbiz.apache.org
Data: Sábado, 2 de Agosto de 2008, 2:13
if you look further down is says
Message: Unknown parameter found: [importEmaisFromSite.partyId]
I don't think we have that in the svn
Pranay Pandey sent the following on 8/1/2008 9:51 PM:
Hello Jose,
I think you should check the service definition you have given.
Because
you are returning serviceResults which is having the party Id and
may be
it has not been included in your service definition.
Exception report says this only.
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