on 05-22-2008 1:33 PM
Hi
I was searching the forum for a solution, but didn't find any satisfying solution.
I try to consume a webservice with ASP. I can get the WSDL-File without any problems, using an URL formed like this:
However, when I try to call the actual webservice, this fails miserably. I get an error telling me, that I'm not authenticated.
As I need to call this webservice in the background, I can't log on to SAP everytime I call it - this must be done through some header-authentication (or preferrably with the method I'm calling the WSDL-File...)...
Any Ideas how to do this?
Thanks for your help!
(P.S. I'm using ASP 1.0 using a MSXML2.XMLHTTP to create the connection)
Hi Silvia
Thanks for the reply.
The problem is solved - meanwhile - as I found a way to provide username/passwords in the SOAP-header that's being sent to the server...
Best regards
Urs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Urs,
I assume that the SAP WebService is implemented on your ABAP backend?
In this case, please add the following role to the calling user in your ABAP backend system:
SAP_BC_WEBSERVICE_CONSUMER.
Depending on your SP level (7.0 SP14 or SP15, 7.1 SP4 or SP5 or SP6) additonal roles (RBAM) might be necessary.
Best regards,
Silvia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.