[ 
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.

Reply via email to