Followed the process from link http://docs.ofbiz.org/display/OFBENDUSER/Find+and+Edit+Customer
Thanks Awdesh, Ratnesh, Santosh and others,
Patch along with few modifications is in trunk rev. 663913
In this patch I followed your suggestion and used PartyWorker methods to fetch contactMechId's for updating postal, telecom, email address .
Thanks to Ratnesh Upadhyay for helping.
Thanks and Regards,
Awdesh - patch looks good.
One change that I would like to propose is to use PartyWorker or ContactHelper methods to fetch contactMechId's for updating postal, telecom, email address etc. instead of using constant values.
This way test case will also work if it is run more than once.
Done some modification in last uploaded patch :
1) . Put some condition in assert tag.
2). Changed some services from last uploaded patch which is not participating in process .
I have converted Java services into minilang.
Thanks to Brajesh Patel for discussion on the issue.
I think instead of Updating information on party DemoCustomer, we should create a test data probably with reader-name="test" and use that data to find, update information.
Any Thoughts ?
I have tested it extensively and it is working fine.
May I can test and then commit ?
Patch from Santosh Malviya