Forum Discussion

steffeck's avatar
steffeck
New Contributor II
6 years ago

REST GET SNAP retry and timeout not dynamic

Hi all

we are using the REST GET snap. In there we see that the timout ( connection timeout and read timeout) as well as the retry ( maximum request attempts and retry request interval) cannot be define dynamically. Is there a good reason for it? Or any workaround?

Thanks,
S

2 Replies

  • Vishnu24's avatar
    Vishnu24
    New Contributor

    Thanks @psadasivam, I just wanted to understanding that suppose if I have created a pipeline which fetches data from a database if you pass an ID , Can I create a SOAP webservice which encapsulates this functionality and I can share this Outbound WSDL to any external consumer application

    • psadasivam's avatar
      psadasivam
      New Contributor III

      @Vishnu24, Yes, it’s possible to achieve what you are looking for but SnapLogic doesn’t provide you the WSDL file.You have to manually create as shown in post above. Let me know if you need any help building this in SnapLogic.

      • nunnikrishnan's avatar
        nunnikrishnan
        New Contributor

        @psadasivam I am facing SOAP execute issue…Could you please help me on it?
        I am getting error:
        Failure: An exception occurred while executing the SOAP request, Reason: Could not send the SOAP request, Resolution: Verify that the template is correct, the substituted values are valid and the provided envelope matches the namespaces that are required by the targeted service

        To get session ID I called Salesforce login soap call first
        Below is my template for login
        <SOAP-ENV:Envelope
        xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/
        xmlns:ns0=“urn:partner.soap.sforce.com”>
        SOAP-ENV:Header/
        SOAP-ENV:Body
        ns0:login
        ns0:username$username</ns0:username>
        ns0:password$password</ns0:password>
        </ns0:login>
        </SOAP-ENV:Body>
        </SOAP-ENV:Envelope>
        Please help me