com.sun.xml.ws.tx.common
Class WsaHelper
java.lang.Object
com.sun.xml.ws.tx.common.WsaHelper
public class WsaHelper
- extends java.lang.Object
WS-Addressing helper methods.
Method Summary |
static com.sun.xml.ws.api.addressing.WSEndpointReference |
getFaultTo(javax.xml.ws.WebServiceContext wsContext)
|
static java.lang.String |
getMsgID(javax.xml.ws.WebServiceContext wsContext)
|
static javax.xml.ws.EndpointReference |
getReplyTo(javax.xml.ws.WebServiceContext wsContext)
|
static void |
sendFault(javax.xml.ws.WebServiceContext wsContext,
com.sun.xml.ws.api.SOAPVersion soapVer,
TxFault fault,
java.lang.String message)
|
static void |
sendFault(com.sun.xml.ws.api.addressing.WSEndpointReference faultTo,
javax.xml.ws.EndpointReference replyTo,
com.sun.xml.ws.api.SOAPVersion soapVer,
TxFault fault,
java.lang.String message,
java.lang.String msgID)
Dispatch a fault, adding any necessary headers to 'fault' in the process. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WsaHelper
public WsaHelper()
getMsgID
public static java.lang.String getMsgID(@NotNull
javax.xml.ws.WebServiceContext wsContext)
getReplyTo
public static javax.xml.ws.EndpointReference getReplyTo(@NotNull
javax.xml.ws.WebServiceContext wsContext)
getFaultTo
public static com.sun.xml.ws.api.addressing.WSEndpointReference getFaultTo(@NotNull
javax.xml.ws.WebServiceContext wsContext)
sendFault
public static void sendFault(@Nullable
com.sun.xml.ws.api.addressing.WSEndpointReference faultTo,
@NotNull
javax.xml.ws.EndpointReference replyTo,
@NotNull
com.sun.xml.ws.api.SOAPVersion soapVer,
@NotNull
TxFault fault,
@NotNull
java.lang.String message,
@NotNull
java.lang.String msgID)
- Dispatch a fault, adding any necessary headers to 'fault' in the process.
- Parameters:
faultTo
- replyTo
- soapVer
- fault
- message
- msgID
-
sendFault
public static void sendFault(@NotNull
javax.xml.ws.WebServiceContext wsContext,
@NotNull
com.sun.xml.ws.api.SOAPVersion soapVer,
@NotNull
TxFault fault,
@NotNull
java.lang.String message)