Package com.sun.xml.ws.api.databinding
Interface Databinding
-
- All Superinterfaces:
Databinding
- All Known Implementing Classes:
DatabindingImpl
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 asJavaCallInfo
instances.MessageFactory
instance which can be used to createMessage
instances that can be deserialized by the Databinding. TheMessageFactory
also supports the conversion of Oracle Fabric Normalized messages.Following is an example that creates a
Databinding
which provides the operations to serialize/deserialize a JavaCallInfo to/from a SOAP message:
DatabindingFactory wsfac = DatabindingFactory(); Databinding rt = wsfac.createDatabinding(DatabindingConfig);
- Author:
- [email protected]
-
-
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 void
decode(InputStream in, String ct, Packet packet)
Deprecated.use MessageContextFactoryContentType
encode(Packet packet, OutputStream out)
Deprecated.use MessageContextFactoryvoid
generateWSDL(WSDLGenInfo info)
Gets the WebServiceFeatures of this webservice endpoint.ClientCallBridge
getClientBridge(Method method)
EndpointCallBridge
getEndpointBridge(Packet soap)
Deserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.MessageContextFactory
getMessageContextFactory()
-
Methods inherited from interface com.oracle.webservices.api.databinding.Databinding
createJavaCallInfo, deserializeRequest, deserializeResponse, serializeRequest, serializeResponse
-
-
-
-
Method Detail
-
getEndpointBridge
EndpointCallBridge getEndpointBridge(Packet soap) throws DispatchException
Deserializes a request XML(SOAP) message to a JavaCallInfo instance representing a JAVA method call.- Parameters:
soap
- the request message- Returns:
- the JavaCallInfo representing a method call
- Throws:
DispatchException
-
getClientBridge
ClientCallBridge getClientBridge(Method method)
-
generateWSDL
void generateWSDL(WSDLGenInfo info)
Gets the WebServiceFeatures of this webservice endpoint.
-
encode
ContentType encode(Packet packet, OutputStream out) throws IOException
Deprecated.use MessageContextFactory- Throws:
IOException
-
decode
void decode(InputStream in, String ct, Packet packet) throws IOException
Deprecated.use MessageContextFactory- Throws:
IOException
-
getMessageContextFactory
MessageContextFactory getMessageContextFactory()
-
-