Posted: 3 Jun 2016 5:28 EDT Last activity: 19 Jul 2017 4:18 EDT
getting "Could not create an instance of the WSDL parser: Failed to parse WSDL document" when importing wsdl
On importing WSDL I am getting "Could not create an instance of the WSDL parser: Failed to parse WSDL document" failure. I see that WSDL has reference to external XSDs but those are also at the same path where WSDL resides. Not sure what could be the issue.
Can anyone pls help me out on this.
***Updated by moderator: Lochan to add Categories***
Just found out that this error also is generated when the wsdl file is located on a network drive not mapped to a drive letter. I.e. if the cannonical name of the wsdl file is like \\server\share\file.wsdl paga will fail to greate the wsdl parser object.
Resultion is to copy the file to your local drive or map your server to a windows driver name (like x:)
The easiest approach would be to upload the xsds in stead of wsdl first.PegaRules Application uploads it to the Server but will say that it cannot parse the xsd(which is obvious since we are using a wizard where it looks for wsdls(with/without xsd imports).Once all the xsds you have imported in your wsdl are uploaded,Try uploading the wsdl now and it should work fine.(This is a work around, which is easy too )