1
General Board / How to remove ObjectID from xs:choice in wsdl?
« on: September 16, 2015, 08:39:53 pm »
Hi all,
I've created new wsdl schema and added <XSDChoice> MdlGrp1 and connected it with InputParameters. When I generate wsdl I get the following:
Is it possible do not insert ObjectID into the target wsdl?
Thanks in advance.
I've created new wsdl schema and added <XSDChoice> MdlGrp1 and connected it with InputParameters. When I generate wsdl I get the following:
Code: [Select]
<wsdl:types>
<xs:schema targetNamespace="http://www.exampleURI.com/WSDLPackage1" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:s1="http://www.exampleURI.com/WSDLPackage1">
<xs:element name="OutputParameters" type="s1:OutputParameters"/>
<xs:complexType name="OutputParameters">
<xs:sequence/>
</xs:complexType>
<xs:element name="InputParameters" type="s1:InputParameters"/>
<xs:complexType name="InputParameters">
<xs:sequence>
<xs:choice minOccurs="1" maxOccurs="1" ObjectID="7761">
<xs:element name="elem1" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="elem2" type="xs:string" minOccurs="1" maxOccurs="1"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:schema>
</wsdl:types>
Is it possible do not insert ObjectID into the target wsdl?
Thanks in advance.