Support Article
Connect SOAP WSDL import ignores maxLength (XML stream)
SA-50320
Summary
When importing an attached WSDL file through the Connect SOAP wizard (addAddress method only), the properties generated do not adhere to the maxLength definition. This occurs when using a new Connector wizard.
For example: ADID must be string of maximum six characters.
<xsd:element name="ADID">
<xsd:annotation>
<xsd:documentation>Addressnumber (ADID)</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="6"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
However, when importing using a Legacy 'Connector and Metadata wizard (Legacy)', the properties generated adhere to the maxLength definition.
Error Messages
Not Applicable
Steps to Reproduce
- Use a new Connector wizard by navigating to Designer Studio > Integration > Connectors > Create Soap Integration.
- Import the WSDL. The maximum length is not updated in the generated property.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Apply HFix-40568.
Published March 14, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.