Complex Component level property attributed not being save back
---------------------------------------------------------------

                 Key: TUSCANY-3844
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3844
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model
    Affects Versions: Java-SCA-1.5
            Reporter: Hasan Muhammad


When we have a complex component property such as in the following composite, 
the ExtensibleStAXArtifactProcessor.write() strips off all the object data that 
is nested within the property tag.

<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0";     
    xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance";
    xmlns:qos="http://www.ibm.com/xmlns/prod/websphere/sca/1.0/2007/06";
    targetNamespace="http://erww.workload";
    xmlns:orderstatus_input="http://www.erww.com/OrderStatusInput";
    name="OrderStatusComposite">


    <component name="OrderStatusServiceComponent">
        <implementation.java 
class="orderstatus.sca.jdbc.OrderStatusServiceImpl" 
requires="managedTransaction.local"/>
            <service name="OrderStatusService">
                <interface.wsdl 
xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance"; 
                
interface="http://jdbc.sca.orderstatus#wsdl.interface(OrderStatusService)"      
    
                wsdli:wsdlLocation="http://jdbc.sca.orderstatus 
OrderStatusService.wsdl"/> 
            <binding.ws 
wsdlElement="http://jdbc.sca.orderstatus#wsdl.port(OrderStatusServiceWebService/OrderStatusServiceSOAP11port)"
   qos:wsPolicySet="WSHTTPS default" />           
        </service> 
        
        <property name="orderStatusProp" 
type="orderstatus_input:OrderStatusInputType">
            <orderStatusInput xmlns="http://www.erww.com/OrderStatusInput"; 
                customerWarehouseId="1"
                customerDistrictId="2"
                customerId="3"
                customerLastName="Guster"
                byLastName="true">
            </orderStatusInput>
        </property>
    </component>
    
</composite>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to