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


'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

        

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to