cancel
Showing results for 
Search instead for 
Did you mean: 

InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.

Former Member
0 Kudos

Hi,

While deploying a simple application involving PDF scenario, I get the following error:

com.sap.engine.services.webservices.jaxrpc.exceptions.

InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://localhost:50000/AdobeDocumentServices/Config?style=document"

at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.

MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:976)

Could someone help?

Regards,

Anagha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This is seems to be ADS configuration problem,.

Please check the installation of ADS.

1. Enter the following URL in your web browser:

http://<server>:<port>/AdobeDocumentServices/Config

where <server> is the name of the J2EE engine where the Adobe document services are installed and <port> is the port of the J2EE engine.

Note that the entries in the URL are case-sensitive.

2. The web page of the web service AdobeDocumentServices is displayed. Choose Test.

3. Choose rpdata(test.…) .

4. Choose the Send button without entering any parameters.

5. Enter the user name and password as given in the configuration steps(as in configuration guide- User:ADSUser) .

6. Choose Submit.

If the configuration is correct, you get the information about the Version number in the response area.

Please confirm the ADS version and WAS information

Thanks,

Lohi.

Former Member
0 Kudos

Hi Lohitha,

Thanks for your help.

After following those steps I got the version info as 6.0.040910.0.147982.

Can you please tell me how can I confirm this version from this information ?

And after deploying and running the application got a different error :

Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.

Regards,

Anagha.

Former Member
0 Kudos

hi,

It seems to be ADS is not configured perfectly.

Please check once agaon the ADS configuration.

Opent the webservice prospective and check there ADS service is avail or not?

ADS_ConfGuide_NW04SPS18 search this guide that provide all the information.

thanks,

Lohi.

Former Member
0 Kudos

Did you manage to resolve this, Anagha?

Former Member
0 Kudos

Hi

We are experiencing the same problem, but we have the correct ADS and WAS information after testing...

We still get the same error. What other places to check from here? Please help...

Former Member
0 Kudos

Try resetting your ADS_AGENT user password and then try again

Regards,

Shikhil

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Anagha,

Just check whether ur user is added to ADSCallers group or not. it seems ur user doesn't have the permission to access the webservice.

regards

Sumit

Former Member
0 Kudos

hi

Please go thru this link:

Regards

Nidhideep