public abstract class DatabindingFactory extends DatabindingFactory
WsTool, WsRuntime,
XsTool, and XsRuntime instances.
Following is an example that creates aWsToolwhich provides the operations for "WSDL to JAVA" and "JAVA to WSDL":
WsFactory wsfac = WsFactory.newInstance(); WsTool tool = wsfac.createTool(); GenerationStatus status = tool.generateWsdl(javaToWsdkInfo);
Following is an example that creates aWsRuntimewhich provides the operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:
WsFactory wsfac = WsFactory.newInstance(); WsRuntime rt = wsfac.createRuntime(wsRuntimeConfig);
Databinding| Constructor and Description |
|---|
DatabindingFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract Databinding |
createRuntime(DatabindingConfig config)
Creates a new instance of a
WsRuntime which is initialized
with the specified configuration object. |
static DatabindingFactory |
newInstance()
Create a new instance of a
WsFactory. |
abstract Map<String,Object> |
properties()
Access properties on the
WsFactory instance. |
createBuilderpublic abstract Databinding createRuntime(DatabindingConfig config)
WsRuntime which is initialized
with the specified configuration object.config - the EndpointRuntimeConfig to init this WsRuntimeWsRuntimepublic abstract Map<String,Object> properties()
WsFactory instance.properties in class DatabindingFactorypublic static DatabindingFactory newInstance()
WsFactory. This static method
creates a new factory instance.
Once an application has obtained a reference to a WsFactory
it can use the factory to configure and obtain WsTool and
WsRuntime instances.WsFactoryCopyright © 2015 Oracle Corporation. All rights reserved.