cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP response contains unexpected content-type(100,101) in SAP ADS?

Former Member
0 Kudos

Hi,

Our current landscape is SAP ECC EHP7 on SAP NW 7.40 and SAP ADS is installed on Central HUB system which is SAP NW 7.4 SP08 Java Stack System.

We have done configuration on both ABAP & JAVA Stack but when we run FP_PDF_TEST_00 program in SE38 then it's giving the below error

Can anyone suggest me how to solve the above error.

Also please provide any document or link, How to Configure ADS 7.40 in both ABAP and JAVA Stack.

Regards,

Ramana.

Accepted Solutions (0)

Answers (1)

Answers (1)

david_liu1
Advisor
Advisor
0 Kudos

Hello,

Check SAP note first:

1004321 ADS error: Incorrect content type found 'text/html'

Regards,

David


Former Member
0 Kudos

Hi David,

Thanks for your reply.

In the above mentioned SNote, i'm not finding any solution.

I have created ADSUser in SAP NW 7.40 ABAP STACK System (Backend System).Can you suggest me whether ADSUser needs to be created in SAP NE 7.40 JAVA STACK system too.

If yes, then i'm getting the below error while creating ADSUser in Cinfiguration Tab -> Identity Management.

Can you suggest me the steps to be followed for the ADS Configuration between SAP ABAP Stack and SAP JAVA Stack systems.

One again thanks in advance.

Regards,

Ramana.

david_liu1
Advisor
Advisor
0 Kudos

Hi Ramana,

This error you are faced is caused by insufficient rights.

It means that the communication user that you have configured between the J2EE engine

and your LDAP does not have the necessary permissions to perform the requested operation.

Please contact your LDAP vendor about this issue.

Here you can check what the LDAP error code means:

http://wiki.service-now.com/index.php?title=LDAP_Error_Codes

Regards,

David

Former Member
0 Kudos

Hi David,

We have created ADS RFC Destination in SM59 of ABAP Stack System which is to connect SAP Netweaver Java Stack system where SAP ADS HUB was installed.

If we maintain Path Prefix as "/AdobeDocumentServices/Config?style=rpc then we are getting the below popup which is little confusing.

We maintained ADSUser which we have created in SAP Netweaver Java Stack in J2EE Admin in Logon & Security tab.

Once we clicked on Test Connection then we are getting an error like below.

Can you please suggest me how to solve the above error.

Regards,

Ramana.

david_liu1
Advisor
Advisor
0 Kudos

Hello,

I saw you maintained the Path Prefix as "/AdobeDocumentServices/Config?style=rpc, it should be

/AdobeDocumentServices/Config?style=rpc.

Please test with FP_CHECK_DESTINATION_SERVICE then check the ICM trace file.

Regards,

David

Former Member
0 Kudos

Hi David,

Still we are getting the same errors as below.

I have executed FP_CHECK_DESTINATION_SERVICE program in SE38 and the error is i'm getting is

and in SM59, on Connection Test of ADS RFC Destination the error i'm getting is

I'm not able to analyze what could be the issue.


Can you please suggest me how to solve this error.


Regards,

Ramana.





david_liu1
Advisor
Advisor
0 Kudos


Hi Ramana,

The popup means that your configuration still not correct:

- either the certificate is not assigned to the ADSUser on java site

- or CA is not in the trusted list

Please check it.

You can ignore this 405 error according to SAP note:

1177315 - ADS RFC destination test return 403 / 404 / 405 code

Regards,

David

Former Member
0 Kudos

Hi David,

Thanks for your immediate response.

I tried to test FP_CHECK_DESTINATION_SERVICE and entered Connection as ADS and then executed. It's giving a pop-up asking to enter user credentials like below.

Can you suggest me which user credentials do i need to enter here.

Also when i'm testing the below service it's taking 000 as default client instead of 333.

http:// <FQDN>:<port>/sap/ bc/fp/form/layout/FP_TEST_03_TABLE.XDP


I'm totally getting confused with the configuration of ADS even though i did all steps successfully but still it's giving errors.

Please suggest me step by step if possible.

Thanks in advance.

Regards,

Ramana.

david_liu1
Advisor
Advisor
0 Kudos

Hi Ramana,

It happens because many failed attemps using wrong password.
Please:

1. Test ADSUSER password opening
http://JAVA_host:HTTP_port/AdobeDocumentServices/Config

2. After be sure about ADSUSER password, go to ABAP stack -> sm59 -> ADS RFC -> edit password and put the right one.

3. Go to Java ADS stack, open Visual Administrator -> Cluster tab ->
<SID> -> Server -> Services -> Web Services Security -> Web Service
Clients -> sap.com -> tc~wd~pdfobject ->
com.sap.tc.webdynpro.adsproxy.AdsProxy*ConfigPort_Document ->
put the correct ADSUSER password.

Regards,

David

Former Member
0 Kudos

Hi David,

Thanks for your response.

I have tried the link http://JAVA_host:HTTP_port/AdobeDocumentServices/Config but i'm getting the below error.

Also currently we are on SAP NW 7.40 SP08 Java Stack where tey have provided http://<Java StackHostName>:<HTTP Port>/nwa for administration and here i'm not able to find the path for Webservice you mentioned above.

Please do the needful.

Regards,

Ramana.

david_liu1
Advisor
Advisor
0 Kudos

Hi Ramana,

You can check it as:

http://<server>:<port>/nwa


Choose Configuration Management -> Infrastructure Management -> Services Configuration
Choose WS Clients Single Configuration.

You can refer to the following help link for more information:

http://help.sap.com/saphelp_nw73/helpdata/en/71/2cceb636dd4cfe96569f3bc163cbad/frameset.htm

Regards,

David

Former Member
0 Kudos

Hi David,

Thanks for your valuable replies and help.

I have tested the connection from JAVA Stack system to ABAP Stack. i.e. FP_ICF_DATA_<SID> destination from NWA of Java Stack system and it's connecting successfully.

http:// <ABAP HOSTNAME>:<HTTP PORT>/sap/ bc/fp/form/layout/FP_TEST_03_TABLE.XDP

The above path is working fine.

in the above screen, Destination tested successfully from JAVA Stack to ABAP Stack system.

But the connection from ABAP Stack to Java Stack is not working for which i have created a RFC Destination in SM59 in ABAP Stack system. i.e. ADS and the error is copied below.

I have checked the password of ADSUser in Java Stack system and it's fine.

I ran the report FP_CHECK_DESTINATION_SERVICE and it's giving the below error.

I'm not able to understand what could be the issue.

Can you please suggest me the steps to be done

1.  JAVA Stack System

2.  ABAP Stack System like any mandatory authorization needed for ADSUSer or ADS_AGENT          user in ABAP Stack system to connect with JAVA Stack system.

I think the you mentioned above and the path in the below would be same if not please let me know the exact path and if yes then how could i mention password for ADSUser here.

In the above path, i was not able to find "WS Clients Single Configuration".

Please help me in resolving the above issue.

Thanks in advance.

Regards,

Ramana.

david_liu1
Advisor
Advisor
0 Kudos

Hi Ramana,

Please generate the default trace according the note 1128476 and reproduce the problem, then check the default trace and see if there have more useful information.

Regards,

David