Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unsupported XML 1.0 Restriction "minExclusive" & "maxInclusive"

SA-29678

Summary



The user has a service to provide a WSDL defining a single method, and it uses a datatype definition from an xsd import. This xsd Datatype definition file defines a simple element with the following definition: 

<xsd:simpleType name="ST_Geokoordinate">
<xsd:restriction base="xsd:decimal">
<xsd:fractionDigits value="6"/>
<xsd:maxInclusive value="180"/>
<xsd:minExclusive value="-180"/>
</xsd:restriction>
</xsd:simpleType>


Error Messages


ERROR hostname 0:0:0:0:0:0:0:1 username - Caught exception building SOAP request envelope
com.pega.pegarules.pub.PRException: Schema for namespace 'urn:example.com:simpletype' contains a simpleType restriction with unrecognized content: minExclusive
From: (HED8C431D2D944F025963221B93459FCE:0:0:0:0:0:0:0:1)
    at com.pega.pegarules.integration.config.internal.mapping.xsd.XSDComponentBuilderImpl.traverseSimpleTypeRestriction(XSDComponentBuilderImpl.java:4275)
 

Steps to Reproduce

  1. Create a wsdl file which contains a simple type element with minexclusive and maxInclusive values.
  2. Create connector by importing that wsdl file.
  3. Test the operation which includes simpleType with min Exclusive reference, then we can see the error 


Root Cause



A defect in Pegasystems’ code or rules : MinExclusive restriction is not recognized. The error is occurring because minExclusive is not added to recognized facet names. maxExclusive is added twice.

Resolution



Apply HFix-30153
 

Published January 3, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice