PureEngage On-Premises

 View Only

Sign Up

  • 1.  Does URS will support REST for Web service

    Posted 05-12-2015 12:02
    The Web service object from URS needs a SOAP response from the remote Web Service. One of our client is deploying Elasticserach on is environment. Elasticserach use only REST and response are formatted with JSON.  Did you plan to support REST for the webservcice object in further version of URS?


  • 2.  RE: Does URS will support REST for Web service

    Posted 05-15-2015 23:29
    Hi Yoann,

    I have done something similar with a home grown REST service.  In your URS Web Service block, just choose HTTP instead of SOAP.  I didn't bother trying to pass JSON in the message body of the request, instead I wrapped everything as query string parameters.  If your web service responds in JSON format, you can likely assign the output value to a variable and write a subroutine that will parse the JSON for you into KVPs.  I agree though it would be cool to have this a little more natively.  You should open a feature request.


  • 3.  RE: Does URS will support REST for Web service

    Posted 07-02-2015 13:54
    Hi,

    You can concatenate any string in the URS Strategy with IRD to get a string object that can be later on passed towards a WebService block on HTTP or SOAP. This means that your webservice can get a JSON object created in an IRD strategy.

    Regards,
    Andrei