Author: veithen
Date: Fri Jun  3 21:38:39 2011
New Revision: 1131255

URL: http://svn.apache.org/viewvc?rev=1131255&view=rev
Log:
Added a reference to the WS-I BP in the error message triggered by the 
condition described in AXIS2-5061.

Modified:
    
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java

Modified: 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?rev=1131255&r1=1131254&r2=1131255&view=diff
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
 Fri Jun  3 21:38:39 2011
@@ -1277,7 +1277,7 @@ public class WSDL11ToAxisServiceBuilder 
                         } else {
                             throw new WSDLProcessingException(
                                     "No element type is defined for message " +
-                                    wsdl4jMessage.getQName().getLocalPart());
+                                    wsdl4jMessage.getQName().getLocalPart() + 
" (see WS-I BP 1.0, R2204)");
                         }
                     } else {
                         // user has specified more than one parts with out 
specifing a part in
@@ -1312,8 +1312,8 @@ public class WSDL11ToAxisServiceBuilder 
                                                                              
operation);
                         } else {
                             throw new WSDLProcessingException(
-                                    "No element type is defined for message" +
-                                    wsdl4jMessage.getQName().getLocalPart());
+                                    "No element type is defined for message " +
+                                    wsdl4jMessage.getQName().getLocalPart() + 
" (see WS-I BP 1.0, R2204)");
                         }
                     } else {
                         throw new WSDLProcessingException("Missing part named "


Reply via email to