there is already a create customer.
I suggest you follow the create customer from the UI page thru the Services.
https://demo.hotwaxmedia.com/partymgr/control/createnew
if you want to create a customer from another source, you supply the
information required by the createCustomer Service it will handle all this.

Yitao_Zhao sent the following on 4/8/2008 1:05 AM:
> Hi, I am trying to create a customer via webservice. I am following these
> steps
> 
> 1) Call createPerson 
> 2) Call createPartyRole
> Here there are some things I don't understand:
> Why does it create two roles: CUSTOMER and _NA_, is this correct?, I have
> only set it to create role type CUSTOMER
> When a role have been created, should I then get the role ID and use that
> next time - I cannot find any service methods that have something like
> getPartyRoleID
> There are some service methods like ensureNaPartyRole, should I use them for
> anything?
> 3) call createPartyContactMech service, it generates a record for
> POSTAL_ADDRESS ,but how can I set the parameters for  POSTAL_ADDRESS
> 
> 4) Call createPartyPostalAddress
> This creates another record, where I can fill out address information
> 
> My question for step 3 and 4 is, how do I create an address with one service
> call? What is the right way?
> 
> Best regards
> 
> Tony.
> 
> 
> 
> 

Reply via email to