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
Holger

Hi 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

Similar Messages

  • 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 AM

    As 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

  • Error Transmitting the message to endpoint -Received HTTP response code 401

    Hello Experts,
      I am having a SOAP to Proxy scenario. We are using HTTPS without client Authentication.
    Everything is running fine and well set on DEV system. After transporting to Test system, i am getting error as :
    Error Transmitting the message to endpoint http://host:port/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.
    I get HTTP 200 Ok response in my soap client but the message is not reaching to Integration Engine. It is failing with above error. On CC monitoring for SOAP adapter it shows call completed successfully. But when I use the mesage ID from CC monitoring in Message monitoring i get the error as  shown above in Audit log.
    I have checked for Roles attached to my user on DEV and Test systems , I have same roles on both systems.
    Any inputs to solve this problem will be very helpful to me. Let me know which service users i need to check for this issue?
    Thanks in Advance,
    XI Queries.

    Hi Pinang,
    Thanks for input.
    1) Check Role -SAP_XI_APPL_SERV_USER is there in XIAPPLUSER or not.
    ->Done. Its Ok.
    2) check tyour port entry is like J2EE port 5<System no> or not.
    ->Done. Its Ok.
    3) If the error in Adapter Engine
    then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    ->This note refers in case it happens with high load. I am just sending a small request and no one else is using / testing this interface. So no high load.
    4) Check password for user XIISUSER
    -> Basis team said they checked for all Xi users and they are not locked.
    5) Check password for user XIAFUSER
    -> Basis team said they checked for all Xi users and they are not locked.
    Any other hints will be helpful.
    Kind Regards,
    Xi Queries.

  • Received HTTP response code 401

    Hi,
    I have scenarion JDBC - XI - RFC. Everything seems to be working till yesterday and suddenly i see an error in the communication channel. In the message monitoring the status is set to waiting and I see nothing in the sxmb_moni. Please see the error below
    Transmitting the message to endpoint http://sapxd1.egd.enbridge.com:8019/sap/xi/engine?type=entry using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 401 : Unauthorized.
    Thanks
    Unni

    Immo,
    Go to SLD:
    http://server:port/sld/ListServlet?bsview=true
    Business systems and check if your XI business system has correct "Pipeline URL" parameter defined:
    http://server:httpport/sap/xi/engine?type=entry
    also check TCODE -> SLDCHECK - if you don't have any errors over there
    Gaurav Jain
    Reward Points if answer is helpful

  • Adobe Form Error: Invalid Response Code: (401) Unauthorized. The request...

    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.)

  • 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,
    John

    I 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#

  • 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 Marlies

    I 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

  • Authenticating web services -- get Invalid Response Code:(401) Unauthorized

    Hi,
    ich have implemented a websirve in dynpro java (thanks for all the guys who wrote guides for that), but i still have a problem. i have to set username and password for authorization.
    i have already tested follwoing code:
    reqMo.wdSetInvocationModifier(
               new IWDWSInvocationModifier() {
                 public void doModifyInvocation(Object port) {
                    // Creating the SOAP Header node.
                    HTTPControlInterface http = HTTPControlFactory.getInterface(port);
                    http.setHTTPProxyUserPass("xxxxx","xxxxxx");
                 public void doModifyAfterInvocation() {}
    but i get same message as follows:
    Exception on execution of web service with WSDL
    URL 'http://server:port/special/wsdl_report_gen.wsdl' with operation '_-xxxx_-generateReport' in
    interface '{urn:sap-com:document:sap:soap:functions:mc-style}XXXX_REPORT_GEN':
    Invalid Response Code: (401) Unauthorized. The requested URL
    was:"http://server:port/sap/bc/srt/rfc/sap/XXXX_report_gen/111/XXXX_report_gen/XXXX_report_gen";
    nested exception is:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid
    Response Code: (401) Unauthorized. The requested URL
    was:"http://server:port/sap/bc/srt/rfc/sap/XXXX_report_gen/111/XXXX_report_gen/XXXX_report_gen"
    any ideas?
    Edited by: Dennis Ahaus on Dec 10, 2008 11:40 AM

    Hi Dennis Ahaus,
    If you are using Adaptive webservice model, you can provide the credentials as below.
    wdContext.currentXXXXElement().modelObject().setInvokerProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY,"username");
    //           wdContext.currentXXXXElement().modelObject().setInvokerProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY,"password");          
    Regards,
    VJR.

  • Sharepoint webservice call - Invalid Response Code: (401) Unauthorized.

    Hello,
    when I try to call a webservice provided by Sharepoint Services 3.0 I always get the following:
    InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://[myserver]/_vti_bin/dws.asmx?WSDL, used user to connect: [myuser]"
    That myuser was given in Netweaver Administrator in the SOA Management -> Destination Template Management as "HTTP authentication - user id/passwort (basic). The destination type was set to WSDL with that URL.
    Password I cheked several times. When I call this URL in a browser I can access with that user...
    Any idea whats wrong or what I have to change?
    Thx in advance,
    Frank

    Hi,
    Could you check the proxy settings on the engine? It could be seen in the NetWeaverAdministrator -> SOA Management -> Global Settings.
    The assumption is that the request to wsdl goes (does not go) via proxy. Could the check what is the expected behavior.
    A second assumption that comes to my mind is to double-check the password typing. It could be that something is mis typed.
    A third assumption is is it certian that the web service WSDL expect basic authentication? It could be protected with other mechanisms which would result in the same result.
    ~Dimitar

  • 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,
    Srinivas

    Thanks everybody. Resolved
    Updated the HTTP Destination and Web Services Client with the password for ADSUSER again and restarted the services

  • InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized

    Hi,
    We are creating a new role in ERM.We are at Approval stage.
    When we have clicked on APPROVAL option, it is giving error like,
    Unknown error occurred while performing operation (Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://<hostname>:<port>/VirsaCCWFExitService5_2Service/Config1?wsdl&style=document")
    Please check and advice in this.
    Thanks & Regards,
    KKRao.

    Hi Mohit,
    Thanks for your solution. My issue got resolved with the noted mentioned by you.
    We have used the below mentioned link at Web Service Info. for AE Workflow in ERM.
    http://<server name>:<port number>/VirsaCCWFExitService5_2Service/Config1?wsdl&style=document
    But it should be the below mentioned link as per the note.
    http://<server name>:<port number>/AEWFRequestSubmissionService_5_2/Config1?wsdl&style=document
    Regards,
    KKRao.

  • URG: Invalid Response Code: (401) Unauthorized to a web service

    Hello,
       I'm trying to configure a SSO between CE and ERP. I want to access a Web Services of the ERP from WSNavigator through a logical destination, but I have the following error,
    "Invalid Response Code: (401) Unauthorized"
    I dont know what step I'm doing wrong, I've already configured the CE Certificate in the ERP, I've put the flag in the Web Service Endpoint as "HTTP Authentication" with "Logon Tickets" and in the Logical Destination I've put the flag "HTTP Authentication" with "Logon Tickets".
    I dont know what's wrong. Please if anyone have a guide or tutorial for configure this, I would appreciate it very much.
    Thanks
    Regards
    SU

    Hi,
    Did you check the domain of CE and ERP are the same.
    Check the Port at the end of the WSDL, it should have the full domain.
    Regards, Gilles.

  • Invalid Response Code: (401) Unauthorized.

    Hi,
    I am calling a WebService from a Adobe Form designed using WebDynpro.
    When the Webservice is called an exception is raised and the following message is shown.
    "Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized"
    Anbody has any idea why this exception is raised.
    Thanks,
    Sameer

    Hi All,
    I am working on PI-Trex connection for payload based message search.
    After configuring all of the steps as per the guide.
    when i tried to activate Index Administration for Runtime workbench for Adapter Engine I got this runtime exception.
    An error occurred: Class: com.sap.aii.rwb.web.trex.CentralTrexException : Message: RemoteException in Method: CentralTrexManager: activateIndex( String ). TrexException: Failed to activate Trex service. Message: Service call exception;
    nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://pitestdaea9d:57000/TrexProcessor/basic?style=document"; To-String: java.rmi.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://pitestdaea9d:57000/TrexProcessor/basic?style=document"
    does any body have any clue ?
    Regards,
    Divyesh

  • 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,
    Bharat

    Dear 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,
    Srinivas

    I 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

Maybe you are looking for