cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration check for ADS

Former Member
0 Kudos

Hi

I just Installed a ADS for both Java and ABAP (NW2004s)

I am following the ADS Config. guide for Nw2004s for <b>Basic Authentication</b>.

According to the guide, I wanted to do the Checking user name and Password test. So I went to http://<server>:<port>/AdobeDocumentServices/Config

--> clicked Test --> choose rpdata --> clicked send

--> enter ADSUser and password, and now when I click submit I get the error

<b>Incorrect content-type found 'com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.ContentTypeImpl@38e024'</b>

can somone help figure out what could be the cause of this error, please explain in detail & your help is much appreciated

thanks

regards

SM

Accepted Solutions (0)

Answers (3)

Answers (3)

amolgupta
Active Contributor
0 Kudos

Hi,

Please Check that you have done the following steps....

Please check the STEP 4 specially...

regards,

-Amol Gupta

STEP 1

Installing a credential for Adobe Document Services

In order to work with Adobe Document Services you need to install a valid credential. A preliminary credential is available at sdn.

To install a credential perform following steps:

• Extract the archive

• Copy the file filename.pfx to the directory <INST_DRIVE>:\usr\sap\J2E\SYS\global\AdobeDocumentServices\TrustManagerService\trust\credentials

Register the password for credential as described below:

• Log on to the Visual Administrator (<INST_DRIVE>:\usr\sap\J2E\JC00\j2ee\admin\go.bat)

• On the Cluster tab, choose Server 0 -> Services -> Document Services Configuration

• On the Runtime tab, select Credentials

• Choose Browse to search for the name of the credential and then Select

• In the Alias field, enter the alias of the credential you installed, for example ReaderRights. (Entries for the name of the credential are case-sensitive)

• In Password field, enter the password you received together with the credential you installed (filename.txt in the archive). Confirm the password again and then click Add

• Restart the following services for the changes to take effect: PDF Manipulation Module, Document Services Trust Manager. To perform this, right-click on the repective service choose Stop and after the service has stopped, Start it again

• Restart also the application com.adobe/AdobeDocumentServices located at Server 0 -> Services -> Deploy (radio button Application)

STEP 2

Creating a User in the SAP NetWeaver AS Java for Basic Authentication

Use

In some cases the user ADSUser was not created during installation. This user is required for the secure communication between the Web Dynpro application and the Java system where the Adobe document services are installed.

Creating the User ADSUser and Assigning the Security Role

...

1. Log on to the Visual Administrator.

2. On the Cluster tab, choose Server <x> u00AE Services u00AE Security Provider.

3. On the User Management tab, choose Create Group to create a group called ADSCallers, if the group does not exist. In the dialog that follows, enter the name and choose OK.

4. Choose Create User. The Create New User dialog box is displayed.

5. In the User name, Password, and Confirm password boxes, enter ADSUser for the user name and type a password.

6. Choose the Tree tab in the right panel. In the User Tree, select ADSCallers, and then choose OK.

7. On the Policy Configurations tab, in the Components area, select com.adobe/AdobeDocumentServices*AdobeDocumentServicesAssembly.jar.

8. On the Security Roles tab, select ADSCaller from the Security Roles list.

The ADSCaller security role was created when your system was installed. You should not assign this security role to users other than the system user that you will use for accessing Adobe document services.

9. In the Mappings area, choose Add, which is assigned to Users. A dialog Choose Users or Groups is displayed.

10. Choose the Tree tab.

11. In the User Tree, under the ADSCallers group, select the ADSUser you just created and choose OK. This assigns the new user to the ADSCaller security role.

Defining ADSUser as Technical User

To prevent, that the password for the ADSUser expires, do following:

...

1. Log on to the User Management of your AS Java:

http://<AS Java server>:<http port> u00AE User Management

2. Display the user ADSUser.

3. Choose Modify.

4. In the Security policy field, change the setting from Default to Technical User

5. Save.

STEP 3

Setting Up Basic Authentication in a Java Environment

Use

This procedure applies for the scenario of interactive forms. Set up Basic Authentication to access the Java version of the PDF object. This procedure describes you the configuration steps and applies when the Adobe document services and the Web Dynpro runtime are installed on the same J2EE Engine. Then under Destination the URL is set to Default.

Prerequisites

The user ADSUser was created and configured during installation of Adobe document service.

Procedure

To set up Basic Authentication in a Java environment:

...

1. Log on to the Visual Administrator.

2. On the Cluster tab, choose Server <x> u00AE Services u00AE Web Services Security.

3. Choose Web Service Clients u00AE sap.com > tcwdpdfobject u00AE com.sap.tc.webdynpro.adsproxy.AdsProxy*ConfigPort_Document.

4. From the Authentication list, select BASIC.

5. In the User and Password boxes, enter as Username ADSUser and a Password.

6. Choose Save.

7. The authentication data must be activated. For doing this navigate to Services u00AE Deploy.

8. Choose the button Application.

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

10. Choose Stop Application.

11. For restarting the application choose Start Application.

If the Adobe document services and the Web Dynpro runtime environment are not installed on the same J2EE Engine, you have to configure a Custom URL.

STEP 4

Configuring the Destination URL for the Adobe Document Services

Use

If the Adobe document services are not provided on the J2EE Engine on which the Web Dynpro runtime environment is deployed, you must change the destination URL of the Adobe document services using the Visual Administrator.

Prerequisites

• You have access to the J2EE Engine with administrator authorization.

• To better understand the below sections, read Creating a User for Basic Authentication in the document Adobe Document Services – Configuration Guide. You can find this guide in the SAP Service Marketplace under Quick Link /instguidesNW04.

Procedure

...

1. Start the Visual Administrator by double-clicking on file go.bat in the file directory C:\usr\sap\<System ID>\<System Number>\j2ee\admin, in which the J2EE Engine is installed. For example, the background file can be stored in directory C:\usr\sap\J2E\JC00\j2ee\admin.

2. In the logon screen of the Visual Administrator, select a connection and choose Connect.

3. Enter the password for the connection. You are now connected with the Visual Administrator.

4. Navigate to directory Server u00AE Services u00AE Web Services Security u00AE Web Service Clients u00AE sap.com u00AE tcwdpdfobject u00AE com.sap.tc.webdynpro.adsproxy.AdsProxyConfigPort_Document. The name of the Web service for the Adobe document services is com.sap.tc.webdynpro.adsproxy.AdsProxyConfigPort_Document.

5. To change the default URL http://localhost:50000/AdobeDocumentServices/Config?style=document, select Custom in the dropdown listbox next to label URL for the destination URL.

6. Enter the host name and port number <Host Name>:<Port Number> in place of the character string localhost:50000.

7. Define the user name and password. To find out how to create the user name and password for the Adobe document services, see Creating a User for Basic Authentication in the document Adobe Document Services – Configuration Guide. You can find this guide in the SAP Service Marketplace under Quick Link /InstguidesNW04.

8. Save your entries. You can do this by choosing Save, at the bottom of the left navigation frame.

9. To copy and refresh the changed data in the J2EE Engine, navigate to Services u00AE Deploy.

10. Choose Application.

11. Select sap.com/tcwdpdfobject.

12. To stop the application, first choose Stop Application.

13. Then choose Start Application.

Result

You defined the URL of the Adobe document services required to create interactive PDF forms

former_member256615
Active Participant
0 Kudos

Hi,

During ADS config check I am recieving following error:

Cannot download WSDL from http://<server>:<port>/AdobeDocumentServices/Config?wsdl: XMLParser: Bad Attribute value: ' or " expected! (http://<server>:<port>/AdobeDocumentServices/Config?wsdl, row:14, col:15)

can you please help me to come out from this probelm...

Thanks

Narendra

naren.rsharma@gmail.com

Edited by: Narendra Upadyay on Jan 29, 2008 10:48 AM

former_member191062
Active Contributor
0 Kudos

Hello check:

Can you please first check my reply from thread:

and make sure the user ADSUser has been configured correctly.

Best regards,

Dezso