Package | Description |
---|---|
com.sun.xml.ws.api.handler | |
com.sun.xml.ws.api.message |
Message and related abstractions that represent a SOAP message. |
com.sun.xml.ws.api.message.saaj | |
com.sun.xml.ws.api.pipe |
Pipe and related abstractions. |
com.sun.xml.ws.client.dispatch | |
com.sun.xml.ws.client.sei | |
com.sun.xml.ws.commons.xmlutil | |
com.sun.xml.ws.encoding | |
com.sun.xml.ws.encoding.xml | |
com.sun.xml.ws.fault | |
com.sun.xml.ws.handler | |
com.sun.xml.ws.message |
Message implementations. |
com.sun.xml.ws.message.jaxb |
Message implementation for JAXB. |
com.sun.xml.ws.message.saaj | |
com.sun.xml.ws.message.source | |
com.sun.xml.ws.message.stream | |
com.sun.xml.ws.protocol.soap | |
com.sun.xml.ws.server.provider | |
com.sun.xml.ws.server.sei | |
com.sun.xml.ws.wsdl |
Modifier and Type | Method and Description |
---|---|
Message |
MessageHandlerContext.getMessage()
Gets the message from this message context
|
Modifier and Type | Method and Description |
---|---|
void |
MessageHandlerContext.setMessage(Message message)
Sets the message in this message context
|
Modifier and Type | Class and Description |
---|---|
class |
FilterMessageImpl
A
FilterMessageImpl contains some other Message, which it uses
as its basic source of message data, possibly transforming the data along
the way or providing additional functionality. |
(package private) class |
MessageWrapper
A
MessageWrapper wraps the Message for the access through Packet. |
Modifier and Type | Field and Description |
---|---|
(package private) Message |
MessageWrapper.delegate |
Modifier and Type | Method and Description |
---|---|
Message |
MessageWrapper.copy() |
abstract Message |
Message.copy()
Creates a copy of a
Message . |
Message |
FilterMessageImpl.copy() |
static Message |
Messages.create(Element soapEnvelope)
|
static Message |
Messages.create(JAXBContext context,
Object jaxbObject,
SOAPVersion soapVersion)
Deprecated.
|
static Message |
Messages.create(Marshaller marshaller,
Object jaxbObject,
SOAPVersion soapVersion)
Deprecated.
Use
#create(JAXBRIContext, Object, SOAPVersion) |
static Message |
Messages.create(javax.xml.soap.SOAPFault fault)
Creates a fault
Message . |
static Message |
Messages.create(javax.xml.soap.SOAPMessage saaj)
Creates a
Message backed by a SAAJ SOAPMessage object. |
static Message |
Messages.create(SOAPVersion soapVersion,
ProtocolException pex,
QName faultcode)
|
static Message |
Messages.create(Source envelope,
SOAPVersion soapVersion)
Creates a
Message using Source as entire envelope. |
static Message |
Messages.create(String unsupportedAction,
AddressingVersion av,
SOAPVersion sv)
Creates a fault
Message that captures the code/subcode/subsubcode
defined by WS-Addressing if wsa:Action is not supported. |
static Message |
Messages.create(Throwable t,
SOAPVersion soapVersion)
Creates a
Message that represents an exception as a fault. |
static Message |
Messages.create(com.sun.xml.stream.buffer.XMLStreamBuffer xsb)
Creates a
Message from XMLStreamBuffer that retains the
whole envelope infoset. |
static Message |
Messages.create(javax.xml.stream.XMLStreamReader reader)
Creates a
Message from XMLStreamReader that points to
the start of the envelope. |
static Message |
Messages.createAddressingFaultMessage(WSBinding binding,
Packet p,
QName missingHeader)
Creates a fault
Message that captures the code/subcode/subsubcode
defined by WS-Addressing if one of the expected WS-Addressing headers is
missing in the message |
static Message |
Messages.createAddressingFaultMessage(WSBinding binding,
QName missingHeader)
Deprecated.
|
static Message |
Messages.createEmpty(SOAPVersion soapVersion)
Creates a
Message that doesn't have any payload. |
static Message |
Messages.createRaw(JAXBContext context,
Object jaxbObject,
SOAPVersion soapVersion)
Deprecated.
For use when creating a Dispatch object with an unknown JAXB implementation
for he JAXBContext parameter.
|
static Message |
Messages.createUsingPayload(Element payload,
SOAPVersion ver)
|
static Message |
Messages.createUsingPayload(Source payload,
SOAPVersion ver)
|
static Message |
Messages.createUsingPayload(javax.xml.stream.XMLStreamReader payload,
SOAPVersion ver)
Creates a
Message using XMLStreamReader as payload. |
abstract Message |
ExceptionHasMessage.getFaultMessage()
Returns the exception into a fault Message
|
Message |
Packet.getInternalMessage() |
Message |
Packet.getMessage()
Gets the last
Message set through Packet.setMessage(Message) . |
Modifier and Type | Method and Description |
---|---|
Packet |
Packet.createClientResponse(Message msg)
Creates a response
Packet from a request packet (this ). |
org.jvnet.ws.message.MessageContext |
MessageContextFactory.createContext(Message m) |
Packet |
Packet.createResponse(Message msg)
Deprecated.
Use createClientResponse(Message) for client side and
createServerResponse(Message, String) for server side response
creation.
|
Packet |
Packet.createServerResponse(Message responseMessage,
AddressingVersion addressingVersion,
SOAPVersion soapVersion,
String action)
Creates a server-side response
Packet from a request
packet (this ). |
Packet |
Packet.createServerResponse(Message responseMessage,
WSDLPort wsdlPort,
SEIModel seiModel,
WSBinding binding)
Creates a server-side response
Packet from a request
packet (this ). |
void |
Packet.setMessage(Message message)
Sets a
Message to this packet. |
void |
Packet.setResponseMessage(Packet request,
Message responseMessage,
AddressingVersion addressingVersion,
SOAPVersion soapVersion,
String action)
|
Constructor and Description |
---|
FilterMessageImpl(Message delegate) |
MessageWrapper(Packet p,
Message m) |
Packet(Message request)
|
Modifier and Type | Method and Description |
---|---|
static Message |
SAAJFactory.create(javax.xml.soap.SOAPMessage saaj)
Creates Message from SOAPMessage
|
Message |
SAAJFactory.createMessage(javax.xml.soap.SOAPMessage saaj)
Creates Message from SOAPMessage
|
Modifier and Type | Method and Description |
---|---|
protected void |
SAAJFactory.addAttachmentsToSOAPMessage(javax.xml.soap.SOAPMessage msg,
Message message) |
static javax.xml.soap.SOAPMessage |
SAAJFactory.read(SOAPVersion soapVersion,
Message message)
Reads Message as SOAPMessage.
|
static javax.xml.soap.SOAPMessage |
SAAJFactory.read(SOAPVersion soapVersion,
Message message,
Packet packet)
Reads Message as SOAPMessage.
|
javax.xml.soap.SOAPMessage |
SAAJFactory.readAsSOAPMessage(SOAPVersion soapVersion,
Message message)
Reads Message as SOAPMessage.
|
javax.xml.soap.SOAPMessage |
SAAJFactory.readAsSOAPMessage(SOAPVersion soapVersion,
Message message,
Packet packet)
Reads Message as SOAPMessage.
|
Modifier and Type | Method and Description |
---|---|
Message |
StreamSOAPCodec.decode(javax.xml.stream.XMLStreamReader reader)
Reads events from
XMLStreamReader and constructs a
Message for SOAP envelope. |
Message |
StreamSOAPCodec.decode(javax.xml.stream.XMLStreamReader reader,
AttachmentSet att)
Reads events from
XMLStreamReader and constructs a
Message for SOAP envelope. |
Modifier and Type | Method and Description |
---|---|
static Dispatch<Message> |
Stubs.createMessageDispatch(QName portName,
WSService owner,
WSBinding binding,
Tube next,
WSEndpointReference epr)
Deprecated.
|
static Dispatch<Message> |
Stubs.createMessageDispatch(WSPortInfo portInfo,
WSBinding binding,
WSEndpointReference epr)
|
Modifier and Type | Method and Description |
---|---|
(package private) Message |
MessageDispatch.toReturnValue(Packet response) |
Modifier and Type | Method and Description |
---|---|
(package private) Packet |
MessageDispatch.createPacket(Message msg) |
Modifier and Type | Method and Description |
---|---|
(package private) abstract Message |
BodyBuilder.createMessage(Object[] methodArgs) |
(package private) Message |
SEIMethodHandler.createRequestMessage(Object[] args)
Creates a request
JAXBMessage from method arguments. |
Modifier and Type | Method and Description |
---|---|
(package private) abstract void |
MessageFiller.fillIn(Object[] methodArgs,
Message msg)
Moves an argument of a method invocation into a
Message . |
(package private) void |
MessageFiller.Header.fillIn(Object[] methodArgs,
Message msg) |
abstract Object |
ResponseBuilder.readResponse(Message reply,
Object[] args)
Reads a response
Message , disassembles it, and moves obtained Java values
to the expected places. |
Object |
ResponseBuilder.None.readResponse(Message msg,
Object[] args) |
Object |
ResponseBuilder.NullSetter.readResponse(Message msg,
Object[] args) |
Object |
ResponseBuilder.Composite.readResponse(Message msg,
Object[] args) |
Object |
ResponseBuilder.AttachmentBuilder.readResponse(Message msg,
Object[] args) |
Object |
ResponseBuilder.Header.readResponse(Message msg,
Object[] args) |
Object |
ResponseBuilder.Body.readResponse(Message msg,
Object[] args) |
Object |
ResponseBuilder.DocLit.readResponse(Message msg,
Object[] args) |
Object |
ResponseBuilder.RpcLit.readResponse(Message msg,
Object[] args) |
protected Object |
ResponseBuilder.readWrappedResponse(Message msg,
Object[] args) |
Modifier and Type | Method and Description |
---|---|
static Message |
Converter.toMessage(InputStream dataStream,
String encoding)
Converts JAX-WS RI message represented as input stream back to Message
object.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
Converter.toBytes(Message message,
String encoding) |
static String |
Converter.toString(Message message) |
Modifier and Type | Method and Description |
---|---|
Message |
StreamSOAPCodec.decode(javax.xml.stream.XMLStreamReader reader)
Decodes a message from
XMLStreamReader that points to
the beginning of a SOAP infoset. |
Message |
StreamSOAPCodec.decode(javax.xml.stream.XMLStreamReader reader,
AttachmentSet attachmentSet)
Decodes a message from
XMLStreamReader that points to
the beginning of a SOAP infoset. |
Modifier and Type | Class and Description |
---|---|
static class |
XMLMessage.UnknownContent
Don't know about this content.
|
static class |
XMLMessage.XMLMultiPart
Data represented as a multi-part MIME message.
|
Modifier and Type | Method and Description |
---|---|
Message |
XMLMessage.XMLMultiPart.copy() |
Message |
XMLMessage.UnknownContent.copy() |
static Message |
XMLMessage.create(javax.activation.DataSource ds,
WSFeatureList f) |
static Message |
XMLMessage.create(Exception e) |
static Message |
XMLMessage.create(Source source) |
static Message |
XMLMessage.create(String ct,
InputStream in,
WSFeatureList f) |
Modifier and Type | Method and Description |
---|---|
static javax.activation.DataSource |
XMLMessage.getDataSource(Message msg,
WSFeatureList f) |
Modifier and Type | Method and Description |
---|---|
static Message |
SOAPFaultBuilder.createSOAPFaultMessage(SOAPVersion soapVersion,
CheckedExceptionImpl ceModel,
Throwable ex)
To be called by the server runtime in the situations when there is an Exception that needs to be transformed in
to a soapenv:Fault payload.
|
static Message |
SOAPFaultBuilder.createSOAPFaultMessage(SOAPVersion soapVersion,
CheckedExceptionImpl ceModel,
Throwable ex,
QName faultCode)
Create the Message with the specified faultCode
|
static Message |
SOAPFaultBuilder.createSOAPFaultMessage(SOAPVersion soapVersion,
ProtocolException ex,
QName faultcode)
|
static Message |
SOAPFaultBuilder.createSOAPFaultMessage(SOAPVersion soapVersion,
javax.xml.soap.SOAPFault fault) |
static Message |
SOAPFaultBuilder.createSOAPFaultMessage(SOAPVersion soapVersion,
String faultString,
QName faultCode)
Server runtime will call this when there is some internal error not resulting from an exception.
|
Modifier and Type | Method and Description |
---|---|
static SOAPFaultBuilder |
SOAPFaultBuilder.create(Message msg)
Parses a fault
Message and returns it as a SOAPFaultBuilder . |
Modifier and Type | Method and Description |
---|---|
Message |
MessageHandlerContextImpl.getMessage() |
Message |
LogicalMessageImpl.getMessage(HeaderList headers,
AttachmentSet attachments,
WSBinding binding)
This should be called by first checking if the payload is modified.
|
(package private) Message |
MessageUpdatableContext.getPacketMessage()
Updates Message in the packet with user modifications
returns the new packet's message
|
Modifier and Type | Method and Description |
---|---|
void |
MessageHandlerContextImpl.setMessage(Message message) |
(package private) void |
SOAPMessageContextImpl.setPacketMessage(Message newMessage) |
(package private) abstract void |
MessageUpdatableContext.setPacketMessage(Message newMessage)
Sets Message in the packet
Any user modifications done on previous Message are lost.
|
(package private) void |
MessageHandlerContextImpl.setPacketMessage(Message newMessage) |
(package private) void |
LogicalMessageContextImpl.setPacketMessage(Message newMessage) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMessageImpl
Partial
Message implementation. |
class |
DOMMessage
|
class |
EmptyMessageImpl
Message that has no body. |
class |
FaultMessage
SOAP Fault message.
|
Modifier and Type | Method and Description |
---|---|
Message |
EmptyMessageImpl.copy() |
Message |
DOMMessage.copy() |
Message |
AbstractMessageImpl.toSAAJ(Packet p,
Boolean inbound) |
Constructor and Description |
---|
FaultMessage(Message delegate,
QName detailEntryName) |
XMLReaderImpl(Message msg) |
Modifier and Type | Class and Description |
---|---|
class |
JAXBDispatchMessage
Message backed by a JAXB bean; this implementation is used when client uses
Dispatch mechanism in JAXB/MESSAGE mode; difference from JAXBMessage is
that jaxbObject holds whole SOAP message including SOAP envelope;
it's the client who is responsible for preparing message content. |
class |
JAXBMessage
Message backed by a JAXB bean. |
Modifier and Type | Method and Description |
---|---|
Message |
JAXBMessage.copy() |
Message |
JAXBDispatchMessage.copy() |
static Message |
JAXBMessage.create(BindingContext context,
Object jaxbObject,
SOAPVersion soapVersion)
Creates a
Message backed by a JAXB bean. |
static Message |
JAXBMessage.create(BindingContext context,
Object jaxbObject,
SOAPVersion soapVersion,
HeaderList headers,
AttachmentSet attachments) |
static Message |
JAXBMessage.create(JAXBContext context,
Object jaxbObject,
SOAPVersion soapVersion)
Deprecated.
|
static Message |
JAXBMessage.create(XMLBridge bridge,
Object jaxbObject,
SOAPVersion soapVer)
Creates a
Message backed by a JAXB bean. |
static Message |
JAXBMessage.createRaw(JAXBContext context,
Object jaxbObject,
SOAPVersion soapVersion)
Deprecated.
For use when creating a Dispatch object with an unknown JAXB implementation
for he JAXBContext parameter.
|
Modifier and Type | Class and Description |
---|---|
class |
SAAJMessage
Message implementation backed by SOAPMessage . |
Modifier and Type | Method and Description |
---|---|
Message |
SAAJMessage.copy()
Creates a copy of a
Message . |
Modifier and Type | Class and Description |
---|---|
class |
PayloadSourceMessage
|
class |
ProtocolSourceMessage
|
Modifier and Type | Method and Description |
---|---|
Message |
ProtocolSourceMessage.copy() |
Modifier and Type | Class and Description |
---|---|
class |
PayloadStreamReaderMessage
Message backed by XMLStreamReader as payload |
class |
StreamMessage
Message implementation backed by XMLStreamReader . |
Modifier and Type | Method and Description |
---|---|
Message |
StreamMessage.copy() |
Message |
PayloadStreamReaderMessage.copy() |
Modifier and Type | Method and Description |
---|---|
(package private) Message |
MUTube.createMUSOAPFaultMessage(Set<QName> notUnderstoodHeaders)
This should be used only in ServerMUPipe
|
Message |
VersionMismatchException.getFaultMessage() |
Message |
MessageCreationException.getFaultMessage() |
Modifier and Type | Method and Description |
---|---|
Message |
MessageProviderArgumentBuilder.getParameter(Packet packet) |
protected abstract Message |
ProviderArgumentsBuilder.getResponseMessage(Exception e)
Creates a fault
Message from method invocation's exception |
protected Message |
MessageProviderArgumentBuilder.getResponseMessage(Exception e) |
protected Message |
MessageProviderArgumentBuilder.getResponseMessage(Message returnValue) |
protected abstract Message |
ProviderArgumentsBuilder.getResponseMessage(T returnValue) |
Modifier and Type | Method and Description |
---|---|
protected Message |
MessageProviderArgumentBuilder.getResponseMessage(Message returnValue) |
Modifier and Type | Method and Description |
---|---|
abstract Message |
EndpointResponseMessageBuilder.createMessage(Object[] methodArgs,
Object returnValue) |
Message |
TieHandler.createResponse(JavaCallInfo call) |
Modifier and Type | Method and Description |
---|---|
abstract void |
MessageFiller.fillIn(Object[] methodArgs,
Object returnValue,
Message msg)
Moves an argument of a method invocation into a
Message . |
void |
MessageFiller.Header.fillIn(Object[] methodArgs,
Object returnValue,
Message msg) |
Object[] |
TieHandler.readRequest(Message reqMsg) |
abstract void |
EndpointArgumentsBuilder.readRequest(Message request,
Object[] args)
Reads a request
Message , disassembles it, and moves obtained
Java values to the expected places. |
void |
EndpointArgumentsBuilder.None.readRequest(Message msg,
Object[] args) |
void |
EndpointArgumentsBuilder.NullSetter.readRequest(Message msg,
Object[] args) |
void |
EndpointArgumentsBuilder.Composite.readRequest(Message msg,
Object[] args) |
void |
EndpointArgumentsBuilder.AttachmentBuilder.readRequest(Message msg,
Object[] args) |
void |
EndpointArgumentsBuilder.Header.readRequest(Message msg,
Object[] args) |
void |
EndpointArgumentsBuilder.Body.readRequest(Message msg,
Object[] args) |
void |
EndpointArgumentsBuilder.DocLit.readRequest(Message msg,
Object[] args) |
void |
EndpointArgumentsBuilder.RpcLit.readRequest(Message msg,
Object[] args) |
protected void |
EndpointArgumentsBuilder.readWrappedRequest(Message msg,
Object[] args) |
Modifier and Type | Field and Description |
---|---|
Message |
DispatchException.fault |
Constructor and Description |
---|
DispatchException(Message fault) |
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.