cancel
Showing results for 
Search instead for 
Did you mean: 

How to Configure HTTPS adapter in HCI for Web Services which are created in ECC backend

former_member545416
Participant
0 Kudos

Dear Experts,

Could you please help in configuring HTTPS adapter in HCI Web UI.

Req.

I have created one consumable Web service in ECC system, Which will return some data based on the parameter's value.

How to configure HTTPS Adapter in HCI Web UI for the same? This HTTPS link should be accessible with the data from any secure connection.

Accepted Solutions (0)

Answers (8)

Answers (8)

Sriprasadsbhat
Active Contributor

Hello Ashish,

Create a IFlow like below and follow steps mentioned then you should be able to achieve the same.

Regards,

Sriprasad Shivaram Bhat

former_member545416
Participant
0 Kudos

Sir,

I created XML as suggested by you with Root, Records and 3 fields from the given like(Thank you for the link).

Saved the output in .XSD extension, upload the file in source mapping message as below & selected ECC WSDL in target source,

Save and deployed, Web error as below,

An internal server error occured: The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage..
The MPL ID for the failed message is : AFwXOU-2zoc9ncdirYbgl1Nc6vQQ
For more details please check tail log.

Monitoring Tab, it moved one step ahead this time, but failed at receivers end, any suggestions,

Receiver side config,

Sorry to disturbing you again and again for the same.

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Ashish,

Best way to avoid this sort of issues is to have message mapping.

Create a source xml having 3 fields like below which you will be passing from your postman tool.

<root>

<record>

<field1>val1</field1>

<field2>val2</field2>

<field3>val3</field3>

</record>

</root>

Create xsd schema for above xml which can be used in source side ofmessage mapping which you are going to add instead of content modifier(use online tools like freeformatter.com to create xsd).And in the target side of message mapping use wsdl of your SAP ECC or S4H.Complete the mapping from source and target then you are good to go with deployment and testing by passing above xml with proper values.

Regards,

Sriprasad Bhat

former_member545416
Participant
0 Kudos

Below is my XML with 3 fields (Simple)

In content modifier I have maintained the below XPath for my 3 fields

ZfmTestResponse/TAssetclass/item/Anlkl
ZfmTestResponse/TAssetclass/item/Txk20
ZfmTestResponse/TAssetclass/item/Txk50

Deployed the Iflow and while testing got the below error in the broswer,

Is my Xpath worng?

Sriprasadsbhat
Active Contributor
0 Kudos

You need to pass the XML message in Content modifier.Structure should be matched to WSDL Structure.

Sriprasadsbhat
Active Contributor
0 Kudos

since you used timer event once you deploy the Iflow message should be triggered & visible in Monitoring tab.You cant test without deploying.

Sriprasadsbhat
Active Contributor
0 Kudos

You can ignore the warning and go ahead with deployment..

former_member545416
Participant
0 Kudos

I am sorry but, how should I test it in the Postman?

Which link to be used for testing?

Do I need to deploy the Iflow for testing? or can be tested without deploying as well?

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Ashish,

If I am not wrong you want to trigger your iflow from HTTP end point or I can say POSTMAN.The one which I proposed is having Timer Event ( every time you deploy your iflow gets triggered to pull the data from ECC).Reason for using content modifier is to pass request message for your SOAP call which is exposed from SOAMANAGER ( to pull some data from SOAP service of ECC request needs to be sent right ).

In http sender channel you just need to mention /DemoAT while you call from POSTMAN or any other tool outside of your iflow you must add https://<IFLMAP_ADDRESS>/http/DemoAT.

You can use SOAP receiver channel shown like below to call the Service Exposed from SOAMANAGER.You can pass the request body from POSTMAN in that case no need to hardcode the request body in Content Modifier.

I suggest you to look out in SCN for basics as we have multiple blogs covering basics.

Regards,

Sriprasad Shivaram Bhat

former_member545416
Participant
0 Kudos

Dear Sriprasad,

Yes, I want to trigger my iflow from HTTP endpoint like POSTMAN. I will try the Iflow suggested by you.

Thank you so much for your helpful response. Will update once successful.