com.sun.xml.ws.api.databinding
Interface Databinding
- All Superinterfaces:
- org.jvnet.ws.databinding.Databinding
public interface Databinding
- extends org.jvnet.ws.databinding.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 a Databinding which
provides the operations to serialize/deserialize a JavaCallInfo to/from a
SOAP message:
DatabindingFactory wsfac = DatabindingFactory();
Databinding rt = wsfac.createDatabinding(DatabindingConfig);
| Nested classes/interfaces inherited from interface org.jvnet.ws.databinding.Databinding |
org.jvnet.ws.databinding.Databinding.Builder, org.jvnet.ws.databinding.Databinding.WSDLGenerator |
| Methods inherited from interface org.jvnet.ws.databinding.Databinding |
createJavaCallInfo, deserializeRequest, deserializeResponse, serializeRequest, serializeResponse |
generateWSDL
void generateWSDL(WSDLGenInfo info)
- Gets the WebServiceFeatures of this webservice endpoint.
encode
ContentType encode(Packet packet,
OutputStream out)
throws IOException
- Throws:
IOException
decode
void decode(InputStream in,
String ct,
Packet packet)
throws IOException
- Throws:
IOException
Copyright (c) 1997-2011 Oracle and/or its affiliates. All rights reserved.