Added WsdlDefinitionHttpHandler for Java 6 HTTP server.
This commit is contained in:
@@ -46,7 +46,11 @@ public abstract class AbstractActionEndpointMapping extends AbstractAddressingEn
|
||||
}
|
||||
|
||||
protected final Object getEndpointInternal(MessageAddressingProperties map) {
|
||||
Object endpoint = lookupEndpoint(map.getAction());
|
||||
URI action = map.getAction();
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("Looking up endpoint for action [" + action + "]");
|
||||
}
|
||||
Object endpoint = lookupEndpoint(action);
|
||||
if (endpoint != null) {
|
||||
URI endpointAddress = getEndpointAddress(endpoint);
|
||||
if (endpointAddress == null || endpointAddress.equals(map.getTo())) {
|
||||
|
||||
@@ -58,7 +58,7 @@ public class WsAddressing200408 extends AbstractWsAddressingVersion {
|
||||
return NAMESPACE_URI;
|
||||
}
|
||||
|
||||
protected EndpointReference getDefaultReplyTo(EndpointReference from) {
|
||||
protected final EndpointReference getDefaultReplyTo(EndpointReference from) {
|
||||
return from;
|
||||
}
|
||||
|
||||
|
||||
@@ -115,13 +115,8 @@ public class SoapMessageDispatcher extends MessageDispatcher {
|
||||
while (headerIterator.hasNext()) {
|
||||
SoapHeaderElement headerElement = (SoapHeaderElement) headerIterator.next();
|
||||
QName headerName = headerElement.getName();
|
||||
if (logger.isDebugEnabled()) {
|
||||
if (!headerElement.getMustUnderstand()) {
|
||||
logger.debug("Handling header " + headerName);
|
||||
}
|
||||
else {
|
||||
logger.debug("Handling MustUnderstand header " + headerName);
|
||||
}
|
||||
if (headerElement.getMustUnderstand() && logger.isDebugEnabled()) {
|
||||
logger.debug("Handling MustUnderstand header " + headerName);
|
||||
}
|
||||
if (headerElement.getMustUnderstand() && !headerUnderstood(mappedEndpoint, headerElement)) {
|
||||
notUnderstoodHeaderNames.add(headerName);
|
||||
|
||||
Reference in New Issue
Block a user