SAP Knowledge Base Article - Public

2642324 - Error While Testing Webservice : HTTP Code: 302(Redirect)

Symptom

You will receive the error HTTP Code: 302(Redirect) during the below scenarios:-

  1. When you try to access the WSID created.
  2. When you try to test the service from SDK.
  3. When you try to check the connection in the communictaion arrangement.

Capture1.PNG

Environment

SAP CLOUD APPLICATION STUDIO

SAP BUSINESS ByDESIGN

SAP HYBRIS CLOUD FOR CUSTOMER

Reproducing the Issue

  1. Login to the frontend UI.
  2. Navigate to the Application and User Management work Center.
  3. Select the Communication Arrangement sub view.
  4. Find the Communication Arrangement which you have created.
  5. Edit and go to Technical Data tab.
  6. Click on Edit Advanced Settings button.
  7. Select the service and click on Check Connection button.
  8. Ping fails with the error.

Cause

This issue occurs if you have not maintained the Path field in the Advanced Settings of the respective communication arrangement.

Resolution

Follow the same path mentioned in the steps to reproduce and find the field Path in the Advanced Settings. Once you maintain the path here and activate the communication arrangement the issue will be resolved.

Capture.PNG

Keywords

HTTP Code: 302(Redirect) Path missing External webservice not working , KBA , external webservice error during testing , 302 redirect , redirect 302 error , pdi , AP-RC-BDS-WS , ByDesign Studio Web Services , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions