WebObjects 5.2.3

com.webobjects.webservices.generation
Class WOOperationWSDLTemplate

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

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 inherited from class com.webobjects.appserver.WOComponent
WOComponent.Event
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes inherited from class com.webobjects.foundation.NSValidation
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
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, 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
 

Constructor Detail

WOOperationWSDLTemplate

public WOOperationWSDLTemplate(WOContext context)
Method Detail

d2wContext

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


inputPartNames

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

Returns:
array of input part names

operationInputName

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

Returns:
the local part of the operation input message name

operationName

public String operationName()
Returns the operation name.

Returns:
the operation 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

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

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

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

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:
partName()

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

setD2wContext

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

Parameters:
context - this template's D2WContext

setInputPartNames

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

Parameters:
names - the new operation's input parts

setOperationName

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

Parameters:
newOperationName - the new operation name

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

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

setPartName

public void setPartName(String newPartName)
Accessor for partName.

Parameters:
newPartName - new part name

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

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

targetNamespace

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

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

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

Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.