java.lang.Object
com.oracle.webservices.api.databinding.DatabindingFactory
com.sun.xml.ws.api.databinding.DatabindingFactory
- Direct Known Subclasses:
DatabindingFactoryImpl
WsFactory is the entry point of all the ws-databinding APIs. A WsFactory
instance can be used to create
WsTool
, WsRuntime
,
XsTool
, and XsRuntime
instances.
Following is an example that creates aWsTool
which 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 aWsRuntime
which provides the operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:
WsFactory wsfac = WsFactory.newInstance(); WsRuntime rt = wsfac.createRuntime(wsRuntimeConfig);
- Author:
- [email protected]
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Databinding
createRuntime
(DatabindingConfig config) Creates a new instance of aWsRuntime
which is initialized with the specified configuration object.static DatabindingFactory
Create a new instance of aWsFactory
.Access properties on theWsFactory
instance.Methods inherited from class com.oracle.webservices.api.databinding.DatabindingFactory
createBuilder
-
Constructor Details
-
DatabindingFactory
protected DatabindingFactory()Default constructor.
-
-
Method Details
-
createRuntime
Creates a new instance of aWsRuntime
which is initialized with the specified configuration object.- Parameters:
config
- the EndpointRuntimeConfig to init this WsRuntime- Returns:
- New instance of a
WsRuntime
-
properties
Access properties on theWsFactory
instance.- Specified by:
properties
in classDatabindingFactory
- Returns:
- properties of this WsFactory
-
newInstance
Create a new instance of aWsFactory
. This static method creates a new factory instance. Once an application has obtained a reference to aWsFactory
it can use the factory to configure and obtainWsTool
andWsRuntime
instances.- Returns:
- New instance of a
WsFactory
-