Class WebServiceProp

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, IExecuteWebService, Cloneable
Direct Known Subclasses:

public class WebServiceProp extends PropCnr implements IExecuteWebService
Web Service property container holding the definition of a web service transaction.
Christopher Mindus
  • Constructor Details

    • WebServiceProp

      public WebServiceProp()
      Creates the style property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • WebServiceProp

      public WebServiceProp(Atom propertyAtom)
      Creates the style property container with the specified name. All system-reserved names for components begins with "$".
      propertyAtom - the name of the component, unique within it's parent.
  • Method Details

    • addPredefinedProps

      protected void addPredefinedProps() throws PropException
      Adds the predefined properties for this container. This method is called once just after construction of the property container.

      Properties added:

        - InputProps as Atom.INPUT

      addPredefinedProps in class PropCnr
      PropException - for property exceptions.
    • getPredefinedProps

      protected void getPredefinedProps()
      Gets potential references to predefined properties for this container. This method is called once just after cloning of the property container.

      The method should get reference to using the getProp(...) methods. This allows the subclass to be able to retrieve the new instances to the properties created during addPredefinedProps() if stored in instance variables.

      getPredefinedProps in class PropCnr
    • clone

      public WebServiceProp clone()
      Clones the property.
      clone in class PropCnr
    • getInput

      public AbstractInputProps getInput()
      Gets the input property.
      The input instance.
    • createOutput

      protected OutputProps createOutput()
      Creates the output properties.
    • getOutput

      public OutputProps getOutput()
      Gets the output property.
      The output instance.
    • doExecute

      Executes the Web Service request.
      Specified by:
      doExecute in interface IExecuteWebService
      appGyro - The application session gyro, null for Designer.
      doPerform - Execution flag when true, test when false.
      The contents reply instance, or null when testing.
      PropException - For property errors.
      IOException - For I/O errors.
      UnsupportedEncodingException - For unsupported encodings.
      URISyntaxException - When URI syntax is invalid.