Forum Discussion

Larsenrw22's avatar
New Contributor
4 years ago

Error Loading WSDL file - Unexpected element CDATA


I'm trying to load a WSDL file and I am getting an "unexpected element CDATA" error.  Any help with this would be greatly appreciated. 




1 Reply

  • richie's avatar
    Community Hero
    Hey Larsenrw22,

    You didnt extract the .wsdl from an MS product did you? Im sure someone else had an issue trying to load in a .wsdl generated from something like MS Dynamics recently.

    Anyway. Youre likely getting this error response due to either an entity (e.g.  ) not being recognised by the default character set soapui's parser is using or you have some malformed .xml in the .wsdl (yes i appreciate another tool will have generated the .wsdl so you wouldnt expect it to be malformed).

    Try launching the .wsdl into another app that has an xml a browser or notepad++ (with xmlplugin) or better still XMLSpy.

    Im expecting some sort of error (if ita malformed) or a warning if theres a problem with a certain character (unrecognised entity value like  ).

    When ive had this problem before i tried loading the file into xmlspy, and then manually fixed the issue so that the xml was wellformed. Once the xml in the .wsdl is wellformed, the .wsdl will load in soapui without any problems manifesting.