ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info Type.java
Date Thu, 05 Aug 2004 08:55:45 GMT
damitha     2004/08/05 01:55:45

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info Type.java
  Log:
  bug fix - due to latest axis jars. Eliminating ">" symbol from attributes
  
  Revision  Changes    Path
  1.15      +5 -0      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/Type.java
  
  Index: Type.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/Type.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Type.java	3 Aug 2004 03:21:42 -0000	1.14
  +++ Type.java	5 Aug 2004 08:55:45 -0000	1.15
  @@ -154,6 +154,11 @@
    */
       public void setTypeForAttributeName(String attribName, Type type) {
   		attribName = TypeMap.resoleveWSDL2LanguageNameClashes(attribName,this.language);
  +	        if (attribName.lastIndexOf('>') > 1 )
  +		{
  +		    attribName =attribName.substring(attribName.lastIndexOf('>')+1,attribName.length());
  +                }
  +	 
           if (hasOrder)
               this.attribOrder.add(attribName);
           this.attributes.put(attribName, type);
  
  
  

Mime
View raw message