Package com.sun.xml.ws.api.databinding
Interface Databinding
- All Superinterfaces:
Databinding
- All Known Implementing Classes:
DatabindingImpl
Databinding is the entry point for all the WebService databinding
runtime functionality. Primarily, a Databinding is to serialize/deserialize
an XML(SOAP) message to/from a JAVA method invocation and return value which
are represented as JavaCallInfo instances.
Each Databinding is associated with a
MessageFactory instance
which can be used to create Message instances that can be
deserialized by the Databinding. The MessageFactory also
supports the conversion of Oracle Fabric Normalized messages.
Following is an example that creates aDatabindingwhich provides the operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:
DatabindingFactory wsfac = DatabindingFactory(); Databinding rt = wsfac.createDatabinding(DatabindingConfig);
- Author:
- shih-chang.chen@oracle.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.oracle.webservices.api.databinding.Databinding
Databinding.Builder -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(InputStream in, String ct, Packet packet) Deprecated.use MessageContextFactoryencode(Packet packet, OutputStream out) Deprecated.use MessageContextFactoryvoidgenerateWSDL(WSDLGenInfo info) getClientBridge(Method method) getEndpointBridge(Packet soap) Methods inherited from interface com.oracle.webservices.api.databinding.Databinding
createJavaCallInfo, deserializeRequest, deserializeResponse, serializeRequest, serializeResponse
-
Method Details
-
getEndpointBridge
- Throws:
DispatchException
-
getClientBridge
-
generateWSDL
-
encode
Deprecated.use MessageContextFactory- Throws:
IOException
-
decode
Deprecated.use MessageContextFactory- Throws:
IOException
-
getMessageContextFactory
MessageContextFactory getMessageContextFactory()
-