Soap call client side - Forum - Rollbase - Progress Community

Soap call client side

 Forum

Soap call client side

This question has suggested answer(s)

Hi can anybody help me with this?

I need to call a soap service on the client side page. How can I do this in a save way without storing credentials and putting in a variable on the client side?

Is there an option to run a server side trigger that gives me the result of the soap call as a callback?

thanks in advance,

Regards Jorrit.

All Replies
  • Jorrit,

    I ran up against this a while back. The other APIs (REST, SOAP, etc) require a separate login call from the client in order to use them. This means that without having the credentials of the user, somehow, it's not going to be possible.

    You might be able to run a trigger that returns the result of a SOAP call but, at that point, you'd probably need to hard-code a username and password in the trigger script... which would reduce visibility into who was actually making calls and practically eliminate the use of permissions.

    Which API method are you wanting to use? There may be another alternative.

    Regards,

  • You can make a SOAP over http call from Rollbase Application pages and Portal pages. For this, you can leverage client-side API: rbf_sendHttpRequest

    Instead of coding any sensitive information (like request parameters with authentication details) directly as part of client-pages you may considering using server-side tokens (escaping them as described in documentation) so that the actual request is formulated on Rollbase server-side.

    Documentation details for your reference:

    documentation.progress.com/.../index.html

    www.progress.com/.../client-side-rest-invocations-in-rollbase

    Note: This API is available starting Rollbase 5.0 release.

    Regards,
    Siraj.
  • Ah, I should have been more specific.. I was talking about making calls back to Rollbase itself. If it's another system, sure... something like the mentioned API would be helpful.

    "Note: This API is available starting Rollbase 5.0 release."

    Excellent! :)