Using the Database Binding Component

ProcedureTo Edit the SQL

  1. Double-click the created WSDL Document.

    For example, dbWSDL.wsdl

    The WSDL Editor is opened.

  2. Expand Bindings —> binding PortType=”jdbcPortype”.

    For instance, you want to perform a find operation.

  3. Select and expand find from the list.

    Expand inputFind and click jdbc:input.

  4. Select sql from Properties.

    Modify the SQL Statement.

  5. Click ellipses (...).

    This opens the jdbc:input — sql editor.

    Make the necessary changes.

    For example,


    select PHONE, STATE, NAME, ZIP, ADDRESSLINE1, ADDRESSLINE2, CREDIT_LIMIT,

    EMAIL, CUSTOMER_ID, CITY, FAX, DISCOUNT_CODE

    from CUSTOMER where NAME=? and CUSTOMER_ID=?
    Structured Query Language File
  6. Click OK.

  7. Click the paramOrder from Properties and enter the values.

    For example, you want to find for NAME and CUSTOMER_ID. Enter the parameter order of the result.

    jdbc input
See Also

WSDL View

Some of the nodes in the WSDL view allow you to add extension attributes.

The Source view appears with the cursor positioned at the beginning of the component's block.