Forum Discussion

Heaven's avatar
Occasional Contributor
15 years ago

'faultCode=PARSER_ERROR: Problem parsing' while importing WSDL file.

Hi Frds,

I am getting error of 'faultCode=PARSER_ERROR: Problem parsing' while importing WSDL file.

Error looks like below:
javax.wsdl.WSDLException: WSDLException (at /definitions/import): faultCode=PARSER_ERROR: Problem parsing 'https://localhost:80/Workflow_WS/XSDDefinition1.xsd'.: 0

Please help me out for solving out this issue.

Thanks & Regards,

2 Replies

  • Hi,

    Sometime this kind of error happens due to bad .wsdl files or .wsdl page link not directly getting saved into the project.
    So follow steps below- it might look funny but solved my issue...

    1) Open web service description in browser
    2) Save that description in .xml document
    3) Now, change the .xml file into .wsdl file by just changing its extension type to .wsdl
    4) Save it locally
    5) Now Open SOAP-UI and browse for the stored .wsdl file
    6) You are ready to get it opened web service requests successfully.

  • I facing this type of error 

    Before : <wsdl>/src/main/resources/wsdl/test.wsdl</wsdl>

    After : <wsdl>\src\main\resources\wsdl\test.wsdl</wsdl>

    Solution : just changing the slash.