Package com.sun.xml.ws.api.databinding
Interface Databinding
-
- All Superinterfaces:
Databinding
- All Known Implementing Classes:
DatabindingImpl
public interface Databinding extends Databinding
Databindingis 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 asJavaCallInfoinstances.
Each Databinding is associated with aMessageFactoryinstance which can be used to createMessageinstances that can be deserialized by the Databinding. TheMessageFactoryalso supports the conversion of Oracle Fabric Normalized messages.Following is an example that creates a
Databindingwhich 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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voiddecode(InputStream in, String ct, Packet packet)Deprecated.use MessageContextFactoryContentTypeencode(Packet packet, OutputStream out)Deprecated.use MessageContextFactoryvoidgenerateWSDL(WSDLGenInfo info)ClientCallBridgegetClientBridge(Method method)EndpointCallBridgegetEndpointBridge(Packet soap)MessageContextFactorygetMessageContextFactory()-
Methods inherited from interface com.oracle.webservices.api.databinding.Databinding
createJavaCallInfo, deserializeRequest, deserializeResponse, serializeRequest, serializeResponse
-
-
-
-
Method Detail
-
getEndpointBridge
EndpointCallBridge getEndpointBridge(Packet soap) throws DispatchException
- Throws:
DispatchException
-
getClientBridge
ClientCallBridge getClientBridge(Method method)
-
generateWSDL
void generateWSDL(WSDLGenInfo info)
-
encode
@Deprecated ContentType encode(Packet packet, OutputStream out) throws IOException
Deprecated.use MessageContextFactory- Throws:
IOException
-
decode
@Deprecated void decode(InputStream in, String ct, Packet packet) throws IOException
Deprecated.use MessageContextFactory- Throws:
IOException
-
getMessageContextFactory
MessageContextFactory getMessageContextFactory()
-
-