# Presentation: 276673

## ECHO

**ECHO**

**Client Partner Order Issues**
***Alex Lai***
***January 24, 2007***

## Agenda

**ECHO 9.0 New Features and Changes**
**Data Flow ECHO Order Entry**
**Echo Order Object**
**ECHO 9.0 Web Services API **
**ECHO Old vs. New Order Options Example**
**ECHO Forms Example**

## ECHO 9.0 New Features and Changes

**With the release of ECHO 9.0, the ECHO Legacy API will no longer be available. All ECHO clients using the legacy API will have to use Web Services API instead.**
**All order option related operations MUST go through the Web Services API. **
**Clients will be able to apply order options to more than one catalog item**
**Clients can use a single transaction call to create, validate and submit an order**
**Order Options are now defined using ECHO Forms which replaces the previous order options framework**
**Clients now have the option of submitting requests through SSL certificate**

## Data Flow ECHO Order Entry

**Data Flow ECHO Order Entry**

## ECHO Order Object

## ECHO 9.0 Web Services API: OrderManagementService API

- Create Order

- Add Order Items

**ECHO 9.0 Web Services API: OrderManagementService API**

**Client applications build an order using the Order Management Service The Order Management Service allows users to build and submit orders from data providers registered in ECHO. **

- Get Catalog Item Order Options

## ECHO 9.0 Web Services API OrderManagementService API

- Submit Order

**ECHO 9.0 Web Services API OrderManagementService API**

- Set User Information

## ECHO 9.0 Web Services API OrderManagementService API

**ECHO 9.0 Web Services API OrderManagementService API**

## ECHO Old vs. New Order Options Example

- _Old Order Option _

- <Option>
-  <ComplexOption>    <Name>MediaOrder</Name>
-     <OptionCategory>Media Type</OptionCategory>
-     <ComplexOptionType>
-           <CHOICE/>
-     </ComplexOptionType>
-     <Description>Media Type</Description>
-     <MinOccurs>1</MinOccurs>
-     <MaxOccurs>1</MaxOccurs>
-     <ComplexOption>
-          <Name>FtpPush</Name>
-           <OptionCategory>Media</OptionCategory>
-           <ComplexOptionType>
-                   <CHOICE/>
-          </ComplexOptionType>
-          <Description>Ftp Push</Description>
-           <MinOccurs>0</MinOccurs>
-           <MaxOccurs>1</MaxOccurs>

-  <SimpleOption>
-               <Name>FTPUSER</Name>
-               <MinOccurs>1</MinOccurs>
-               <MaxOccurs>1</MaxOccurs>
-               <Default>anonymous</Default>
-           </SimpleOption>
-           <SimpleOption>
-               <Name>FTPPASSWORD</Name>
-                 ...
-               <Name>FTPHOST</Name>
-                 ...
-               <Name>FTPPORT<Name>
-                ...
-               <Name>FTPDIRECTORY</Name>
-                 ...
-     </ComplexOption>
-   </ComplexOption>
- </Option>

## ECHO Old vs. New Order Options Example

- _New Order Option _

- <form>
-    <model>
-     <instance>
-       <Media>
-           <mediatype/>
-           <FtpPush>
-               <FTPUSER>anonymous</FTPUSER>
-               <FTPPASSWORD/>
-               <FTPHOST>somewhere.com</FTPHOST>
-               <FTPPORT>21</FTPPORT>
-               <FTPDIRECTORY>ftp_staging</FTPDIRECTORY>
-           </FtpPush>
-        </Media>
-     </instance>
-    </model>
-    <ui>
-                ...
-     </ui>
- </form>

## ECHO Forms Example

**ECHO Forms Example**

## ECHO Forms Example

**ECHO Forms Example**

## ECHO Forms Example

**ECHO Forms Example**

## ECHO Forms Example

**ECHO Forms Example**

## ECHO Forms Example

**ECHO Forms Example**

## ECHO Forms Example

**ECHO Forms Example**

## ECHO Forms Example

**ECHO Forms Example**

## ECHO Forms Example

- <myoptions xmlns="http:provider.nasa.gov/orderoptions"
- xmlns:prov="http:provider.nasa.gov/orderoptions"
- xmlns:echo="http://echo.nasa.gov/echoforms/systemforms/v1">
-   <mediatype>
-     <value>FTPPUSH</value>
-   </mediatype>
-   <ftppush>
-     <echo:user>user</echo:user>
-     <echo:password>secretpassword</echo:password>
-     <echo:host>user.ftp.nasa.gov</echo:host>
-     <echo:port>21</echo:port>
-     <echo:directory>/tmp/user/data</echo:directory>
-   </ftppush>
-   <subset>
-     <echo:subsettype>
-       <echo:value>POLYGON</echo:value>
-     </echo:subsettype>

**ECHO Forms Example**

## ECHO Forms Example

-       <polygon xmlns="http://echo.nasa.gov/echoforms/systemforms/v1">
-         <points>
-           <point>
-             <latitude>45.7</latitude>
-             <longitude>34.8</longitude>
-           </point>
-           <point>
-             <latitude>29.6</latitude>
-             <longitude>45.9</longitude>
-           </point>
-           <point>
-             <latitude>89.8</latitude>
-             <longitude>120</longitude>
-           </point>
-         </points>
-       </polygon>
-     </echo:polygons>
-   </subset>
- </myoptions>

**ECHO Forms Example**

## Questions?