[wsas-java-dev] [jira] Closed: (WSAS-654) Data Service: Attribute
mapping type of a
query result cannot be specified using data service wizard
Charitha Kankanamge (JIRA)
jira at wso2.org
Wed Jan 16 17:48:59 PST 2008
[ http://wso2.org/jira/browse/WSAS-654?page=all ]
Charitha Kankanamge closed WSAS-654.
------------------------------------
Resolution: Fixed
Issue was fixed by Saminda. Verified and closed the bug.
> Data Service: Attribute mapping type of a query result cannot be specified using data service wizard
> ----------------------------------------------------------------------------------------------------
>
> Key: WSAS-654
> URL: http://wso2.org/jira/browse/WSAS-654
> Project: WSO2 WSAS
> Issue Type: Bug
> Components: data-services
> Affects Versions: Nightly
> Reporter: Charitha Kankanamge
> Assigned To: Saminda Wishwajith Abeyruwan
> Priority: Critical
> Fix For: Kurumba
>
>
> 'Attribute' mapping type should be available in the 'Mapping Type' drop down of the 'Add New output mapping' pop up window.
> According to the data service spec;
> ------------------------------------------------
> result/attribute: an OPTIONAL element (which may occur any number of times) indicating how a specific column in the result table is to be mapped into an attribute of the element representing the current row
> * attribute/@name: a REQUIRED QName giving the name of the attribute to put the column data into,
> * attribute/@column: an OPTIONAL string giving the name of the column whose value is to be copied into the attribute. Either @column or @param is required.
> * attribute/@param: an OPTIONAL string giving the name of the param whose value is to be copied into the attribute. Either @column or @param is required.
> * attribute/@xsdType: an OPTIONAL indication of the XML Schema type of the attribute. If none is given defaults to the mapping of the SQL type of the result column named by @column to an XML Schema type as per [SQL XML Mapping]
> Steps to reproduce:
> ===============
> 1. In the step 2 of the data service wizard, click on 'New Query'
> 2. Enter query id, sql statement, Grouped by element and rowname
> 3. Click 'Add new output mapping'
> 4. Check 'Mapping Type' drop down
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsas-java-dev
mailing list