|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jibx.ws.soap.SoapProtocol
public final class SoapProtocol
Defines a specific version of the SOAP protocol.
Field Summary | |
---|---|
static SoapProtocol |
SOAP1_1
SOAP Version 1.1. |
static String |
SOAPACTION_HEADER
HTTP header field to carry operation name (SOAP 1.1 only). |
Method Summary | |
---|---|
org.jibx.ws.transport.MessageProperties |
buildMessageProperties(String opname,
MessageOptions msgOptions)
Returns message specific properties for an outbound message. |
Client |
createClient(String location,
IBindingFactory factory,
MessageOptions options)
Create a client to connect to a service at the specified location using this protocol. |
org.jibx.ws.process.Processor |
createProcessor()
Returns a processor for this protocol. |
org.jibx.ws.process.Processor |
createProcessor(ExchangeContext exchangeContext)
Returns a processor for this protocol, configured according to the specified exchange context. |
static org.jibx.ws.server.ServiceExceptionHandlerFactory |
getDefaultExceptionHandlerFactory(boolean includeStackTrace)
Creates ServiceExceptionHandler s that send a SOAP fault response message. |
org.jibx.ws.server.MediaTypeMapper |
getMediaTypeMapper()
Returns a mapper for mapping media type code to media types for this protocol. |
String |
getName()
Returns the protocol name. |
String |
getOperationName(org.jibx.ws.transport.InConnection conn)
Get the operation name for a request. |
org.jibx.ws.server.ServiceFactory |
getServiceFactory()
Returns a factory that creates services for this protocol. |
String |
getUri()
Get the appropriate namespace URI. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SOAPACTION_HEADER
public static final SoapProtocol SOAP1_1
Method Detail |
---|
public String getUri()
public org.jibx.ws.process.Processor createProcessor()
createProcessor
in interface Protocol
SoapProcessor
public org.jibx.ws.process.Processor createProcessor(ExchangeContext exchangeContext)
createProcessor
in interface Protocol
exchangeContext
- provides the context for the message exchange that the processor is to perform
SoapProcessor
public Client createClient(String location, IBindingFactory factory, MessageOptions options) throws WsBindingException, WsConfigurationException
createClient
in interface Protocol
location
- the location of the servicefactory
- the factory containing bindings for the outbound and inbound message body. Bindings are only
required for non-empty outbound or inbound bodies. May also be used for protocol specific details. See the
relevant WsClient
subclass for details.options
- options for outbound message
SoapClient
WsBindingException
- if client cannot be created due to an error with the JiBX bindings
WsConfigurationException
- on configuration exception, for instance the location is invalid.public org.jibx.ws.server.ServiceFactory getServiceFactory()
getServiceFactory
in interface Protocol
public String getName()
getName
in interface Protocol
public org.jibx.ws.server.MediaTypeMapper getMediaTypeMapper()
getMediaTypeMapper
in interface Protocol
public org.jibx.ws.transport.MessageProperties buildMessageProperties(String opname, MessageOptions msgOptions) throws WsConfigurationException
buildMessageProperties
in interface Protocol
opname
- operation name (null
if unspecified)msgOptions
- options for media types of the message
WsConfigurationException
- on configuration errorpublic String getOperationName(org.jibx.ws.transport.InConnection conn)
getOperationName
in interface Protocol
conn
- input connection used for request
null
if not suppliedpublic static org.jibx.ws.server.ServiceExceptionHandlerFactory getDefaultExceptionHandlerFactory(boolean includeStackTrace)
ServiceExceptionHandler
s that send a SOAP fault response message.
includeStackTrace
- true
to include the stack trace in the SOAP fault, false
otherwise.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |