Defining A Web Service Data Type - 23.1

Spectrum Dataflow Designer Guide

Version
23.1
Language
English
Product name
Spectrum Technology Platform
Title
Spectrum Dataflow Designer Guide
First publish date
2007
Last updated
2024-05-09
Published on
2024-05-09T23:01:03.226155
The Data type name field allows you to control the WSDL (SOAP) and WADL (REST) interfaces for the service you are creating. The name of the Rows element is determined by the name you give this stage in the service, and the name of the Row element is determined by the text you enter here.
Note: For WSDL, both requests and responses are affected, but for WADL only responses are affected.

Prior to naming this stage and entering text in this field, your code might look like this:

<Rows>
     <Row>
          <FirstName>John</FirstName>
          <LastName>Doe</LastName>
     </Row>
     <Row>
          <FirstName>Jane</FirstName>
   	<LastName>Doe></LastName>
     </Row>
</Rows>

After naming this stage and entering text in this field, your code might look like this:

<Names>
     <Name>
          <FirstName>John</FirstName>
          <LastName>Doe</LastName>
     </Name>
     <Name>
          <FirstName>Jane</FirstName>
          <LastName>Doe></LastName>
     </Name>
</Names>