You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by mi...@apache.org on 2009/03/07 00:19:01 UTC

svn commit: r751130 - /ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java

Author: midon
Date: Fri Mar  6 23:19:01 2009
New Revision: 751130

URL: http://svn.apache.org/viewvc?rev=751130&view=rev
Log:
ODE-545: more informative exception message

Modified:
    ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java

Modified: ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java?rev=751130&r1=751129&r2=751130&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java (original)
+++ ode/branches/APACHE_ODE_1.X/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java Fri Mar  6 23:19:01 2009
@@ -207,9 +207,11 @@
     
     public static String extractServiceName(ProcessConf pconf, QName wsdlServiceName, String portName)
             throws AxisFault {
-        String serviceName = parseURLForService(extractEndpointUri(pconf, wsdlServiceName, portName), deriveBaseServiceUri(pconf));
+        String endpointUri = extractEndpointUri(pconf, wsdlServiceName, portName);
+        String derivedUri = deriveBaseServiceUri(pconf);
+        String serviceName = parseURLForService(endpointUri, derivedUri);
         if (serviceName == null) {
-            throw new OdeFault("The soap:address used for service WSDL definition " + wsdlServiceName + " and port "
+            throw new OdeFault("The soap:address "+endpointUri+" used for service " + wsdlServiceName + " and port "
                     + portName + " should be of the form http://hostname:port/ode/processes/myProcessEndpointName");
         }
         return serviceName;