api-management-schema-import icon indicating copy to clipboard operation
api-management-schema-import copied to clipboard

Getting error while trying to eliminate wsdl:import,wsdl:include,xsd:import,xsd;include tags from main wsdl which are associated with multiple wsdls and xsds

Open Subhajitnn opened this issue 1 year ago • 3 comments

The repo is working for one wsdl import inside another wsdl but it is not working for our case where we have multiple wsdl and xsds which are imported and included with each other.So,by clubbing into one wsdl by using this repo,we are getting below error- "Error : An item with the same key has already been added. Key: [http://www.w3.org/2001/XMLSchema]"

Subhajitnn avatar Dec 18 '24 15:12 Subhajitnn

Hi, Could you provide an example that throws this exception? More information related to this case is appreciated.

shinjiDev avatar Dec 23 '24 16:12 shinjiDev

Hi @shinjiDev , As per client policy,I should not disclose the whole wsdl.But,I will give the context.In our project,we are using one business wsdl which is conneted with multiple wsdl and xsds using wsdl:import,wsdl:include,xsd:import,xsd:include etc tags.As we need to publish that wsdl in Microsoft Azure server and Azure does not support above mentioned tags in wsdl ,we need to convert this wsdl using mentioned repo where we find that error "Error : An item with the same key has already been added. Key: [http://www.w3.org/2001/XMLSchema]"

Subhajitnn avatar Dec 24 '24 04:12 Subhajitnn

Hi @Subhajitnn, We can not reproduce the error without an example. Any sample with obfuscated information can be good to debug this issue.

shinjiDev avatar Dec 24 '24 05:12 shinjiDev