Support Article
WSDL URL import wizard error security header in .xsd.
SA-36385
Summary
WSDL URL import wizard error security header in .xsd with Pega 7.2.2.
Error Messages
Onscreen:
"Upload WSDL via URL" connector wizard error
"Generation process has been canceled and all created records have been removed."
Errros in log:
Rule evaluation failed : Canceling rule evaluation, Element referenced in method consultationPP is not declared in any known schema: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security.
Full error log file in attachment
----------------------------------
2017-03-13 14:11:18,370 [http-nio-8080-exec-8] [TABTHREAD0] [ ] [ RPDSDev:01.01.01] ( internal.util.PRServiceUtils) ERROR -pds.cloudapp.net|193.57.xxx.y - Rule Generator thrown exception:
com.pega.pegarules.pub.PRRuntimeException: Element referenced in method consultationPP is not declared in any known schema: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
at com.pega.pegarules.integration.config.internal.mapping.RuleGeneratorSOAP.processMethodHeaders(RuleGeneratorSOAP.java:1586)
at com.pega.pegarules.integration.config.internal.mapping.RuleGeneratorSOAP.processMethodHeaders(RuleGeneratorSOAP.java:570)
at com.pega.pegarules.integration.config.internal.mapping.RuleGeneratorSOAP.processMethods(RuleGeneratorSOAP.java:549)
Steps to Reproduce
Import WSDL (with XSDs dependency) via 'Upload WSDL via URL' option in 'SOAP integration' wizard.
Root Cause
Not able to generate data model when wsdl contains Security headers.
Resolution
Import WSDL via 'Connector and metadata wizard' to generate the Data model, instead of 'Upload WSDL via URL' option in SOAP integration wizard.
Published May 4, 2017 - 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.