Skip to Content

SAP C4C Web Service SOAP and REST API Consume in JQuery or JavaScript with Basic Authorization

Mar 09 at 10:05 AM


avatar image


Is it possible to consume or call C4C SOAP or OData from JavaScript or Jquery with username and password.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Suchita Phulkar Mar 12 at 01:24 PM

I think it should be possible !! SOAP & OData are just the protocols - since technically its possible to consume WSDL via JQuery & Javascript, it should be fine with C4C WSDL too. Only that SOAP consumption would be too cumbersome in case one had to do the XML build. JSON (& hence REST) is preferred in that regards[^],[^],[^],[^],[^].

Show 1 Share
10 |10000 characters needed characters left characters exceeded

It should be possible but be aware that if you build such functionality that will run in an browser that you don't run into problems with cross site scripting.