axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r701804 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
Date Sun, 05 Oct 2008 14:48:02 GMT
Author: amilas
Date: Sun Oct  5 07:48:02 2008
New Revision: 701804

URL: http://svn.apache.org/viewvc?rev=701804&view=rev
Log:
fixed the absolute path displaying problem and remove the uncessary Axis2 fault

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java?rev=701804&r1=701803&r2=701804&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java
Sun Oct  5 07:48:02 2008
@@ -918,7 +918,7 @@
 		this.eprs = eprs;
 	}
 
-	public String[] getEPRs() throws AxisFault {
+	public String[] getEPRs() {
 		if (eprs != null && eprs.length != 0) {
 			return eprs;
 		}
@@ -1174,7 +1174,7 @@
         }
     }
 
-    private String getServiceEPR() throws AxisFault {
+    private String getServiceEPR() {
         String serviceEPR = null;
         Parameter parameter = this.getParameter(Constants.Configuration.GENERATE_ABSOLUTE_LOCATION_URIS);
         if ((parameter != null) && JavaUtils.isTrueExplicitly(parameter.getValue()))
{
@@ -2604,7 +2604,7 @@
 
             String newscheamlocation = customSchemaNamePrefix == null ?
                     // use the default mode
-                    (getName() + "?xsd=" + getScheamLocationWithDot(
+                    (this.getServiceEPR() + "?xsd=" + getScheamLocationWithDot(
                             sourceURIToNewLocationMap, s))
                     :
                     // custom prefix is present - add the custom prefix



Mime
View raw message