Hi,

I'm trying to define the XML schema for the tuscany databinding extension to 
describe the data types for input and output. Here's an example. Please note 
"databinding" will be an extension to the interface type.

<interface.java interface="sample.CreditReportService">
    <tuscany:databinding 
xmlns:tuscany="http://tuscany.apache.org/xmlns/1.0-SNAPSHOT>
        <operation name="getCreditReport">
                <input>
                        <part index="0">
                            <dataType name="sdo" 
xmlType="{http://customer}Customer"/>
                        </part>
                </input>
                <output>
                        <part index="0">
                                <dataType name="sdo" 
xmlType="{http://credit}CreditReport"; javaClass="...'/>
                        </part>
                </output>                    
        </operation>
    </tuscany:databinding>
</interface.java>

Any opinions?

Thanks,
Raymond

Reply via email to