Question
1
Replies
122
Views
First Technology
Posted: December 4, 2018
Last activity: January 31, 2019
Closed
Service package generates duplicated items in WSDL
Hello,
We are having the following issue while generating the WSDL from one of our service packages. The same element is generated twice with different type (same name with a "2" appended).
<complexType name="CreateCustomerContactResponseType">
<sequence>
<element name="Response" type="xsd:string"/>
</sequence>
</complexType>
<element name="CreateCustomerContactResponse" type="nslt1:CreateCustomerContactResponseType"/>
simpleType name="CreateCustomerContactResponseType2">
<restriction base="xsd:string"/>
</simpleType>
<element name="CreateCustomerContactResponse" type="nslt1:CreateCustomerContactResponseType2"/>
This makes the service generation to fail, as the same element cannot be defined twice. Does anyone know how to solve it?
Thanks and regards
***Edited by Moderator Marissa to update platform capability tags****
Hi,
Apologies for delay in replying.
I believe similar issue is being discussed here along with solution:
https://stackoverflow.com/questions/49983086/element-has-the-same-name-with-different-types-in-wsdl