2311792 - Duplicate Extension Fields Appears in Web Service XML

SAP Knowledge Base Article - Public

2311792 - Duplicate Extension Fields Appears in Web Service XML

Symptom

In the WSDL file you will observe that duplicate entries exists for every extension fields you have created in the original solution, after the creation of patch solution.

Environment

SAP Cloud Application Studio

SAP Business ByDesign

SAP Cloud for Customer

Reproducing the Issue

  1. Login to frontend system.
  2. Application and User Management work center.
  3. Communication Arrangements sub view.
  4. Open the relevant communication arrangement created.
  5. Click on Download WSDL. 

Cause

The duplicate extension fields appears in the .WSDL file is because the system is a development tenant and hence PDI extended fields from both original solution as well as patch solution will be shown in the respective webservice files. This will not be the case in the target tenant (production).

When patch is assembled and downloaded and then uploaded into Production tenant, there won't be any duplicates, because in production tenant there will be only original solution and no patch namespace. Hence, extension fields from original solution only would exists.

Note: This is the same scenario with Data Sources and Migration Templates/ Mass Data Maintenance Templates.

Resolution

Now if you want to test in your development teanant without the duplicate fields, If you are consuming webservice via external service integration, then in the .wsdl file, you will have to remove the extension fields which is from the disabled solution.

You can follow the steps for achieving this:

  1. Download the WSDL file as mentioned in the above Steps to Reproduce section.
  2. Edit and remove the fields that are displaying from the original solution.
  3. Logon to SDK and open the patch solution.
  4. Open the relevant .WSID file.
  5. Browse the new .WSDL file.
  6. Activate the solution.

Note: The WSDL file in the communication arrangement will be the same even after making these changes, hence you have to use the WSDL after removing the duplicate extension fields if you want to test it in SOAP UI(for creating or updating, for query/ read operation you will still get the duplicate fields).

Keywords

Duplicate extension fields , KBA , SRD-CC , Cross Components , How To

Product

SAP BUSINESS BYDESIGN 1611 ; SAP BUSINESS BYDESIGN 1705 ; SAP BUSINESS BYDESIGN 1708 ; SAP BUSINESS BYDESIGN 1802 ; SAP BUSINESS BYDESIGN 1808 ; SAP Business ByDesign 1511 ; SAP Business ByDesign 1602 ; SAP Business ByDesign 1605 ; SAP Business ByDesign 1608 ; SAP Business ByDesign 1702 ; SAP Business ByDesign 1805 ; SAP Cloud for Customer 1511 ; SAP Cloud for Customer 1602 ; SAP HYBRIS C4C ADDINS 1705 ; SAP HYBRIS C4C ADDINS 1802 ; SAP HYBRIS C4C ADDINS 1805 ; SAP HYBRIS C4C ADDINS 1808 ; SAP Hybris Cloud for Customer 1605 ; SAP Hybris Cloud for Customer 1608 ; SAP Hybris Cloud for Customer 1611 ; SAP Hybris Cloud for Customer 1702 ; SAP Hybris Cloud for Customer 1708 ; SAP Hybris Cloud for Customer 1711