How to Read the List of Response from SOAP Request- Tried this but no luck

Home Forums Convertigo developers Forums as moved to Stack Overflow. How to Read the List of Response from SOAP Request- Tried this but no luck

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #133215

    RItesh K
    Participant

    Hello All

    I am new to convertigo. I have gone through various videos and blogs to reach up to this stage. Here is my question

    1.My project is a Web Services Integration project – Using SOAP WSDL
    2. Successfully I am able to generate the Get transaction list by using various variables provided by WSDL
    3. Here is the response i am getting in it

    					<ns1:Value>
                            <ns1:Name>Meal in a pill</ns1:Name>
                            <ns1:Status>PENDING</ns1:Status>
                        </ns1:Value>
                        <ns1:Value>
                            <ns1:Name>3D printing kiosk</ns1:Name>
                            <ns1:Status>PENDING</ns1:Status>
                        </ns1:Value>

    4. I have created a Sequence Step of type Transaction and calling the above transaction( This is where i have confusion is am using right step?)
    5. Now I want to display the same list in Mobile UI. How can i Do it?
    6. I am using the following in apps.html under Display objects

    			<!-- content -->
    			<div data-role="content" data-c8o-call="Projectname.sequencename" data-c8o-mode="auto" data-c8o-listen="Projectname.sequencename">
    				<ul data-role="listview"  data-c8o-each="ns1:Value">
    				<li>
    				<p>__=ns1:Name__</p>
    				<p>__=ns1:Status__</p>
    				</li>
    				</ul>
    			</div>

    Please let me know what to do in Step 4 and Step 5

    #133216

    Gregory Vorbe
    Moderator

    Hello,

    In your 4th step, you are using a Call_Transaction step to call your Get transaction and it’s fine. But it will not make XML output in the sequence unless you set its ‘Output’ property to ‘true’, i’ll suggest you to use instead a ‘Copy’ step to source the essential XML output from the transaction to be on your final XML response (sequence).
    For 5th step, you did well in the 6th step using CTF in the app.html file, just note that by default CTF will remove namespaces so it could look something like:

    <ul data-role=”listview” data-c8o-each=”Value”>
        <li>
            <h3>__=Name__</h3>
            <p>__=Status__</p>
        </li>
    </ul>
    

    Support&QA

    #133217

    RItesh K
    Participant

    Hello Vorbe

    Thanks for your reply. Its working well for me
    Thanks! a lot

    Regards
    Ritesh

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.