Author: midon
Date: Fri Mar 6 23:24:52 2009
New Revision: 751133
URL: http://svn.apache.org/viewvc?rev=751133&view=rev
Log:
ODE-545: more informative exception message
Modified:
ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java
Modified:
ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java
URL:
http://svn.apache.org/viewvc/ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java?rev=751133&r1=751132&r2=751133&view=diff
==============================================================================
---
ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java
(original)
+++
ode/trunk/axis2/src/main/java/org/apache/ode/axis2/hooks/ODEAxisService.java
Fri Mar 6 23:24:52 2009
@@ -199,9 +199,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;