Changes between Version 4 and Version 5 of SimpleDataServicePart13-SvcSkel
- Timestamp:
- 09/15/09 11:55:23 (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SimpleDataServicePart13-SvcSkel
v4 v5 23 23 2. Browse to the UML object model file created with ArgoUML (SDKArgoPeople.uml) in [http://dev.uabgrid.uab.edu/wiki/SimpleDataServicePart11 part 1] of this tutorial 24 24 3. Select XMI Type as ''SDK 4.0 XMI from ArgoUML'' 25 [[Image(source:exp/sds/ images/sds13/GenDmnMdl-Def.png)]]25 [[Image(source:exp/sds/exp1/images/sds13/GenDmnMdl-Def.png)]] 26 26 4. Type in a project short name and version 27 27 5. Click OK 28 28 6. Choose a location to save your domain model and type in a name along with the .xml file extension 29 [[Image(source:exp/sds/ images/sds13/GenDmnMdl-Sv.png)]]29 [[Image(source:exp/sds/exp1/images/sds13/GenDmnMdl-Sv.png)]] 30 30 31 31 == Define the Service == 44 44 7. Select the Data Service radio button from the Customize Service section. 45 45 8. Click ''Create'' 46 [[Image(source:exp/sds/ images/sds13/SvcSkel-Define.png)]]46 [[Image(source:exp/sds/exp1/images/sds13/SvcSkel-Define.png)]] 47 47 48 48 == Configure Data Service == 56 56 2. Leave the rest unchecked 57 57 3. Click OK 58 [[Image(source:exp/sds/ images/sds13/SvcSkel-SvcStyle.png)]]58 [[Image(source:exp/sds/exp1/images/sds13/SvcSkel-SvcStyle.png)]] 59 59 60 60 === Configure Service === 61 61 62 62 1. When the following panel appears, Browse to the location where you've installed caCORE SDK-4.1. The wizard reads this directory and auto-locates the relevant files and properties defined inside 63 [[Image(source:exp/sds/ images/sds13/SvcSkel-Config1.png)]]63 [[Image(source:exp/sds/exp1/images/sds13/SvcSkel-Config1.png)]] 64 64 2. Click Next->API Type 65 65 69 69 2. Type in your machine's Hostname (either FQDN/IP address) 70 70 3. Type in the Port Number to which your tomcat is configured to (default will be 8080) 71 [[Image(source:exp/sds/ images/sds13/SvcSkel-Config2.png)]]71 [[Image(source:exp/sds/exp1/images/sds13/SvcSkel-Config2.png)]] 72 72 4. Click Next: Login. Since this is a simple data service, we have not enabled security when generating the object model with caCORESDK. So, we can skip this step. 73 73 5. Click Next: Domain Model 77 77 1. For Domain Model Source, from the pull-down menu select ''Pre-Generated'' 78 78 2. Browse to the Model Filename saved in [wiki:SimpleDataServicePart13-SvcSkel#GenerateDomainModel step 6 of the Generate Domain Model] 79 [[Image(source:exp/sds/ images/sds13/SvcSkel-Config3.png)]]79 [[Image(source:exp/sds/exp1/images/sds13/SvcSkel-Config3.png)]] 80 80 3. Click Next: Schemas 81 81 83 83 84 84 1. ''Every class exposed by the domain model must be supplied with a corresponding XML schema representation so it may be utilized in the grid. The mapping panel of this wizard streamlines this process by simultaneously generating the mapping from model to schema and configuring serialization of the XML data types to correspond to the domain model's Java beans.'' 85 [[Image(source:exp/sds/ images/sds13/SvcSkel-SchMap1.png)]]85 [[Image(source:exp/sds/exp1/images/sds13/SvcSkel-SchMap1.png)]] 86 86 2. ''Packages from the domain model are listed, along with a suggested XML schema namespace, a mapping status, and a button to manually resolve the mapping for each package. This panel contains two buttons which serve as convenience methods for mapping a large batch of packages to their schemas. The 'Map From GME' button attempts to locate the suggested namespaces in the Global Model Exchange service and pull the corresponding schemas. The 'Map From Config' button makes use of the XML schemas provided by the caCORE SDK's output to map to each package of the domain model.'' 87 87 3. Click ''Automatically Map From SDK Generated Schemas'' 88 88 4. If this operation succeeds, the mapping status of each package will change from 'No Schema Assigned' to 'OK', and the 'Done' button will be enabled. 89 [[Image(source:exp/sds/ images/sds13/SvcSkel-SchMap2.png)]]89 [[Image(source:exp/sds/exp1/images/sds13/SvcSkel-SchMap2.png)]] 90 90 5. Click the Done button 91 91
