When creating a new document, X-Application’s default behavior is to create optional elements.
You can change this behavior by changing the calls to com.softwareag.xtools.xapplication.businessdocument.BusinessFactory.forSchema()
in the source code. Instead of “true”, you have to pass “false” for the “createOptionals” argument. Namely, there are two calls that have to be change:
o xapplication/src/com/softwareag/xtools/xapplication/businessdocument/BusinessFactory.java,
line 81
o xapplication/src/com/softwareag/xtools/xapplication/businessdocument/BusinessDocuemntWorkspace.java,
line 223.
After changing the files, run
build quick
and copy the newly createad
lib/debug/xapplication.jar
into your web application’s WEB-INF/lib folder.
Michael
Software AG Germany, Darmstadt
X-Application Version: 4.1.1, 3.1.3
Tamino Version : 4.1.1, 3.1
Platform : Win2k, WinXP, Solaris, Linux, …
WebContainer : Tamocat 4.1.1, Tomcat 3.3.1
JDK Version : 1.4.1, 1.3.1
#Tamino#webMethods#API-Management