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 October 27, 2016 - Updated January 3, 2017

Have a question? Get answers now.

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