WebObjects 5.4.2

com.webobjects.webservices.generation
Class WOOperationWSDLTemplate

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

public class WOOperationWSDLTemplate
extends WOComponent

This component is used to dynamically generate WSDL based on D2WContext information for an operation. The portions of the WSDL specific to the operationName defined in this template's D2WContext are added to the WSDL generated for the service the operation is part of.

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
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
KeyPathSeparator
 
Constructor Summary
WOOperationWSDLTemplate(WOContext context)
           
 
Method Summary
 D2WContext d2wContext()
          Returns the template's D2WContext.
 NSArray inputPartNames()
          Returns the operation's input part names.
 String operationInputName()
          Returns the local part of the operation input message name.
 String operationName()
          Returns the operation name.
 String operationOutputName()
          Returns the local part of the operation output message name.
 String operationTypesSchema()
          Returns the content that will be added the WSDL types element of the service this operation is grouped in.
 String otherNamespaces()
          Returns the additional namespace attributes that will be added the WSDL defenition element of the service this operation is grouped in.
 String parameterOrder()
          Returns the value of the WSDL parameterOrder attribute for the operation definition.
 String partName()
          Accessor for partName.
 String partType()
          Returns the value of the type attribute for the input part identified by the name of the current argument name reflected in partName().
 String serviceLocationURL()
          Returns the location URL of the soap:address element of the WSDL generated for the service this operation is grouped in.
 void setD2wContext(D2WContext context)
          Sets the template's D2WContext.
 void setInputPartNames(NSArray names)
          Sets the input part names.
 void setOperationName(String newOperationName)
          Sets the operation name.
 void setOperationTypesSchema(String newOperationTypesSchema)
          Sets the content that will be added the WSDL types element of the service this operation is grouped in.
 void setOtherNamespaces(String newOtherNamespaces)
          Sets the additional namespace attributes that will be added the WSDL defenition element of the service this operation is grouped in.
 void setPartName(String newPartName)
          Accessor for partName.
 void setServiceLocationURL(String newServiceLocationURL)
          Sets the location URL of the soap:address element of the WSDL generated for the service this operation is grouped in.
 void setTargetNamespace(String newTargetNamespace)
          Sets the target namespace string for this operation's definitions.
 String targetNamespace()
          Returns the target namespace string for this operation's definitions.
 String tnsOperationInputName()
          Returns the operation input message name.
 String tnsOperationOutputName()
          Returns the operation output message name.
 
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
 

Constructor Detail

WOOperationWSDLTemplate

public WOOperationWSDLTemplate(WOContext context)
Method Detail

d2wContext

public D2WContext d2wContext()
Returns the template's D2WContext.

Parameters:
this - template's D2WContext

setD2wContext

public void setD2wContext(D2WContext context)
Sets the template's D2WContext.

Parameters:
context - this template's D2WContext

operationTypesSchema

public String operationTypesSchema()
Returns the content that will be added the WSDL types element of the service this operation is grouped in.

Returns:
the types content relevant to this operation

setOperationTypesSchema

public void setOperationTypesSchema(String newOperationTypesSchema)
Sets the content that will be added the WSDL types element of the service this operation is grouped in.

Parameters:
newOperationTypesSchema - the types content relevant to this operation

otherNamespaces

public String otherNamespaces()
Returns the additional namespace attributes that will be added the WSDL defenition element of the service this operation is grouped in.

Returns:
the namespace attributes relevant to this operation

setOtherNamespaces

public void setOtherNamespaces(String newOtherNamespaces)
Sets the additional namespace attributes that will be added the WSDL defenition element of the service this operation is grouped in.

Parameters:
newOtherNamespaces - the namespace attributes relevant to this operation

serviceLocationURL

public String serviceLocationURL()
Returns the location URL of the soap:address element of the WSDL generated for the service this operation is grouped in. This is only used when freezing WSDL for an operation.

Returns:
the location URL for the service this oepration is grouped in

setServiceLocationURL

public void setServiceLocationURL(String newServiceLocationURL)
Sets the location URL of the soap:address element of the WSDL generated for the service this operation is grouped in. This is only used when freezing WSDL for an operation.

Parameters:
newServiceLocationURL - the location URL for the service this oepration is grouped in

targetNamespace

public String targetNamespace()
Returns the target namespace string for this operation's definitions.

Returns:
the target namespace string for this operation's definitions

setTargetNamespace

public void setTargetNamespace(String newTargetNamespace)
Sets the target namespace string for this operation's definitions.

Parameters:
newTargetNamespace - the target namespace string for this operation's definitions

operationName

public String operationName()
Returns the operation name.

Returns:
the operation name

setOperationName

public void setOperationName(String newOperationName)
Sets the operation name.

Parameters:
newOperationName - the new operation name

inputPartNames

public NSArray inputPartNames()
Returns the operation's input part names.

Returns:
array of input part names

setInputPartNames

public void setInputPartNames(NSArray names)
Sets the input part names.

Parameters:
names - the new operation's input parts

operationInputName

public String operationInputName()
Returns the local part of the operation input message name.

Returns:
the local part of the operation input message name

operationOutputName

public String operationOutputName()
Returns the local part of the operation output message name.

Returns:
the local part of the operation output message name

tnsOperationInputName

public String tnsOperationInputName()
Returns the operation input message name.

Returns:
the operation input message name

tnsOperationOutputName

public String tnsOperationOutputName()
Returns the operation output message name.

Returns:
the operation output message name

partType

public String partType()
Returns the value of the type attribute for the input part identified by the name of the current argument name reflected in partName().

Returns:
the value of the type attribute for partName
See Also:
WOOperationWSDLTemplate.partName()

parameterOrder

public String parameterOrder()
Returns the value of the WSDL parameterOrder attribute for the operation definition. This is a space delimited array of string input part names.

Returns:
space delimited array of operation parameters

partName

public String partName()
Accessor for partName.

Returns:
partName

setPartName

public void setPartName(String newPartName)
Accessor for partName.

Parameters:
newPartName - new part name

Last updated June 2008

Copyright © 2000-2008 Apple Inc.