You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org> on 2008/06/11 14:06:45 UTC

[jira] Created: (TUSCANY-2385) Problem with Databinding for URI and UUID objects when using binding.ws

Problem with Databinding for URI and UUID objects when using binding.ws
-----------------------------------------------------------------------

                 Key: TUSCANY-2385
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2385
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Data Binding Runtime, Java SCA Integration Tests
    Affects Versions: Java-SCA-Next
            Reporter: Vamsavardhana Reddy
             Fix For: Java-SCA-Next


I am noticing that when I am invoking a service method that takes an object as parameter over binding.ws,, the URI and UUID standard types that map to xs:string XML data type are being presented to the service method as String rather than their respective types.

See StandardTypesDatabindingTestCase.testWSNewObject() under sca\itest\databindings\jaxb-bottom-up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TUSCANY-2385) Problem with Databinding for URI and UUID objects when using binding.ws

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-2385.
-----------------------------------

    Resolution: Invalid

Both URI and UUID are mapped into xsd:string. So the URI and UUID values will be mashaled as xsd:string in the request. On the receiving side, the argument type is Object.class. As a result, the value is unmarshaled as a String. So it's a problem on the interface definition, we need to make the argument explicitly URI or UUID so that it can roundtrip across WS.

> Problem with Databinding for URI and UUID objects when using binding.ws
> -----------------------------------------------------------------------
>
>                 Key: TUSCANY-2385
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2385
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Data Binding Runtime, Java SCA Integration Tests
>    Affects Versions: Java-SCA-Next
>            Reporter: Vamsavardhana Reddy
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>
> I am noticing that when I am invoking a service method that takes an object as parameter over binding.ws,, the URI and UUID standard types that map to xs:string XML data type are being presented to the service method as String rather than their respective types.
> See StandardTypesDatabindingTestCase.testWSNewObject() under sca\itest\databindings\jaxb-bottom-up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TUSCANY-2385) Problem with Databinding for URI and UUID objects when using binding.ws

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-2385:
-------------------------------------

    Assignee: Raymond Feng

> Problem with Databinding for URI and UUID objects when using binding.ws
> -----------------------------------------------------------------------
>
>                 Key: TUSCANY-2385
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2385
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Data Binding Runtime, Java SCA Integration Tests
>    Affects Versions: Java-SCA-Next
>            Reporter: Vamsavardhana Reddy
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>
> I am noticing that when I am invoking a service method that takes an object as parameter over binding.ws,, the URI and UUID standard types that map to xs:string XML data type are being presented to the service method as String rather than their respective types.
> See StandardTypesDatabindingTestCase.testWSNewObject() under sca\itest\databindings\jaxb-bottom-up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TUSCANY-2385) Problem with Databinding for URI and UUID objects when using binding.ws

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy closed TUSCANY-2385.
----------------------------------------


> Problem with Databinding for URI and UUID objects when using binding.ws
> -----------------------------------------------------------------------
>
>                 Key: TUSCANY-2385
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2385
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Data Binding Runtime, Java SCA Integration Tests
>    Affects Versions: Java-SCA-Next
>            Reporter: Vamsavardhana Reddy
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>
> I am noticing that when I am invoking a service method that takes an object as parameter over binding.ws,, the URI and UUID standard types that map to xs:string XML data type are being presented to the service method as String rather than their respective types.
> See StandardTypesDatabindingTestCase.testWSNewObject() under sca\itest\databindings\jaxb-bottom-up.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.