WSDLExtractor Tool

BTT provides a tool to extract the information from original WSDL files. It’s a Java™ file, com.ibm.btt.tool.WSDLExtractor. You can use it as follows:

Java com.ibm.btt.tool.WSDLExtractor –o outputfile wsdluri1 [wsdluri2…]

The tool reuses some code logic in Axis WSDL2JAVA to gather all required info and output it to the output file with the same structure of the sample XML.

At runtime, when you start the first Web service, BTT then loads all Web services info from the definition file and cache it in memory. If the information of the requested Web service can not be found, then the BTT invoker will call the WSDLExtractor automatically to extract the information from Web service URL dynamically, and cache the information. Then the info will be fetched from cache directly for performance consideration.

Although you are not required to run the WSDLExtractor, it is recommended to extract the Web service definition information manually before runtime for improving the performance and helping you on problem determination.