Skip to Content

Sample code Javascript calling a Webservice of SAP By Design with user/pw authorization

Apr 30 at 11:48 AM


avatar image

Does someone perhaps has a sample Javascript program how to call a SAP ByDesign webservice including a user and password ? Thanks a lot !!

I have created a webservice which has to be called buy an external application in JavaScript.

The webservice is working perfect...and I can test it with the tool SOAPUI.

But now we do not succeed in calling this webservice in a Java-Script program.

Allthough we provide the script with the correct user and password we get authorization error 501.

Do you have a sample code for me?

d3xvz.png (412.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Lewis Peters May 01 at 08:58 AM

That sounds like a question best suited for stackoverflow to be honest --- have you tried there?

10 |10000 characters needed characters left characters exceeded