Symptom
When you activate your solution after deployment to your production environment you get the following error message.
Failed to activate items of type B2BWebServiceIntegration
Recheck WSDL and upload it again.
Message 'Element ABC' in namespace 'http://123abc-one-off.sap.com/12345678_' is not unique in WSDL document.'
Error Creating MDRS entities for/Y123456_MAIN/SRC/BO_ABCD/NameOFWebService/abcdedf
Recheck WSDL and upload it again.
Environment
- Cloud Application Studio
- SAP Cloud For Customer
- SAP Business ByDesign
Reproducing the Issue
- Deploy your Add on to your Production Tenant in Cloud Studio
- Activate solution.
- Activation fails due to errors as detailed above.
Cause
Non unique elements in the WSDL file.
The reason this issue happens in the production tenant is because the WSDL from the source tenant contains elements for both the original and patch namespaces, where as the production tenant will only contain the original namespace.
Resolution
Our suggestion is to always download the WSDL from the production tenant and use it in the source tenant and upload to WSID (Web Service Definition)
Then, assemble and download the solution in source and import deploy to the production environment.
Keywords
Activation, Failed, Items of type B2BWebServiceIntegration Recheck WSDL not unique in WSDL document. Web Service definition WSID , KBA , AP-RC-BDS-LM , ByDesign Studio Lifecycle Management , Known Error