Entering content frame

Function documentation Proxy Generation Locate the document in its SAP Library structure

Use

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

 

This graphic is explained in the accompanying text

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.

This graphic is explained in the accompanying text

 

Leaving content frame