Forum Discussion

Larsenrw22's avatar
Larsenrw22
New Contributor
5 years ago

Error Loading WSDL file - Unexpected element CDATA

Hi,

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. 

 

Thanks,

Randy

  • richie's avatar
    richie
    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 parser....in 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.

    Cheers

    Rich