You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by am...@apache.org on 2008/10/05 16:48:02 UTC

svn commit: r701804 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/AxisService.java

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