on 08-03-2014 8:22 PM
Hi Experts
I need to consume a web service from an external application (Without using PI) however the external application requires a Username, password and domain to authenticate the communication between SAP and the external application.
I first tested the web service in SOAP UI and it works fine mainly because SOAP UI provides the domain as a attribute for authentication.
The issue however is that from SAP there is no "Domain" field (Only username and password) so keep on getting "Unauthorized" message when trying to create my logical port.
Have anyone connected to an external system where a "Domain" was required for authentication and if so how is it possible to connect an external application via web services from SAP if the Domain is required for authentication? NOTE: This is without SAP PI.
Thanks in advance
Hi Everyone
Thanks for your input, i have solved this issue.
I have debugged the ABAP code for the HTTP Client & Authentication and there is not a single point where you can pass a domain for authentication so this is clearly not supported by SAP at this stage.
Also found this note that basically supports the above.
What we did is to change the authentication method on the IIS to "Basic Authentication" with a default domain. This worked like a charm and I am now able to get a successful connection.
Kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes.. Correct using SAP it is not possible to send.
Even I was tried for this many days but no luck. It should be in SAP.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wian,
If you are not using PI i think you are using the SOAMANAGER transaction to make automatically the proxy in order to do the connection. (Check this blog )
You can make the logical port with your domain in the user login (Configuring a Consumer Proxy - ABAP Workbench Tools - SAP Library) for example with manual configuration option:
Also in Transport Settings, you can set the computer name with the required domain to test the connection:
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thanks for the input however this is not the issue i am facing.
The issue is in the authentication, for example SOAPUI has Username, Password and Domain and the web services works fine if all 3 are provided.
However SoaManager does not have a domain field that can be used for authentication.
On your second comment "Also in Transport Settings, you can set the computer name with the required domain to test the connection:" How do add the domain to the URL? is this even possible? See below a sample setup of my soamanager and lets assume the domain is "MyDomain" how will this fit into the configuration below?
Thanks for your help
Kind regards
Hi,
Basic authentication is usually a part of the HTTP Header, can you check how domain is passed in SOAP UI Raw tab? Please also paste the screenshot here.
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.