cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice for external catalog with Sender IT and Shared Secret

Former Member
0 Kudos

Dear all,

I'm trying to integrate an external catalog with SAP ECC6.0 EhP5.

For defining the webservice, I've contacted with the supplier in order to use a specific website only for testing purposes, and I'm not able to connect to the website, as there are 2 paramenters which I didn't expect. The "Sender ID" and the "Shared Secret".


Does anyone know how to include these fields into the webservice parameters in order that the webservice establish the connection successfully ?



I've created the webservice including the following parameters:

10                                  https://webYYY.ZZZ.com/webapp/wcs/stores/servlet/YYYSapOciPunchOutSetupRequest?storeId=11001&langId=...     URL

15    sender ID               TESTUSERNAME                    Fixed Value

16     shared secret         YYY1234ZZ                              Fixed Value

20     username               TESTUSERNAME                    Fixed Value

30     password                PASSWORD1234                    Fixed Value

40     server                                                                    Fixed Value

50     catalog                                                                  Fixed Value

60     uilanguage               sy-langu                                  SAP Field

70     datalanguage          sy-langu                                   SAP Field

80     mask                                                                     Fixed Value

90     HOOK_URL                                                           Return URL

100    returntarget          _top                                            Fixed Value

110    ~caller               CTLG                                           Fixed Value

120    ~OKCode          ADDI                                            Fixed Value

130     system_alias                                                        Fixed Value

140     usePortalNavigation                                              Fixed Value

That's the error I'm getting:

"The store has encountered problems

Error message: The supplied Shared Secret value does not match with the value in YYYY's Database for your organitzation. OCIxxxxxxxxxx"

Where OCIxxx includes the sender ID or username  concatenated connection date and connection time.

Does anyone has any idea about what's the problem with the sender ID and the shared_secret value????

Accepted Solutions (1)

Accepted Solutions (1)

bharathi_ponnusamy
Active Participant
0 Kudos

Hi Carlos,

Have you tried with a HTML page (Probably this must have been given by your supplier) where the values being entered in the same way in a HTML form and when you click on the submit button - it will connect to the catalog site.

Please find the below screenshot for your reference. The below is just a reference where very few fields have been used and you can try with all the fields which you intend to pass to the supplier site.

Kindly check the above and advise me on how it goes.

Best Regards,

Bharathi

Former Member
0 Kudos

Hello Bharathi,

It's already solved!

I was informing "shared_secret", while it must be all together, without space nor underscore. It must be 'sharesecret'. Now I can connect with the external catalog.

Let's see how it returns the information from the shopping cart, but this is another story. 😉

Many thanks in any case.

Regards,

Carlos Santamaría.

Answers (0)