Skip to Content
avatar image
Former Member

Adobe Authorization issue

Hello,

We are trying to execute a PCR Application in MSS and while opening the Adobe Form we are getting this error:

com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://<host>:57100/AdobeDocumentServices/Config?style=document"

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:980)

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1430)

at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)

at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99)

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)

... 51 more

I wonder for the cause of this.

Any help would be highly appreciated.

Message was edited by:

SubhashTripathi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 27, 2007 at 09:19 AM

    Hello,

    this seems to be a problem of your Webservice client proxy configuration.

    in the Visual administrator go to:

    Web Services Security Service >> Web Service Clients >> sap.com >> tcwdpdfobject >> com.sap.tc.webdynpro.adsproxy.AdsProxy*ConfigPort_Document

    Here the ADSUsers password not seems to match with the the one on the server mn01ads01

    Best regards,

    Dezso

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 29, 2007 at 03:48 AM

    Hi Subhash,

    Please check the security provider in Visual Admin.Make sure you use the basic authentication .

    User: ADSUser and correctly typed password.

    To set up Basic Authentication in a Java environment:

    1. Log on to the Visual Administrator.

    2. On the Cluster tab, choose Server <x> &#8594; Services &#8594; Web Services Security.

    3. Choose Web Service Clients → sap.com > tcwdpdfobject &#8594; com.sap.tc.webdynpro.adsproxy.AdsProxy*ConfigPort_Document.

    4. Check that the url mentioned there is correct (Thats the location where ADS is running as a web service). If not, please modify the URL (switch to Custom) to point it to the right location. You are required to change only the host and port in the URL. You can test the URL on your browser to be 100% sure.

    5. From the Authentication list, select BASIC.

    6. In the User and Password boxes, enter as Username ADSUser and a Password (consult your ADS administrator has got the same).

    7. Choose Save.

    8. The authentication data must be activated. For doing this navigate to Services &#8594; Deploy.

    9. Choose the button Application.

    10. Choose sap.com/tcwdpdfobject in the tree.

    11. Choose Stop Application.

    12. For restarting the application choose Start Application.

    13. Test your application

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the help guys ...I did what you said but now I am facing a different issue as:

      com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF

      at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:392)

      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)

      at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)

      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)

      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)

      at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)

      at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)

      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:728)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:663)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)

      at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)

      at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:78)

      at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)

      at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)

      at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1259)

      at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:324)

      at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:830)

      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)

      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)

      at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)

      at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)

      at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)

      at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:708)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:661)

      at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)

      at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:154)

      at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

      at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)

      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:174)

      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)

      Caused by: com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../sap.com/msspcr/PcrApplication/wd_key77_1192745307274/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=DefaultExternal1192745250984&sap-ext-sid=3axb4Qi67d0SkzJkm9OpnQ%3D%3Dbo5z4OM2c1H1AraW6jJidA%3D%3D%2Fpcd%3Aportal_content%2Fcom.adc.root%2Fmgrtool%2Froles%2Fcom.adc.mgrtool.mgrtool_rl%2Fmss_ws%2FTest%2Fcom.sap.pct.erp.mss.pcrapplication_page%2Fsap.com%2Fmss%7Epcr%2FPcrApplication%2Fbase&sap-wd-norefresh=X&sap-ep-version=7.00.200611091758

      at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:379)

      ... 45 more

      Please help.