Hi Viraj,

If we consider an xml as below ( primitive array),  the tree view will be
as follows

<person>
        <firstName>susinda</firstName>
        <phone>0112655655</phone>
        <phone>0112655655</phone>
 </person>


​What if, there is an attribute for the 'phone' as below?

<person>
        <firstName>susinda</firstName>
        <phone primary="true" >0112655655</phone>
        <phone  primary="true">0112655655</phone>
 </person>

Are we going to allow users to map both phone and the attribute?




Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog     :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine

On Tue, May 17, 2016 at 3:30 PM, Sohani Weerasinghe <[email protected]> wrote:

> Hi All,
>
> With the current level of the implementation of  visual datamapper editor,
> all nodes of the json schema except the root node can be mapped to the
> nodes of another json schema.
>
> As per the offline discussion we had, we are going to allow users only to
> map the leaf nodes of the tree and based on the discussions, the tree view
> will be as follows
>
> <?xml version="1.0" encoding="UTF-8"?>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:urn="urn:enterprise.soap.sforce.com" xmlns:urn1="urn:
> sobject.enterprise.soap.sforce.com" xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>    <soapenv:Header>
>       <urn:SessionHeader>
>          <urn:sessionId>QwWsHJyTPW.1pd0_jXlNKOSU</urn:sessionId>
>       </urn:SessionHeader>
>    </soapenv:Header>
>    <soapenv:Body>
>       <urn:create>
>          <urn:sObjects xsi:type="urn1:Contact">
>             <!--Zero or more repetitions:-->
>             <!--You may enter ANY elements at this point-->
>             <AccountId>001D000000HRzKD</AccountId>
>             <FirstName>Jane</FirstName>
>             <LastName>Doe</LastName>
>          </urn:sObjects>
>          <urn:sObjects xsi:type="urn1:Account">
>             <Name>Acme Rockets, Inc.</Name>
>          </urn:sObjects>
>       </urn:create>
>    </soapenv:Body>
> </soapenv:Envelope>
>
>
>
> ​Thanks,
> Sohani
>
>
> Sohani Weerasinghe
> Software Engineer
> WSO2, Inc: http://wso2.com
>
> Mobile  : +94 716439774
> Blog     :http://christinetechtips.blogspot.com/
> Twitter  : https://twitter.com/sohanichristine
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to