From a1f1717d03f390d35537816f7d9a7734b3045aee Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Tue, 9 Jun 2009 14:16:18 +0000 Subject: [PATCH] added JAX-WS workaround for WebLogic 10.3 (SPR-5771) --- .../remoting/jaxws/SimpleJaxWsServiceExporter.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org.springframework.web/src/main/java/org/springframework/remoting/jaxws/SimpleJaxWsServiceExporter.java b/org.springframework.web/src/main/java/org/springframework/remoting/jaxws/SimpleJaxWsServiceExporter.java index 8ddf4b63b7..aa4cd267e1 100644 --- a/org.springframework.web/src/main/java/org/springframework/remoting/jaxws/SimpleJaxWsServiceExporter.java +++ b/org.springframework.web/src/main/java/org/springframework/remoting/jaxws/SimpleJaxWsServiceExporter.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2008 the original author or authors. + * Copyright 2002-2009 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -65,6 +65,10 @@ public class SimpleJaxWsServiceExporter extends AbstractJaxWsServiceExporter { @Override protected void publishEndpoint(Endpoint endpoint, WebService annotation) { String fullAddress = this.baseAddress + annotation.serviceName(); + if (endpoint.getClass().getName().startsWith("weblogic.")) { + // Workaround for WebLogic 10.3 + fullAddress = fullAddress + "/"; + } endpoint.publish(fullAddress); }