org.objectweb.proactive.ext.webservices.wsdl
Class WSDLGenerator

java.lang.Object
  extended by org.objectweb.proactive.ext.webservices.WSConstants
      extended by org.objectweb.proactive.ext.webservices.wsdl.WSDLGenerator

public class WSDLGenerator
extends WSConstants

Author:
vlegrand

Field Summary
 
Fields inherited from class org.objectweb.proactive.ext.webservices.WSConstants
COMPONENT_INTERFACE, disallowedMethods, DOCUMENTATION, PROACTIVE_PROVIDER, PROACTIVE_STUB, ROUTER, supportedTypes, URL_PUBLICATION, WSDL_FILE
 
Constructor Summary
WSDLGenerator()
           
 
Method Summary
static java.lang.String getWSDL(java.lang.Class c, java.lang.String serviceName, java.lang.String urlRouter, java.lang.String documentation, java.lang.String[] methods)
          Generates the WSDL document associate with an active object exposed as a web service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLGenerator

public WSDLGenerator()
Method Detail

getWSDL

public static java.lang.String getWSDL(java.lang.Class c,
                                       java.lang.String serviceName,
                                       java.lang.String urlRouter,
                                       java.lang.String documentation,
                                       java.lang.String[] methods)
Generates the WSDL document associate with an active object exposed as a web service

Parameters:
c - The class object that we want to obtain WSDL
serviceName - The name of the service (urn)
urlRouter - The url where the service can be accessed
documentation - The Documentation of the service
methods - The public methods allowed for this service
Returns:
a String containing the Wsdl document.


Copyright 2001-2007 INRIA All Rights Reserved.