Methods Summary |
---|
public java.lang.String | getAction()
String result = null;
if (hdrList != null && ADDRESSING_VERSION != null && SOAP_VERSION != null) {
result = hdrList.getAction(ADDRESSING_VERSION, SOAP_VERSION);
}
return result;
|
public com.sun.xml.ws.api.message.Header | getCoordCtxHeader()Get the CoordinationContext Header Element from the underlying
JAX-WS message's HeaderList. Only understand the header iff CoordinationContext is
for coordinationType.
if (ccHdr == null) {
if (hdrList != null) {
ccHdr = hdrList.get(WSCOOR_SOAP_NSURI, COORDINATION_CONTEXT, false);
/*
* Note: include when supporting OASIS WS-TX
* don't check for it since it will be a must understand soap header,
* must understand header processing should flag it is not processed.
if (ccHdr == null) {
hdrList.get(Constants.WSAT_OASIS_NSURI, COORDINATION_CONTEXT, true);
....
}
*/
}
}
return ccHdr;
|
public com.sun.xml.ws.api.message.Header | getCoordCtxHeader(java.lang.String namespace, java.lang.String localName)Get the CoordinationContext Header Element from the underlying
JAX-WS message's HeaderList. Only understand the header iff CoordinationContext is
for coordinationType.
if (ccHdr == null && coreMessage != null) {
ccHdrIndex = NOT_FOUND;
final int len = hdrList.size();
for (int i = 0; i < len; i++) {
final Header h = hdrList.get(i);
if (h.getLocalPart().equals(localName) && h.getNamespaceURI().equals(namespace)) {
ccHdrIndex = i;
ccHdr = h;
break;
}
}
}
return ccHdr;
|
public com.sun.xml.ws.tx.coordinator.CoordinationContextInterface | getCoordinationContext(javax.xml.bind.Unmarshaller unmarshaller)
if (cc == null) {
final Header ccHdr = getCoordCtxHeader(WSCOOR_SOAP_NSURI, COORDINATION_CONTEXT);
if (ccHdr != null) {
try {
cc = CoordinationContextBase.createCoordinationContext(ccHdr.readAsJAXB(unmarshaller));
} catch (JAXBException e) {
logger.warning("getCoordinationContext", LocalizationMessages.CANNOT_UNMARSHAL_CONTEXT_2000(e.getLocalizedMessage()));
throw e;
}
}
}
return cc;
|
public com.sun.xml.ws.api.addressing.WSEndpointReference | getFaultTo()
WSEndpointReference result = null;
if (hdrList != null && ADDRESSING_VERSION != null && SOAP_VERSION != null) {
result = hdrList.getFaultTo(ADDRESSING_VERSION, SOAP_VERSION);
}
return result;
|
public java.lang.String | getMessageID()
String result = null;
if (hdrList != null && ADDRESSING_VERSION != null && SOAP_VERSION != null) {
result = hdrList.getMessageID(ADDRESSING_VERSION, SOAP_VERSION);
}
return result;
|
public com.sun.xml.ws.api.model.wsdl.WSDLBoundOperation | getOperation(com.sun.xml.ws.api.model.wsdl.WSDLPort port)Get the wsdl bound operation for the specified port
return coreMessage.getOperation(port);
|
public com.sun.xml.ws.api.addressing.WSEndpointReference | getReplyTo()
WSEndpointReference result = null;
if (hdrList != null&& ADDRESSING_VERSION != null && SOAP_VERSION != null) {
result = hdrList.getReplyTo(ADDRESSING_VERSION, SOAP_VERSION);
}
return result;
|
public java.lang.String | getTo()
String result = null;
if (hdrList != null && ADDRESSING_VERSION != null && SOAP_VERSION != null) {
result = hdrList.getTo(ADDRESSING_VERSION, SOAP_VERSION);
}
return result;
|
public void | setCoordCtxUnderstood()Denote that CoordinationContext SOAP Header was processed and considered understood.
if (ccHdr != null && ccHdrIndex != NOT_FOUND) {
coreMessage.getHeaders().understood(ccHdrIndex);
}
|