Skip to main content

What could be this XML success path

Comments

3 comments

  • Kate Larson Community moderator Principal Technical Writer
    Celigo University Level 3: Master

    Hi Harish Bakka,

    I'm checking with some internal experts, but in the meantime you might want to check out this thread for any insights that may help you: https://docs.celigo.com/hc/en-us/community/posts/360076810211-Success-Path-in-XML-Lookups

    Thanks,
    Kate

    0
  • Anirudh Sundaram Senior Integration Engineer
    Engaged
    Great Answer

    Hi Harish,

    You can simply map 'statusCode' in the response mapping for the import step to pass the response code to the next step. You don't need to set the success path since the response code is unrelated to the XML being sent back in the import.

    -Anirudh

    0
  • Bas van Ditzhuijzen NetSuite Integration Whiz Salesforce Integration Whiz
    Answer Pro
    Engaged
    Celigo University Level 4: Legendary

    Hi,

    for the succes path to a SOAP xml response you need the complete local-name xpath to the node you want to find, so for your example you would need:

    /*[local-name()='Envelope']/*[local-name()='Body']/*[local-name()='SubmitOrdersResponse']/*[local-name()='SubmitOrdersResult']/*[local-name()='SUBMITORDERSTATUS']/*[local-name()='STATUS']/text()

    You can test it by using a site like xpather.com 

    For the resource xpath you would use the same syntax only point it to the ORDER node, ommitting the /text() operator.

    1

Please sign in to leave a comment.