Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Need to update request and forward to endpoint

Options
satverma
satverma Posts: 3

I need to update the SOAP request and update the clientID and forward to the end point. Like in below example, client id is 1234. But I want to modify it to 6789 before using message forward. What is easiest way to dot it?

  <getBankBalances>
     <brokerHeader>
        <brokerUserId>TestPortal</brokerUserId>
        <clientId>1234</clientId>
        <callerRefId>anyrandomuuid</callerRefId>
     <brokerHeader>
  <getBankBalances>
Tagged:

Comments

  • williammccusker
    williammccusker Posts: 645 ✭✭✭
    Options

    Is this a case where you are dealing with a masked value? It sounds like the clientId is a masked value and you want to convert it to the actual value before sending the request to the live service?

    If that is the case have you looked at this extension on our marketplace? https://marketplace.parasoft.com/#query?limit=24&offset=0&keywords=mask

  • keegan_chan
    keegan_chan Posts: 59 ✭✭
    Options

    You can also attach a XML Transformer to the Request of the Message Forward tool to modify the request payload that is being forwarded.