!--a11y-->
Proxy Generation 
The proxy generator has one method that triggers the proxy generation process, and one helper method:
|
// Uses the configuration passed to the generated proxy public void generateProxy(ProxyGeneratorConfig config) throws ProxyGeneratorException // Uses the configuration passed to create default schema namespace to package mapping and sets this in // the configuration public void getDefaultSchemaMapping(ProxyGeneratorConfig config) throws ProxyGeneratorException |

The configuration object serves as a container for passing object and options in and out of the proxy generator. Tools (command line or visual) create and fill the configuration object prior to calling the generation procedure. The minimal configuration required to create a proxy is a WSDL location, an output directory and an output root package name. You can create a proxy by passing to the generator configuration:
ProxyGeneratorConfig config = new ProxyGeneratorConfig(“myWSDLLocation”,”d:/outputDir”,”proxy”);
When the generation information is passed, the proxy generator obtains instances of the supported binding implementations. These are implementations of the client transport binding interface, and this is performed in different ways on the standalone proxy generator and in the server environment. Instances of the supported binding implementations are required by the generator to parse binding-specific content in the WSDL, or so-called binding extension elements.

