WebObjects 5.2

com.webobjects.webservices.generation
Class WOWSDLGeneration

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

public class WOWSDLGeneration
extends WOOperation

See Also:
Serialized Form

Inner classes inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Inner classes inherited from class 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.NSKeyValueCoding
NullValue
 
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, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath
 
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

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)

requiresEntity

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

Last updated Fri Feb 21 13:15:00 PST 2003.

Copyright © 2003 Apple Computer, Inc.