org.apache.geronimo.ews.ws4j2ee.toWs.ws
Class WSDLOnlyClientSideWsGenerator

java.lang.Object
  extended byorg.apache.geronimo.ews.ws4j2ee.toWs.ws.WSDLOnlyClientSideWsGenerator
All Implemented Interfaces:
Generator

public class WSDLOnlyClientSideWsGenerator
extends java.lang.Object
implements Generator

This genarated the Client side SEI and other classes required in the Axis.

*

Service Endpoint Interface

The JAX-RPC specification requires that a JAX-RPC service endpoint interface must follow the following rules:

  1. Service endpoint interface must extend java.rmi.Remote either directly or indirectly
  2. All methods in the interface must throw java.rmi.RemoteException. Methods may throw service specific exceptions in addition to the RemoteException.
  3. Method parameters and return types must be the JAX-RPC supported Java types (refer to the section 5.1, ?JAX-RPC Supported Java Types?). At runtime, values of a supported Java type must be serializable to and from the corresponding XML representation.
  4. Holder classes may be used as method parameters. These Holder classes are either generated or those packaged in the standard javax.xml.rpc.holders package.
  5. Service endpoint interface must not include constant (as public final static) declarations. WSDL 1.1 specification does not define any standard representation for constants in a wsdl:portType definition.

Author:
Srinath Perera(hemapani@opensource.lk)

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
WSDLOnlyClientSideWsGenerator(J2EEWebServiceContext j2eewscontext)
           
WSDLOnlyClientSideWsGenerator(java.lang.String wsdlFile, java.lang.String outputDir)
           
 
Method Summary
 void generate()
          at the call of the genarate method the Genarator will genarate what it is suppose to be genarate.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

WSDLOnlyClientSideWsGenerator

public WSDLOnlyClientSideWsGenerator(J2EEWebServiceContext j2eewscontext)
                              throws GenerationFault

WSDLOnlyClientSideWsGenerator

public WSDLOnlyClientSideWsGenerator(java.lang.String wsdlFile,
                                     java.lang.String outputDir)
                              throws GenerationFault
Method Detail

generate

public void generate()
              throws GenerationFault
Description copied from interface: Generator

at the call of the genarate method the Genarator will genarate what it is suppose to be genarate. Usally the Genarator is a assembly of One or more writers.

Specified by:
generate in interface Generator
Throws:
GenerationFault

main

public static void main(java.lang.String[] args)
                 throws GenerationFault
Throws:
GenerationFault


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.