Support Article
WSDL Parser unable to find any valid Service definitions (SOAP)
SA-14427
Summary
Error is received when users create a SOAP connector from WSDL using the Pega-provided wizard, the Connector and Metadata accelerator.
However, It works fine through the SOAP UI.
Error Messages
WSDL Parser was unable to find any valid Service definitions in the document.
Steps to Reproduce
Create a SOAP connector from WSDL using the Pega-provided wizard, the Connector and Metadata accelerator.
Root Cause
An issue in the custom application code or rules
The soap:address tag is not present. Without this address element, WSDL cannot be consumed. Even though the WSDL is consumed in the SOAP UI, the WSDL cannot run without the endpoint URL. This is mandatory to consume the WSDL using the Connector and Metadata accelerator.
Resolution
Specify the WSDL as shown below, ensuring that the soap:address location is specified:
<wsdl:service name="HelloWorldService">
<wsdl:port binding="impl:HelloWorldSoapBinding" name="HelloWorld">
<soap:address location="http://localhost:8080/WebService/services/HelloWorld"/>
</wsdl:port>
</wsdl:service>
Published July 26, 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.