Support Article
Unable to import WSDL in PRPC 5.4 SP2
SA-8583
Summary
While importing WSDL file, missing element error occurs. This prevents the import from completing successfully.
Error Messages
** Couldn't parse WSDL file. ERROR: Missing element inFault "ServiceFaultFault" in operation "ServiceFaultFault", in binding GetJobBarcode
Steps to Reproduce
1. Go to Application > New > Connector.
2. Import WSDL for Metadata type DOT NET, copy the URL for the WSDL location, click Next.
Root Cause
The root cause of this problem is a defect in Pegasystems’ code/rules. PRPC 5.4 SP2 does not parse wsdl:fault elements correctly.
Resolution
In your WSDL file(s), replace all instances of "wsdl:fault" to "soap:fault". For example,
<wsdl:fault name="FaultyFault">
<soap:fault name="FaultyFault" use="literal"/>
</wsdl:fault>
Becomes
<soap:fault name="FaultyFault">
<soap:fault name="FaultyFault" use="literal"/>
</soap:fault>
This has the same result as the wsdl:fault construction, but PRPC 5.4 SP2 can parse it correctly.
Published January 31, 2016 - 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.