Editing a Service Operation Parameter

Define an operation parameter for each service operation in a service.

  1. Select the parameter in the Operation Parameters section of the Service Interface page.

    The Properties section of the editor displays the operation parameter properties.

  2. Enter or update the following:
    Table 1. Parameter properties
    Property Action
    Name Enter a unique and descriptive name for the parameter. It is recommended that the parameter name match the root element of the xsd if you are defining a complex type parameter.
    Description Enter a description of the parameter, and identify it as an input. Output parameters and fault parameters are not applicable to a message service.
    Style Choose from the following:
    • Input
    • Output
    • Fault
    Datatype

    Choose from the following:


    • Click Simple Type and select an option from the drop-down list.
    • Click Complex Type, click Browse for Schema, and browse to select the appropriate root element.

      The Complex type field displays the location and name of the xsd and the root element.

      For example: "/myxsdfiles/CustomerNS.xsd#//xsd:schema[@targetNamespace='www.myNS.com']/xsd:element[@name='Customer']" , where CustomerNS.xsd is the xsd file name and Customer is the element name.

    Note: If you cannot locate the schema, verify that it has been imported into the project. You must import the schema (.xsd file) as a file system resource for the project.
  3. Save the service.
Related concepts
Service Operations

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.