globalme - 2011-12-05


i want to use web service to register a client through launching the process "initial client setup".

i configure a web service named "register_client" in Web Service Security. The questions came up:

1,in Tab "web service type", i select "model oriented web services_Run Process", but for Table, as the "initial client setup" will do multiple tables so i select "AD_Client_Client". Am i right?

2,As shown in the source code of, i make all the required fields in Tab  "web service parameters", they are:
AD_Menu_ID Constant 225
AD_Process_ID Constant 53161
C_Currency_ID Constant 100
C_Country_ID Constant 100
CoAFile Constant C:\ADempiere\data\import\AccountingUS.csv
ClientName Free
OrgName  Free
AdminUserName  Free
NormalUserName  Free

3, i save the web service security and launch the jboss. i put in the XML below and failed like this:
<soapenv:Envelope xmlns:soapenv="" xmlns:adin="">
            <adin:ModelRunProcess AD_Process_ID="53161" AD_Menu_ID="225">

The returned XML is :

<soap:Envelope xmlns:soap="" xmlns:xsd="" xmlns:xsi="">
         <faultstring>Fault: java.lang.NullPointerException</faultstring>

So please help me to fix this, thanks very much!

the eager learner of ADempiere