axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/site/src/documentation/content/xdocs/java reference.ihtml
Date Thu, 04 Nov 2004 13:38:12 GMT
dims        2004/11/04 05:38:12

  Modified:    java/src/org/apache/axis/providers BasicProvider.java
               java/docs reference.html
               site/src/documentation/content/xdocs/java reference.ihtml
  Log:
  Fix for:
  AXIS-1406 - No extraClasses option for wsdd
  
  from:
  AJ Banck (ajbanck@informatica.com)
  
  Revision  Changes    Path
  1.23      +7 -1      ws-axis/java/src/org/apache/axis/providers/BasicProvider.java
  
  Index: BasicProvider.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/providers/BasicProvider.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- BasicProvider.java	20 Jun 2004 21:26:39 -0000	1.22
  +++ BasicProvider.java	4 Nov 2004 13:38:12 -0000	1.23
  @@ -48,6 +48,7 @@
       public static final String OPTION_WSDL_TARGETNAMESPACE = "wsdlTargetNamespace";
       public static final String OPTION_WSDL_INPUTSCHEMA = "wsdlInputSchema";
       public static final String OPTION_WSDL_SOAPACTION_MODE = "wsdlSoapActionMode";
  +    public static final String OPTION_EXTRACLASSES = "extraClasses";
   
       protected static Log log =
               LogFactory.getLog(BasicProvider.class.getName());
  @@ -213,6 +214,7 @@
               String wsdlServicePort = (String) service.getOption(OPTION_WSDL_SERVICEPORT);
               String wsdlInputSchema = (String) service.getOption(OPTION_WSDL_INPUTSCHEMA);
               String wsdlSoapActinMode = (String) service.getOption(OPTION_WSDL_SOAPACTION_MODE);
  +            String extraClasses = (String) service.getOption(OPTION_EXTRACLASSES);
   
               if (wsdlPortType != null && wsdlPortType.length() > 0) {
                   emitter.setPortTypeName(wsdlPortType);
  @@ -229,7 +231,11 @@
               if (wsdlSoapActinMode != null && wsdlSoapActinMode.length() > 0)
{
                   emitter.setSoapAction(wsdlSoapActinMode);
               }
  -            
  +
  +            if (extraClasses != null && extraClasses.length() > 0) {
  +                emitter.setExtraClasses(extraClasses);
  +            }
  +
               if (msgContext.isPropertyTrue(AxisEngine.PROP_EMIT_ALL_TYPES)) {
                   emitter.setEmitAllTypes(true);
               }
  
  
  
  1.38      +5 -0      ws-axis/java/docs/reference.html
  
  Index: reference.html
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/docs/reference.html,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- reference.html	25 May 2004 20:44:32 -0000	1.37
  +++ reference.html	4 Nov 2004 13:38:12 -0000	1.38
  @@ -586,6 +586,11 @@
           this service. (Note that these are security roles, as opposed to SOAP 
           roles. Security roles control access, SOAP roles control which SOAP headers 
           are processed.)</li>
  +      <li><b>extraClasses</b> : Specify a space or comma seperated list
of class 
  +        names which should be included in the <b>types</b> section of the WSDL
document. 
  +        This is useful in the case where your service interface references a base class
  +        and you would like your WSDL to contain XML Schema type defintions for these other
classes.
  +      </li>
       </ul>
       <p> If you wish to define handlers which should be invoked either before or 
         after the service's provider, you may do so with the <b>&lt;requestFlow&gt;</b>

  
  
  
  1.9       +5 -0      ws-axis/site/src/documentation/content/xdocs/java/reference.ihtml
  
  Index: reference.ihtml
  ===================================================================
  RCS file: /home/cvs/ws-axis/site/src/documentation/content/xdocs/java/reference.ihtml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- reference.ihtml	22 Oct 2004 10:49:15 -0000	1.8
  +++ reference.ihtml	4 Nov 2004 13:38:12 -0000	1.9
  @@ -766,6 +766,11 @@
     allowed to access this service (Note that these are security roles,
     as opposed to SOAP roles. Security roles control access, SOAP roles
     control which SOAP headers are processed.) <BR></LI>
  +  <LI><B>extraClasses</B> : Specify a space or comma seperated list of
class 
  +    names which should be included in the <B>types</B> section of the WSDL
document. 
  +    This is useful in the case where your service interface references a base class
  +    and you would like your WSDL to contain XML Schema type defintions for these other
classes.
  +  </LI>
      </UL><BR>
      If you wish to define handlers which should be invoked either
      before or after the service's provider, you may do so with
  
  
  

Mime
View raw message