wso2esb - WSO2 ESB Show response in Tryit console -


hi using wso2 esb have created proxy named "query" work data salesforce , insert mssql database table, want show response in right response area

<?xml version="1.0" encoding="utf-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse"        name="query"        startonload="true"        statistics="disable"        trace="disable"        transports="http,https">    <target>       <insequence>          <salesforce.init>             <username>$user$</username>             <password>$password$$token$</password>             <loginurl>https://login.salesforce.com/services/soap/u/27.0</loginurl>          </salesforce.init>          <salesforce.queryall>             <batchsize>200</batchsize>             <querystring>select  id,name,account.name,assistantname,assistantphone,birthdate,createdby.name,department,description,email,homephone,lastmodifiedby.name,mobilephone,title contact</querystring>          </salesforce.queryall>          <sequence key="generatebatch"/>          <iterate xmlns:sfdc="http://wso2.org/salesforce/adaptor"                   expression="//sfdc:iterator">             <target>                <sequence>                   <salesforce.querymore>                      <batchsize>200</batchsize>                   </salesforce.querymore>                   <sequence key="generatebatch"/>                </sequence>             </target>          </iterate>          <respond/>          <payloadfactory media-type="json">             <format>$1</format>             <args>                <arg evaluator="json" expression="$.response"/>             </args>          </payloadfactory>       </insequence>       <outsequence/>    </target>    <description/> </proxy> 

enter image description here

you can try replace call dss payload examples debug.

in situation - iterate , send messages endpoint, don't agregate mediator after iterate.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -