cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to the CPI service Via HTTP Destination in BAS

former_member739977
Discoverer
1,759

Hi Team,

We are using the CF - BAS Business Application studio. Our requirement is to connect a CPI end point URL via HTTP Destination (CPI is running on other CF sub account) .
We have MTA app with UI5 module and standalone app router, we have configured the destinations in CF connectivity-destination is working fine . We are unable to call using AJAX from UI5 module. Please help in connecting to CPI end point running on the different tenant from the UI5 module.

CF Subaccount -----> BAS ---> UI5 App(AJAX call) ====(DESTINATION HTTP)========> Neo sub account CPI Service .
Resulting 404 error- not able to connect.

Thanks and Regards
Kalyan

avitalmargalit
Advisor
Advisor
0 Kudos

Hi yuval.morad

Can you please assist with this issue?

Thanks,

Avital

UdayMS
Participant
0 Kudos

Hi Avital/Yuval

I am having the same issue. Can you help

Thanks

Uday

yuval_morad
Advisor
Advisor

Please share:

1. mta.yaml

2. xs-app.json of the UI module and approuter module

3. package.json of the UI module and approuter module

3. manifest.json if exists of the UI module

4. code of the ajax call

5. destination to the REST service or OData service

Accepted Solutions (0)

Answers (1)

Answers (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi kvkalyan,

Goto to your CPI instance --> Manage Integration Content --> Select the integration Flow --> Copy the End-Point URL of the deployed flow.

That URL should be the one to be used on your Destination in BTP Cockpit.

Make sure your destination has a user with the proper authorization to send messages to the message broker. You can check which authorization you iflow is using by opening it in the design page and selecting the http arrow that connects the sender to the start event in your flow.

You are probably entering the URL for the start page of your Cloud Integration Suite - which is none of the iflows deployed into it.

Best regards,
Ivan