Added WsdlDefinitionHttpHandler for Java 6 HTTP server.

This commit is contained in:
Arjen Poutsma
2008-02-24 03:28:09 +00:00
parent 249a5a8309
commit 8c555819ae
9 changed files with 98 additions and 16 deletions

View File

@@ -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())) {

View File

@@ -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;
}

View File

@@ -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);