I use this for making Import Classes that do CRUD using services.
It works on windows. Have to figure out how to do this on linux.
got a service page like https://localhost:8443/webtools/control/availableServicesImage Removed
select a service https://localhost:8443/webtools/control/availableServices?sel_service_name=createProductImage Removed
highlight the In parameters area
so you can copy all the parameters
then using a editor that does not change the copy data, like PFE (old free editor)paste parameters as is
then open a blank Excel workbook
copy from the editor into excel
if everything went well you should see the columns from the service parameters in separate columns in excel
Now you can move them around and add columns to put in the strings you want
as an example
Code Block |
---|
title | From the service in parameteres |
---|
|
amountUomTypeId True String IN False Product amountUomTypeId
fixedAmount True Double IN False Product fixedAmount
|
become
Code Block |
---|
|
private String amountUomTypeId String ; <--note the semicolon
private Double fixedAmount Double ;
|
you an use the CTRL-D to propogate the columns down for say
private
now you copy the whole list back to you editor
and do a replace of
Code Block |
---|
title | Modifying in the text editor |
---|
|
String ;<--note the semicolon to distinquish between the other "String" in the line
|
with
then use the replace and remove the tabs(\t) with a single space.
so you end with
Code Block |
---|
|
private String amountUomTypeId =null;
private Double fixedAmount =0.0;
|
...