public interface Databinding extends Databinding
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 aDatabinding
which provides the operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:
DatabindingFactory wsfac = DatabindingFactory(); Databinding rt = wsfac.createDatabinding(DatabindingConfig);
Databinding.Builder
Modifier and Type | Method and Description |
---|---|
void |
decode(InputStream in,
String ct,
com.sun.xml.ws.api.message.Packet packet)
Deprecated.
use MessageContextFactory
|
ContentType |
encode(com.sun.xml.ws.api.message.Packet packet,
OutputStream out)
Deprecated.
use MessageContextFactory
|
void |
generateWSDL(WSDLGenInfo info)
Gets the WebServiceFeatures of this webservice endpoint.
|
ClientCallBridge |
getClientBridge(Method method) |
EndpointCallBridge |
getEndpointBridge(com.sun.xml.ws.api.message.Packet soap)
Deserializes a request XML(SOAP) message to a JavaCallInfo instance
representing a JAVA method call.
|
com.sun.xml.ws.api.message.MessageContextFactory |
getMessageContextFactory() |
createJavaCallInfo, deserializeRequest, deserializeResponse, serializeRequest, serializeResponse
EndpointCallBridge getEndpointBridge(com.sun.xml.ws.api.message.Packet soap) throws DispatchException
soap
- the request messageDispatchException
ClientCallBridge getClientBridge(Method method)
void generateWSDL(WSDLGenInfo info)
ContentType encode(com.sun.xml.ws.api.message.Packet packet, OutputStream out) throws IOException
IOException
void decode(InputStream in, String ct, com.sun.xml.ws.api.message.Packet packet) throws IOException
IOException
com.sun.xml.ws.api.message.MessageContextFactory getMessageContextFactory()
Copyright © 2015 Oracle Corporation. All rights reserved.