Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

REST: Disabling Following HTTP Redirects

REST: Disabling Following HTTP Redirects

To disable following HTTP redirects received from REST services, the following policy directive can be added.
followRedirects="false"
Do this by adding this attribute to the policy element in the PDD or when setting up a dynamic endpoint reference as follows:
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <wsa:Address>http://localhost:8080/path</wsa:Address> <wsa:Metadata> <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:abp="http://schemas.active-endpoints.com/ws/2005/12/policy"> <abp:HTTPTransportOptions followRedirects="false"/> </wsp:Policy> </wsa:Metadata> </wsa:EndpointReference>
No UI support for setting this directive exists.

0 COMMENTS

We’d like to hear from you!