juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svi...@apache.org
Subject cvs commit: ws-juddi/webapp uddiget.jsp
Date Wed, 02 Mar 2005 03:37:13 GMT
sviens      2005/03/01 19:37:13

  Modified:    webapp   uddiget.jsp
  Log:
  JSP uddiget.jsp was no longer writing XML correctly.  Issue eliminated by replacing use
of XMLUtil.write(Element,OutputStream) with out.println(XMLUtil.toString(Element)).
  
  Revision  Changes    Path
  1.3       +4 -4      ws-juddi/webapp/uddiget.jsp
  
  Index: uddiget.jsp
  ===================================================================
  RCS file: /home/cvs/ws-juddi/webapp/uddiget.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- uddiget.jsp	2 Jul 2004 12:41:04 -0000	1.2
  +++ uddiget.jsp	2 Mar 2005 03:37:13 -0000	1.3
  @@ -114,7 +114,7 @@
   	      		"did not match with any known Business Entities.");
   	
   	      Element element = getElement(object);
  -	      XMLUtils.writeXML(element,out);
  +	      out.print(XMLUtils.toString(element));
   	    }
   	    	
   	    String serviceKey = request.getParameter("servicekey");
  @@ -126,7 +126,7 @@
   	      		"did not match with any known Business Services.");
   	      	
   	      Element element = getElement(object);
  -	      XMLUtils.writeXML(element,out);
  +	      out.print(XMLUtils.toString(element));
   	    }
   	
   	    String bindingKey = request.getParameter("bindingkey");
  @@ -138,7 +138,7 @@
   	      		"specified did not match with any known Binding Templates.");
   	
   	      Element element = getElement(object);
  -	      XMLUtils.writeXML(element,out);
  +	      out.print(XMLUtils.toString(element));
   	    }
   		
   	    String tModelKey = request.getParameter("tmodelkey");
  @@ -150,7 +150,7 @@
   	      		"did not match with any known TModels.");
   	
   	      Element element = getElement(object);
  -	      XMLUtils.writeXML(element,out);
  +	      out.print(XMLUtils.toString(element));
   	    }
   		}
   		catch(RegistryException regex)
  
  
  

Mime
View raw message