Skip to content
Snippets Groups Projects
Commit 9e9fe960 authored by Simon Spinner's avatar Simon Spinner
Browse files

Add port to hostname in WebServiceOutgoingCallInterceptor.

parent 1d041ca8
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,6 @@ import java.net.MalformedURLException;
import java.net.URL;
import java.util.Deque;
import javax.servlet.http.HttpServletRequest;
import javax.xml.namespace.QName;
import javax.xml.ws.handler.MessageContext;
import org.jboss.logging.Logger;
......@@ -67,7 +65,8 @@ public class WebServiceOutgoingCallInterceptor extends GenericSOAPHandler {
application = componentName.substring(0, idx - 1);
componentName = componentName.substring(idx);
}
ComponentRecord component = MonitoringService.INSTANCE.requireComponent(url.getHost(), application, "", componentName);
ComponentRecord component = MonitoringService.INSTANCE
.requireComponent(url.getHost() + ":" + url.getPort(), application, "", componentName);
OperationRecord currentOperation = currentInvocation.requireEndpoint(component, caller.getDeclaringClass().getName(), "http", caller.getName());
// TODO: We currently support only one-way messages. Inbound messages are ignored.
InvocationRecord outgoingInvocation = currentOperation.startInvocation();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment