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 ad...@apache.org on 2002/10/16 20:20:14 UTC

cvs commit: xml-axis-wsil/java/src/org/apache/wsil WSILDocument.java

adasilva    2002/10/16 11:20:14

  Modified:    java/src/org/apache/wsil WSILDocument.java
  Log:
  read(URL url) now invokes url.openStream() instead of url.getContent().
  
  Revision  Changes    Path
  1.2       +2 -2      xml-axis-wsil/java/src/org/apache/wsil/WSILDocument.java
  
  Index: WSILDocument.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsil/java/src/org/apache/wsil/WSILDocument.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WSILDocument.java	6 Jun 2002 18:01:21 -0000	1.1
  +++ WSILDocument.java	16 Oct 2002 18:20:14 -0000	1.2
  @@ -303,8 +303,8 @@
         // Save the URL passed
         documentURL = url.toString();
   
  -      // Get the content as an input stream
  -      InputStream is = (InputStream) url.getContent();
  +      // Open input stream
  +      InputStream is = (InputStream) url.openStream();
               
         // Read the WS-Inspection document
         read(new InputStreamReader(is));