WebObjects 5.4.2

com.webobjects.webservices.generation
Class WOWSDLGeneration

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by com.webobjects.webservices.generation.WOOperation
              extended by com.webobjects.webservices.generation.WOWSDLGeneration
All Implemented Interfaces:
WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, Cloneable

public class WOWSDLGeneration
extends WOOperation

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
static String D2WContextKey
          Key used with takeValueForKey to set the D2WContext of a WSDL generating WOComponent
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
WOWSDLGeneration(WOContext context)
           
 
Method Summary
 Object invoke()
           Returns the result of invoking generateResponse on a WOComponent configured to generate WSDL.
static boolean requiresEntity()
          Returns false since this operation class does not require an entity.
 
Methods inherited from class com.webobjects.webservices.generation.WOOperation
aggregateValuesResult, attributeClassNames, classesForKeyPaths, comparisonKeys, d2wContext, editingContext, gidArgumentKey, inputPartKeyPaths, inputPartNames, inputPartValues, outputPartKeyPaths, outputPartNames, propertyNameForPartName, saveChangesInEditingContext, serializationStrategy, setD2wContext, unspecifiedArgumentKey
 
Methods inherited from class com.webobjects.appserver.WOComponent
appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

D2WContextKey

public static String D2WContextKey
Key used with takeValueForKey to set the D2WContext of a WSDL generating WOComponent

Constructor Detail

WOWSDLGeneration

public WOWSDLGeneration(WOContext context)
Method Detail

requiresEntity

public static boolean requiresEntity()
Returns false since this operation class does not require an entity.

Returns:
false

invoke

public Object invoke()

Returns the result of invoking generateResponse on a WOComponent configured to generate WSDL. First, the name is found for the WOComponent which will generate the service's WSDL. The component name is found by getting the D2WContext value for WOServiceUtilities.RuleSystemConstants.WSDLComponentNameKey. Once found, the component has its D2WContext set by takeValueForKey using D2WContextKey.

Overrides:
invoke in class WOOperation
Returns:
the result of invoking generatResponse on the rule defined WSDL generating WOComponent
See Also:
WOComponent.takeValueForKey(java.lang.Object, java.lang.String)

Last updated June 2008

Copyright © 2000-2008 Apple Inc.