Skip to Content

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 01 at 08:58 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 14 at 09:18 AM

    Sorry for my late respsonse ...i didn't see your answer. Problem is solved.

    I found the code how to provide user and passwd and get results in JAVA.

    Add comment
    10|10000 characters needed characters exceeded