|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.ogsa.WSDLGenerator
The WSDLGenerator generates a WSDL document (GSR) for a given
service and a schema template.
The protocol of the exposed service is taken from the WSDL template. The
port is resolved in the following order:
| Constructor Summary | |
WSDLGenerator()
|
|
| Method Summary | |
static void |
clearCache(ServiceProperties properties)
clears the WSDL meta data cache to make sure that the next WSDL generation will result in the template being fetched again |
static void |
getInstanceWSDL(GridServiceBase properties)
generates the WSDL definition for the instances created by a service and sets it in the ServiceProperties.INSTANCE_WSDL property of
the same service. |
static void |
getPortTypes(Definition wsdlDefinition,
java.util.Vector portTypes)
gets QNames of all WSDL PortTypes in a WSDL definition, including all of its imported definitions |
static void |
getWSDL(ServiceProperties properties)
generates the WSDL definition for a service and sets it in the ServiceProperties.WSDL property of the same
service |
static void |
getWSDL(java.lang.String wsdlPath,
java.lang.String servicePath,
ServiceProperties properties)
generates the WSDL definition for a service and sets it in the ServiceProperties.WSDL property of the same
service |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WSDLGenerator()
| Method Detail |
public static void getWSDL(ServiceProperties properties)
throws GridServiceException
ServiceProperties.WSDL property of the same
service
properties - service properties of a service for which a new WSDL
definition should be generated
GridServiceException - if the WSDL could not be generated
public static void getInstanceWSDL(GridServiceBase properties)
throws GridServiceException
ServiceProperties.INSTANCE_WSDL property of
the same service. The instance WSDL can later be used as a cahce from
which WSDL for the individual service instance can be constructed
properties - Grid service for which instances a new WSDL
definition should be generated
GridServiceException - if the WSDL could not be generated
public static void getWSDL(java.lang.String wsdlPath,
java.lang.String servicePath,
ServiceProperties properties)
throws GridServiceException
ServiceProperties.WSDL property of the same
service
wsdlPath - the path where the template schema of the service can be
found, for example the schemaPath configuration propertyservicePath - path in the internal registry where the service is
deployedproperties - service properties of a service for which a new WSDL
definition should be generated
GridServiceException - if the WSDL could not be generatedpublic static void clearCache(ServiceProperties properties)
properties - properties of service for which the relevant caches
should be cleared
public static void getPortTypes(Definition wsdlDefinition,
java.util.Vector portTypes)
wsdlDefinition - wsdl definition to be searched for portType
definitionsportTypes - vector to be populated with QNames of
portTypes found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||