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 07:04:15 GMT
damitha     2004/08/05 00:04:14

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info Tag:
                        NamespaceTesting_branch Type.java
  Log:
  bug fixes - due to latest axis jars
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.13.16.2 +6 -4      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.13.16.1
  retrieving revision 1.13.16.2
  diff -u -r1.13.16.1 -r1.13.16.2
  --- Type.java	3 Aug 2004 05:20:39 -0000	1.13.16.1
  +++ Type.java	5 Aug 2004 07:04:14 -0000	1.13.16.2
  @@ -153,6 +153,10 @@
    */
       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);
  @@ -177,10 +181,8 @@
   		String attribName = TypeMap.resoleveWSDL2LanguageNameClashes(element.getName().getLocalPart(),this.language);
   		if (attribName.lastIndexOf('>') > 1 )
   		{
  -			 attribName=attribName.substring(attribName.lastIndexOf('>')+1,attribName.length());
  -		         System.out.println(attribName+"   attribute Name ");
  -		}
  -		
  +		    attribName=attribName.substring(attribName.lastIndexOf('>')+1,attribName.length());
  +		}		
   		if (hasOrder)
   			this.attribOrder.add(attribName);
   		this.elements.put(attribName, element);
  
  
  

Mime
View raw message