Error Code 401 - Unauthorized
I am configured the Flight Agency demo and when I run the 'Check Flight Seat Availability' senario and choose a flight I receive the following error. HTTP response contains status code 401 with the description Unauthorized.
I have all the authorizations in the world to run this program on all clients. I have regenerated the authorizations and the user compares but all to no avail. I increase the trace level of the HTTP service to the highest level but I do not see any problems. I check SM20, SM21, ST22 and ST11 work proces trace files and all show no errors. This issue is really bugging me as I have spent hours on it.
Hi,
yes additionally make sure that no user is locked. Make sure in SU01 and also check the administration part of the integration builder. I would also suggest you to double check again whether the passwords in SU01 and exchange profile match exactly. I would suggest to enter these in capital letters.
Cheers
Jaime Farinos
Similar Messages
-
I recently began taking an online class. We are required to watch multiple videos. I was able to watch the QuickTime videos before, but now whenever I launch the videos in QuickTime I get the Error code 401. My teacher does not know whats wrong, because I do have authorization to watch the videos, I am just not sure how to go about it.
You may try updating the same as a standalone download.
S.Sengupta, Windows Entertainment and Connected Home MVP -
WRT54G V. 6 error code 401 unauthorized access
I wanted to upgrade the firmware, because I was having problems getting to the online properties. I did the powercycling and all, I would get the error 401 "unathorized access" message. I then downloaded the firmware upgrade to my desktop, then went to the browser and typed in 192.168.1.1 and it asked me for the firmware upgrage and to browse where it was. I did so, and it said upgrade successful. Well then what? I waited and nothing. I then restarted my pc. I still have the same problem. I then did the powercycling again and no go. Is there something else I should try?
JenDisable all firewall & antivirus software on the computer ... Lower down the NIC card speed from Auto to 10 half Duplex ... click ok & close .. Go to Internet Options ... click clears cookie & files ... See if it works or not ...
-
Adobe Print Form Error - Invalid Response Code: (401) Unauthorized
Hi, I've just configured ADS on Netweaver 2004s. I've run through the config guide and everything works ok including the form generation test report FP_TEST_00 which outputs PDF without issue. I have two problems:
-When I run a "test connection" on the RFC destination 'ADS' using the ADSUSER for the login details, I get a 403 not authorized error. Changing this user to J2EE_ADMIN resolves the issue and I get a 302 redirect. I've tried adding other permissions to the ADSUSER without any luck.
-Running a report on the Portal under e.g. Executive Reporting and attempting to just right-click and hit "Print Version" results in a 401 error for request "http://hostXX:portXX/AdobeDocumentServices/Config?style=document" exactly as per this thread: Re: Adobe Form Creation Error - Invalid Response Code: (401) Unauthorized. However, I've double-checked all user details in Visual Administrator (ADS_AGENT) and on the ABAP stack side in su01 and sm59. I also tried changing the users to dialog with no effect. If I go directly to that URL and log in with ADSUSER I get a 403 not authorised error (using J2EE_ADMIN is again successful). I've noticed that in the http access log the HTTP protocol used is 1.1 when using the web browser and 1.0 when using the sm59 connection test. I've heard of problems with using HTTP/1.1, but when I change the options on IE8 to use HTTP/1.0, it changes for all other requests except the request for "http://hostXX:portXX/AdobeDocumentServices/Config?style=document", which is still submitted as HTTP/1.1. Conversely, in sm59 if I specify that it should use HTTP/1.1 under Special Options, I can see from the access log that it is in fact still using HTTP/1.0. Could this be related to the 401 error code that I'm seeing?
Any help would be appreciated. Thanks,
JohnI think I've ruled out the HTTP protocol version as being an issue here. However I may have found more useful information on the actual issue.
In the security log under usr\sap\<SID>\DVEBMGS00\j2ee\cluster\server0\log\system I see a different message for the unsuccessful report PDF generation attempt to that of a direct query to the same URL with the same web browser, as below. The unsuccessful attempt appears to forget the ADSUSER credentials and resort to the default J2EE_GUEST which has no authorisations and therefore fails. The direct query doesn't lose the ADSUSER credentials and I think this is because it prompts for the user/password when needed. Does anyone know why this happens for a direct query to this URL but not for the PDF generation attempt?
Resulting logs from unsuccessful PDF generation attempt:
#1.5 #005056AF1EB300750000002D0000142000048B4D2208F055#1279063306899#/System/Security/WS/SecurityProtocol#sap.com/irj#com.sap.security.core.client.ws.AuthenticationContext.setDestination#AICL0001#622##<host>_<sid>_3576650#AICL0001#4c1a62608ed511dfbe2a005056af1eb3#SAPEngine_Application_Thread[impl:3]_5##0#0#Info#1#com.sap.security.core.client.ws.AuthenticationContext#Java###An destination was set with the following properties:
{0}.#1#{PROXY_ENABLED=false, CLIENT_AUTHENTICATION_KEYSTORE_VIEW=, SAP_SID=, SLD_URL=, USERNAME=ADSUSER, SLD_WS_NAME=, URL=http://<host>:50000/AdobeDocumentServices/Config?style=document, PROXY_URL=, SSL_SERVER_AUTHENTICATION=IGNORE, SLD_WS_SYSTEM_NAME=, PASSWORD=XXX, SLD_WS_PORT=, SAP_CLIENT=, DEFAULT_URL=http://localhost:50000/AdobeDocumentServices/Config?style=document, Authentication=BASIC, CLIENT_AUTHENTICATION_KEYSTORE_CERTIFICATE=, URL_CHOICE=Custom, SAP_LANGUAGE=}#
#1.5 #005056AF1EB30072000000250000142000048B4D220A12ED#1279063306977#/System/Security/Authentication##com.sap.engine.services.security.authentication.logincontext#J2EE_GUEST#0##<host>_<sid>_3576650#Guest#4c1a62608ed511dfbe2a005056af1eb3#SAPEngine_Application_Thread[impl:3]_24##0#0#Info#1#com.sap.engine.services.security.authentication.logincontext#Plain###LOGIN.FAILED
User: N/A
Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
Login Module Flag Initialize Login Commit Abort Details
1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule SUFFICIENT ok exception true Authentication did not succeed.#
Successful direct access of URL http://<host>:50000/AdobeDocumentServices/Config?style=document (click on rpData test and manually log in as ADSUSER):
#1.5 #005056AF1EB30070000000250000142000048B4D3E260016#1279063778670#/System/Security/Authentication##com.sap.engine.services.security.authentication.logincontext#ADSUSER#675##<host>_<sid>_3576650#Guest#812f72008ed611dfa62d005056af1eb3#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#com.sap.engine.services.security.authentication.logincontext#Plain###LOGIN.OK
User: ADSUSER
Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
Login Module Flag Initialize Login Commit Abort Details
1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule SUFFICIENT ok true true
Central Checks true #
#1.5 #005056AF1EB30070000000260000142000048B4D3E2666A6#1279063778702#/System/Security/Audit/J2EE##com.sap.engine.services.security.roles.audit#ADSUSER#675##<host>_<sid>_3576650#ADSUSER#812f72008ed611dfa62d005056af1eb3#SAPEngine_Application_Thread[impl:3]_14##0#0#Info#1#com.sap.engine.services.security.roles.audit#Java###{0}: Authorization check for caller assignment to J2EE security role [{1} : {2}].#3#ACCESS.OK#SAP-J2EE-Engine#all# -
When trying to run an Adobe Form webdynpro app, I am receiving the following error:
<b>Invalid Response Code: (401) Unauthorized. The requested URL was:"http://localhost:50000/AdobeDocumentServices/Config?style=document"</b>
I have checked the ADS test at <server:port>/AdobeDocumentServices/Config; the test did return the version number.
<i><b>Does anyone have any other ideas of what I should check?</b></i>
Also, why is it running a url with "localhost" in it? If this is running on the java was server, then I guess that could make sense. But if the url request is requesting something from localhost, isn't that my computer? I guess it depends on if this is a server request or a client request. I hope this is a server request.Sumit -
First, I think config is okay. I can run the web service under my id okay.
Second, I am not sure what the impact is having the build done locally.
I am building and deploying locally in NWDS to my local portal. But then I am sending the EAR file to the system admin to deploy to my dev server (I am doing this because they will not give out the SDM password. And, I am waiting on the NWDI setup to be complete; when that is complete I will let NWDI deploy to the dev portal.)
Incidentally, I am receiving this error on the dev server, not my local portal. (I have tried running on my local portal, but I am getting a socket timeout error. But this is interesting, because I <i>can</i> run other webdynpro non-Adobe apps. I am not tracking down this error at this point because I am really just interested in the dev server. If I get past the 401 error on the dev server, and then get the socket timout issue...then I will worry about it.) -
ABAP Client Proxy error code: 401, error text: Unauthorized
Hi,
I have Client proxy in ECC for oubound interface in PI 7.0, when i look into SXMB_MONI of ECC i can see my message with Error "HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unauthorized)".
As per few thread i already assign SAP_XI_APPL_SERV_USER role to PIAPPLUSER in ECC, still i am getting same eror.
I do not understand how this Proxy communication work, which ECC user will be use in communication and how this communcation link to RFC destination "SAP_PROXY_ESR" type G. Even i can not see type H in ECC so i created RFC destination of type G.
With Regards
SunilWe were able to get it working by making a change in the Integration Engine Configuration (in sxmb_adm).
Changed "Corresponding Integ. Server" from "http://<server>:<port>/sap/xi/engine?type=entry"
to "dest://RFCdestinationName" -
Trex Indexing giving HTTP Status Code 401:Unauthorized error
Dear All,
We have configured TREX search on KM repository of our EP
production server and trying to search using the same our KM repository.
The TREX is installed on the a separate server.
When we try to Index production repository the documents are failing in
the Preparation failed status with return code 6401 and error message
HTTP Status Code 401: Unauthorized.
I also applied SAP-Note 650521 and checked id index_service user and
found that its active and not locked but still issue didnu2019t get
resolved. Moreover i have gone thru most of the previous post regarding this topic but didt help.
I even checked the URL Generator service too which is fine.
On one test system also where SPNego is configured we are getting same
401 error. On this system we disabled SPnego and Indexing started working
fine. When we reverted back the SPNego configuration for confirmation of
our observation we found that it again started to give 401 error.
Any help in this regard will be appreciated.
Regards,
Srinath Pillai
Edited by: Srinath Pillai on Sep 3, 2009 8:59 AMDear
Open System Administration--> System Configuration> Knowledge Management--> Content Management> Global Services (Mode : Advanced)> Index Management Service--> Check for Crawling Service User it has to be index_service
If still you have problem than do let me know where is your Repository located are the documents are stored on Portal Server itself or it is stored on some external server...
What kind of repository you use CM Repository(Mode:DB,DBFS,FSDB) , File System Repository....e.t.c....
Regards
Akshit -
Invalid Response Code: (401) Unauthorized error in running Interactive form
Dear All,
I am trying to deploy and run a interactive form developed in webdynpro. but i get the following error upon running the form :
com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:282)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:224)
at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:483)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1154)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:85)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:95)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:279)
... 27 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:836)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1238)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:78)
... 29 more
I am using a NW04 sandbox server. I have checked the configuration steps and even did the Quick test in AdobeDocumentServices and got the expected response.
I have verified the ADSUser settings and password too. And still i am getting this error.
Can you please let me know if any other settings are required.
Thanks in Advance,
BharatDear BASIS Guys,
Now i'm implement LAC 2.0 on SRM 5.0 , when i test the lac by smoke test the error occured following belowing ,
#1.#00144F50BED1007C000000150000377400043741BCF38D1C#1186655389322#com.sap.srm.la.server.msg.JcoServerController#sap.com/com.sap.srm.la#com.sap.srm.la.server.msg.JcoServerController#SRMSTPUR#165##erpdevsrci_SRD_103409850#SRMSTPUR#6b11d670466311dcc1a400144f50bed1#SAPEngine_Application_Thread[impl:3]_18##0#0#Warning#1#/Applications/SRMLA/SERVER#Plain###Auction cannot be viewed in current status
at com.sap.srm.la.server.jco.services.AbstractJcoService.convertToServerException(Unknown Source)
at com.sap.srm.la.server.jco.services.AbstractJcoService.execute(Unknown Source)
at com.sap.srm.la.server.jco.services.JcoServiceProvider.logon(Unknown Source)
at com.sap.srm.la.server.msg.JcoServerController.login(Unknown Source)
at com.sap.srm.la.server.jmx.JMXMonitorServerController.login(Unknown Source)
at com.sap.srm.la.server.msg.MessagingServlet.handleHelloReq(Unknown Source)
at com.sap.srm.la.server.msg.MessagingServlet.processRequestMessages(Unknown Source)
at com.sap.srm.la.server.msg.MessagingServlet.processAppletRequest(Unknown Source)
at com.sap.srm.la.server.msg.MessagingServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Please help about how to solve and configre it .
BR,
Rang -
Adobe Form Creation Error - Invalid Response Code: (401) Unauthorized
I'm trying to generate an impersonalized form in Guided Procedures. I got an error.
I checked the SAP logs and the error is
Invalid Response Code: (401) Unauthorized. The requested URL was:"http://hostXX:portXX/AdobeDocumentServices/Config?style=document"
Before this error occurs I see an alert
LOGIN.FAILED
User: N/A
Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
Login Module Flag Initialize Login Commit Abort Details
1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule SUFFICIENT ok exception true Authentication did not succeed.
I've checked the ADSUser and its not locked. Configuration and everything looks fine. I've tested the ADS connections too on SM59.
We have similar configuration for DEV and its working fine there.
Any help on this is highly appreciated.
Version - SAP 2004s SP16
Thank you,
SrinivasI had a similar problem with authorization failed for the ADSuser. My problem however only occurs at night when the system is the least used.
We have changed two things which I believed have now solved the problem.
1. Make sure all j2ee servers in the cluster uses localhost for the web service destination. Our system was configured to use the central instace forcing all request to a single server.
http://help.sap.com/saphelp_nw04/helpdata/en/4f/a00d41921bf023e10000000a155106/frameset.htm
2. Check maximum number of users in VA. Ours was set to only 300 due to some earlier performance problems. Default is unlimited I believe, so it shouldn't be a problem normally. (Global configuration -> Server -> Security provider-> "MaxUsersCount")
My conclusion is that we ran out of login sessions during night time for some unknown reason, causing a authorization failed exception on the app servers.
Plausible?
best regards,
Richard Linnander -
Hi I had a problem yesterday with my receiver determination... I had an XICACHE update error along with
SAP:AdditionalText>Error when reading HTTP destination: INTEGRATION_DIRECTORY_HMI.</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error while refreshing the XI runtime cache</SAP:Stack>
I have since seemed to of solved this problem while using SXI_CACHE and refresh...
Now we are getting the following...
<!-- ************************************
-->
- <Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">
<Trace level="3" type="T">Channel for adapter engine: RFC</Trace>
- <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP">
<Trace level="2" type="T">no values in cache (no lock found) - start reading from SLD</Trace>
<Trace level="1" type="T">error reading SAP_XIAdapterFramework from SLD</Trace>
<Trace level="2" type="T">Adapter Framework(s) found</Trace>
<Trace level="2" type="T">Service Port(s) found - take first one</Trace>
<Trace level="2" type="T">URL found</Trace>
<Trace level="2" type="T">Get logon data for adapter engine (SAI_AE_DETAILS_GET):</Trace>
<Trace level="3" type="T">URL = http://mxavie0:56800/MessagingSystem/receive/AFW/XI</Trace>
<Trace level="3" type="T">User = XIISUSER</Trace>
<Trace level="3" type="T">Cached =</Trace>
<Trace level="3" type="T">Creating HTTP-client</Trace>
<Trace level="3" type="T">HTTP-client: creation finished</Trace>
<Trace level="3" type="T">Security: Basic authentication</Trace>
<Trace level="3" type="T">Serializing message object...</Trace>
<Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
<Trace level="3" type="T">HTTP-client: request sent</Trace>
<Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
<Trace level="3" type="T">HTTP-client: response received</Trace>
<Trace level="3" type="T">HTTP-client: checking status code...</Trace>
<b><Trace level="3" type="T">HTTP-client: status code = 401</Trace></b>
<Trace level="3" type="System_Error">HTTP-client: error response= <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b> 401   Unauthorized</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b> Authentication did not succeed.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b> Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre> No details available</pre></font></td> </tr> </body> </html></Trace>
<Trace level="3" type="T">HTTP-client: closing...</Trace>
</Trace>
</Trace>
</Trace>
<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
- <!-- ************************************
-->
<Trace level="3" type="T">Persisting message Status = 023</Trace>
<Trace level="3" type="T">Message version 006</Trace>
<Trace level="3" type="T">Pipeline CENTRAL</Trace>
</SAP:Trace>
</SOAP:Header>
- <SOAP:Body>
- <SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
- <SAP:Payload xlink:href="cid:[email protected]">
<SAP:Name>MainDocument</SAP:Name>
<SAP:Description />
<SAP:Type>Application</SAP:Type>
</SAP:Payload>
</SAP:Manifest>
</SOAP:Body>
</SOAP:Envelope>
Anyone have ideas as to why this is coming?HI,
Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
If the error is in Adapter Engine
then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
May be wrong password for user XIISUSER
May be wrong password for user XIAFUSER
for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
Regards
Chilla..
<i>Points rewarded if it is helpful..</i> -
Response Code: (401) Unauthorized
While testing the demoszenario "Service-Enabled Procurement Scenario" from the SAP discovery system the following error arises:
Error: RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:http://iwdfvm2160:51080/XISOAPAdapter/MessageServlet?channel=:WebService:SO_WS_SOAP_SENDER
The error appears in the first step when a salesorder should be created via a soap-adapter from an adobe offline form.
The portal user = proc_sales
Is there anybody who can answer the following questions?
1. Is there any configuration necessary to make the scenario running?
If yes, where is the documentation?
2. which user is authorized to call the webservice for creating the sales order and where has this user to be configured?
Thanks for a soon answer.
Regards MarliesI found the solution on my own. Here it is
Goto VisualAdmin:
Select Cluster/Services/Destinations
Select Webservice
Select sap.com/XApps_XI_SO_WS_Proxy/com.sap.esadiscovery.so.wsproxy.XApps_XI_SO_WS_ProxyName/ESA_MI_SO_CREATE_WS_INPort
Change the Hostname in the following Custom URL to the right hostname: http://iwdfvm1127.wdf.sap.corp:51080/XISOAPAdapter/MessageServlet?channel=:WebService:GM_WS_SOAP_SENDER
In our case the correct hostname is iwdfvm2160.
Further set the authentication to basic and fill username with PIAPPLUSER and Password with the approriate password -
XI Web Service - Code: (401) Unauthorized.
Hi all,
I'm new in XI. I'm trying to expose an outbound interface as a WebService.
From "Integration Directory" GUI -> Tool -> Define Web Service ... and save de WSDL in a local file.
Then I created a java client with WebDynpro model wizard from WSDL file.
When I test the client the next error appears:
"Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized."
I tried to assign permissions to admin role in the Visual Adminstrator but a can't find the "XI Interface Web Service" that was generated.
So, i don't know what to do.
I'll apreciate any help.
Regards,
Diego.Hi,
Refer these blogs:
https://weblogs.sdn.sap.com/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/sap.user72/blog/2005/09/15/connecting-to-xi-server-from-web-dynpro
Regards
Suraj -
Help needed to resolve Received HTTP response code 401 : Unauthorized
2011-04-08 11:37:48 Error Transmitting the message to endpoint http:---/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized
while i was executing file to file scenario. the error occoured.
Edited by: subbuk76 on Apr 8, 2011 8:12 AMAs the error indicates, the username/PWD you are using in file adapter to write the file (FTP) at target location is incorrect and hence the error. Please check and let us know.
3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
Description: The request requires user authentication
Possible Tips:
u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
u2022 If the error is in Adapter Engine
u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
u2022 May be wrong password for user XIISUSER
u2022 May be wrong password for user XIAFUSER
u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
Also, for HTTP errors in future do refer this blog:
/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
It will help you -
Received HTTP response code 401 : Unauthorized
Hi Experts!
I know there are lots of posts regarding Received HTTP response code 401 : Unauthorized, and I read a lot of them.
Unfortunately I got not the solution to my problem.
I have following scenario: async; oneway; xml via DataPower (SOAP) to SAP PI to Service Consumer
When sending a message it is led over the DataPower to the PI, but it is not processed through.
It enters the MP and it is successfully put into the queue. You can see the details below.
15.02.2012 15:12:34.611 Information MP: entering1
15.02.2012 15:12:34.614 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
15.02.2012 15:12:34.616 Information SOAP: request message entering the adapter with user PI**
15.02.2012 15:12:34.620 Information SOAP: request message leaving the adapter (send)
15.02.2012 15:12:34.620 Information The application tries to send an XI message asynchronously using connection SOAP_http://sap.com/xi/XI/System.
15.02.2012 15:12:34.624 Information Trying to put the message into the send queue.
15.02.2012 15:12:34.676 Information SOAP: call completed
15.02.2012 15:12:34.676 Information SOAP: completed the processing
15.02.2012 15:12:34.676 Information Message successfully put into the queue.
15.02.2012 15:12:34.676 Information The application sent the message asynchronously using connection SOAP_http://sap.com/xi/XI/System. Returning to application.
15.02.2012 15:12:34.678 Information MP: leaving
15.02.2012 15:12:34.682 Information The message was successfully retrieved from the send queue.
15.02.2012 15:12:34.700 Information The message status was set to DLNG.
15.02.2012 15:12:34.922 Error Transmitting the message to endpoint https://<sid>.XXX:port/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 401 : Unauthorized.
15.02.2012 15:12:34.940 Information The message status was set to WAIT.
15.02.2012 15:12:34.941 Information The asynchronous message was successfully scheduled to be delivered at Wed Feb 15 15:17:34 CET 2012.
I can't say, why I get the 401-response.
From PI Message Monitoring: Monitor Messages I get following informations:
Message-ID MSG-ID
Richtung OUTBOUND
Message-Headers content-length=14391
http=POST
content-type=multipart/related; boundary=SAP_MSG-ID_END; type="text/xml"; start="<soap-MSG-ID[at]sap.com>"
Message-Typ Send
Verbindungsname SOAP_http://sap.com/xi/XI/System
Credential SAPPasswordCredential(PIAFUSER):password=********:sapclient=009:saplang=en:sapsysid=<SID>
Fehlerkategorie XI_J2EE_ADAPTER_XI_HANDLER
Fehlercode SEND_CONSUMER_ERROR
Statusdetails Messaging: allgemeiner Fehler
Quality-of-Service EO
Empfängerkomponente
Referenz-ID
Senderkomponente SENDER_COMP
Sequenz-ID
Serialisierungskontext
Status systemError
Einplanungszeit 2012-02-15 13:49:38.579
Start Time Wed Feb 15 13:34:37 CET 2012
Transport HTTPS
Gültig bis
Protokoll XI
Persistenz bis 2012-02-16 13:34:37.373
Endzeitpunkt Wed Feb 15 13:49:39 CET 2012
Anwendungskomponente
Softwarekomponente
Service-Definition
Wurde bearbeitet false
Any clues?
Many thanks in advance
HolgerHi Ravi,
it's the Java stack's port.
Hi Venkata,
1. Check whether service user maintained in the SM59 destination is with Roles of std. user PIAPPLUSER, PIISUSER
The Problem is, that the message is not processed in the PI. I don't see them at SXMB_MONI.
Today I see them on the RWB at the message-monitoring, but only because they are set after the 3rd try to send them to NDLV.
I can see the messages, after they are triggered, in the comm-channel-monitoring by selecting the appropriate channel.
2. Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
Checked the PIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
3.May be wrong password for user PIISUSER.
There was a pwd-change in january, but the passwords are all correctly replaced.
Thank you for your help!
Holger -
Guided Procedures - Invalid Response Code: (401) Unauthorized
I'm trying to generate an impersonalized form in Guided Procedures. I got an error.
I checked the SAP logs and the error is
Invalid Response Code: (401) Unauthorized. The requested URL was:"http://hostXX:portXX/AdobeDocumentServices/Config?style=document"
Before this error occurs I see an alert
LOGIN.FAILED
User: N/A
Authentication Stack: com.adobe/AdobeDocumentServices*AdobeDocumentServices_Config
Login Module Flag Initialize Login Commit Abort Details
1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule SUFFICIENT ok exception true Authentication did not succeed.
I've checked the ADSUser and its not locked. Configuration and everything looks fine. I've tested the ADS connections too on SM59.
We have similar configuration for DEV and its working fine there.
Any help on this is highly appreciated.
Version - SAP 2004s SP16
Thank you,
SrinivasThanks everybody. Resolved
Updated the HTTP Destination and Web Services Client with the password for ADSUSER again and restarted the services
Maybe you are looking for
-
How do I create a group email list on my Blackberry Tablet? Iggy
-
Can't install Photoshop CC 2014 because, you know, 42% right?
Well, my story is the same as the dozens of others who have suffered from this same problem. I tried to install Photoshop CC 2014 on my Macbook Pro with OS X 10.9.5. When it got to 42%, it stopped. I rebooted and tried again, closing all other applic
-
I am currently looking at SQL Server 2014 trial version and thinking about getting the developer edition. I have a potential client that has 2008 R2. My guess is that I will need to develop in 2008 R2 to avoid any version issues. If so, can 2008 Expr
-
Lync duplicate contacts sync from outlook
In my outlook 2010 under contacts --> Lync contacts showing duplicate contacts of each. What is the purpose of Lync contacts in outlook. where does it sync with. How to remove duplicate entries. I am using Lycn 2013 client & Lync server 2010.
-
TS3367 Why can't i see the answer or regect option when i receive a call on facetime?
When i receive a facetime call i an hear it, however, i do not get the option to answer or reject the call, can anyone help?