on 04-09-2009 10:55 AM
Hi Experts,
I have a scenario in which the data is picked from a file location and then the SOAP receiver CC posts the data to a sharepoint portal.
The issue I am facing is that when the portal guys allow anonymous login, my data reaches the portal but when they give authorisation to a particular user, the data fails with unauthorisation error.
I have tried all the forums and blogs but was unable to solve this issue. I even tried the transform bean in the module tab of the CC but the error still remains.
Can anyone suggest a work around which I can use in order to make the scenario working?
I have tried all the forums and blogs but was unable to solve this issue.
did you get a chance to look at the SOAP FAQ note??
https://service.sap.com/sap/support/notes/856597
Q from the note:
Q: I get an authorization error "401 Unauthorized" from the adapter's servlet. What went wrong?
hope it helps
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does any one have solution for this. I am new to PI and implemented an interface to consume share point standard web service.
I was reading all the forums and found that share point authentication method has to be changed. Where by default it is windows integrated and if it is changed to basic authentication SAP PI SOAP Adapter will work.
But the issue is changing to the basic authentication. which is not advisable. is there any work around for this?
Kishore.
Hi
The issue I am facing is that when the portal guys allow anonymous login, my data reaches the portal but when they give authorisation to a particular user, the data fails with unauthorisation error.
-->You are getting the error when the portal guys are restricted to particular user.For that try with the ASSIGNED USERS in the Sender Agreement in your ID.I am not sure about this but try with that and also refer the Following thread which explains clearly about the ASSIGNED USERS .
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
See, to find out the configured user has the authorization
to call particular url(in your case its portal url) or not,
copy the url that you have given in the SOAP receiver channel
and paste in the web browser and call the url.
I think,it will prompt you the user/password,provide same user/password
that you provided in the soap channel.
if its giving the authorization error then first provide this user (used in channel) all the
permission/authorization to execute the portal urls and once the test is ok,
then execute your scenario.
Regards,
Rajendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Rigth now, i am wating...i have an old configuration in production that works fine, i have the information that nothing special was done. Therefore, if a try to make tests in dev, i get the 401.
For my particular case, when i use the url in IE, i don't have a pop-up to insert credetials, i am already authenticated. This is because, when i connect my laptop, my browser is configured with a proxy server. I get this data automatically at start up, i connect to the network with my user credetials...
Therefore, if i use SOAPUI, 401 again...
Best Regards,
Pedro Pereira
Hi,
in reciver SOAP comm channel, tick configure user authentication........then provide the username and password by asking the username from your portal guys and ask your portal guys to give the required roles to this user for the target application..........then save and activate your this comm channel in ID.. then rerun your scenario.........
Regards,
Rajeev Gupta
Hi,
Tell me the following things:
in reicver SOAP comm channel, have you given the username details in configure user authentication.....
if yes, then on running your scenario what is the error in reciever SOAP comm channel - paste the complete error msg............
just uncheck any parameter under conversion parameters in your reciver SOAP comm channel.........and again run your scenario........give the error msg from SXMB_MONI also.......
Regards,
Rajeev Gupta
Everything is unchecked in the conversion parameters, tried checking few relevant parameters also.
The error is :
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized: java.io.IOException: invalid content type for SOAP: TEXT/HTML; HTTP 401 Unauthorized
I am using a user ID which has admin rights in PI and in user authentication is SOAP channel I am using an ID which runs fine with browser and XML Spy
Sharepoint is in the Microsoft domain and Pi is in the SAP domain
But there is no issue sending the data from SAP domain to Microsoft thru XML Spy and I tried one more tool called SOAP UI which also sends data to sharepoint,
I think there is something I am missing in PI which allows to send data to Web Service...............
Hi,
Try it out.
Select adapter specific message attributes.Mark use adapter specific message attributes.Select variable transport binding.Select view authentication key.Give the key name and password.
More details...
[http://help.sap.com/saphelp_nw70/helpdata/EN/29/5bd93f130f9215e10000000a155106/content.htm]
Regards,
Prakasu.M
Hi,
Well...
I am now facing a similar problem, and i am trying to solve it. If i reach a definitive conclusion i will reply to you...
Sharepoint...arghhh 😛
Berst regards,
Pedro Pereira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if anonymous login is provided, then select authentication as none and dont give any authentication. I hope it will work.
Regards,
Reyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you try a configuration for this particular communication channel, in builder?
Best Regards,
Pedro Pereira
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 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.