LANSA Integrator SOAP Server Wizard and Axis SOAP naming conventions - Some Do's and Don'ts

Date:8 January 2006
Product/Release:LANSA Integrator V11 and EPC756
LANSA Integrator V10 and EPC752
Abstract:Some Do's and Don't regarding Axis SOAP naming conventions in LANSA Integrator SOAP Server Wizard
Submitted By:LANSA Technical Support
  • Do not start variable names with numbers.
  • Do not embed numbers in variable names, if you do then make the first alpha after the number uppercase.
  • Do not use a variable named - typeDesc.
  • Do start variable names with lowercase letters.
  • Do try to generate good bean code.

The number of member variables that an Axis generated bean class can have is limited to 254.

Axis creates safe Java source names from the SOAP xml names using the following method:
org.apache.axis.wsdl.toJava.Utils.xmlNameToJava ( xmlName )

Some examples of variable name and corresponding method names:
date - setDate and getDate
dateOfOrder - setDateOfOrder and getDateOfOrder
etc..