axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ow...@apache.org
Subject cvs commit: xml-axis-wsif/java/samples/clients/addressbook README.txt Main.java
Date Tue, 03 Sep 2002 13:33:58 GMT
owenb       2002/09/03 06:33:58

  Modified:    java/samples/clients/stockquote README.txt Main.java
               java/samples/clients/addressbook README.txt Main.java
  Log:
  Corrected the README instructions and usage messages to make sure that
  users specify the port name and wsdl location
  
  Revision  Changes    Path
  1.2       +10 -1     xml-axis-wsif/java/samples/clients/stockquote/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/samples/clients/stockquote/README.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.txt	6 Jun 2002 08:28:46 -0000	1.1
  +++ README.txt	3 Sep 2002 13:33:57 -0000	1.2
  @@ -3,6 +3,15 @@
   Sample Usage:
   ------------
   
  -java clients.stockquote.Main
  +java clients.stockquote.Main <PortName> <WSDLLocation> [soap|axis]
  +
  +where <PortName> is one of either SOAPPort or JavaPort
  +      <WSDLLocation> is the full path including filename of the Stockquote.wsdl file
  +      [soap|axis] an optional value of soap or axis to specify which provider to use
  +      
  +For example:
  +
  +java clients.stockquote.Main SOAPPort java\samples\stockquote\wsifservice\Stockquote.wsdl
soap
  +
   
   For more documentation see README.html in top level directory.
  
  
  
  1.4       +1 -11     xml-axis-wsif/java/samples/clients/stockquote/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/samples/clients/stockquote/Main.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Main.java	29 Jul 2002 13:39:39 -0000	1.3
  +++ Main.java	3 Sep 2002 13:33:58 -0000	1.4
  @@ -90,7 +90,7 @@
           System.err.println(
               "Usage: java "
                   + Main.class.getName()
  -                + " [ portName [wsdlLocation] ] [soap|axis]");
  +                + " portName wsdlLocation [soap|axis]");
           System.exit(1);
       }
   
  @@ -118,20 +118,10 @@
               && !protocol.equals("axis"))
               usage();
   
  -        //WSIFServiceImpl.addExtensionRegistry(new JavaExtensionRegistry()) ;    
  -        //WSIFServiceImpl.addExtensionRegistry(new FormatExtensionRegistry()) ;       

  -        //WSIFServiceImpl.addExtensionRegistry(new JmsExtensionRegistry()) ;
  -
  -        //WSIFServiceImpl.setDynamicWSIFProvider(
  -        //  "http://schemas.xmlsoap.org/wsdl/java/", new WSIFDynamicProvider_Java()) ;
  -
           if (protocol.equals("axis"))
               WSIFPluggableProviders.overrideDefaultProvider(
                   "http://schemas.xmlsoap.org/wsdl/soap/",
                   new WSIFDynamicProvider_ApacheAxis());
  -        //else 
  -        //  WSIFServiceImpl.setDynamicWSIFProvider(
  -        //    "http://schemas.xmlsoap.org/wsdl/soap/", new WSIFDynamicProvider_ApacheAxis());
   
           WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
               WSIFService service = factory.getService(wsdlLocation, null, // serviceNS
  
  
  
  1.2       +11 -3     xml-axis-wsif/java/samples/clients/addressbook/README.txt
  
  Index: README.txt
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/samples/clients/addressbook/README.txt,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README.txt	6 Jun 2002 08:28:46 -0000	1.1
  +++ README.txt	3 Sep 2002 13:33:58 -0000	1.2
  @@ -1,10 +1,18 @@
   This is a simple test client that populates and queries an address book
   residing on a server. 
  -(This was taken from ApacheSOAP 2.2 and modified so that the namespaces match.)
   
   Sample Usage:
   ------------
   
  -java clients.addressbook.Main 
  +java clients.addressbook.Main <PortName> <WSDLLocation> [soap|axis]
   
  -For more documentation see README.html in top level directory.
  +where <PortName> is one of either SOAPPort or JavaPort
  +      <WSDLLocation> is the full path including filename of the AddressBook.wsdl
file
  +      [soap|axis] an optional value of soap or axis to specify which provider to use
  +      
  +For example:
  +
  +java clients.addressbook.Main SOAPPort java\samples\addressbook\wsifservice\AddressBook.wsdl
soap
  +
  +
  +For more documentation see README.html in top level directory.
  \ No newline at end of file
  
  
  
  1.4       +1 -1      xml-axis-wsif/java/samples/clients/addressbook/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/samples/clients/addressbook/Main.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Main.java	29 Jul 2002 13:39:39 -0000	1.3
  +++ Main.java	3 Sep 2002 13:33:58 -0000	1.4
  @@ -121,7 +121,7 @@
           System.err.println(
               "Usage: java "
                   + Main.class.getName()
  -                + " [ portName [wsdlLocation] ] [soap|axis]");
  +                + " portName wsdlLocation [soap|axis]");
           System.exit(1);
       }
   
  
  
  

Mime
View raw message